Error Handling on Inbound Idocs

14
Error Handling on Inbound Idocs: Send Mail to a specified user group Configuration Needed in SAP : 1. Attach event to Process Code: a) Go to BD67, select the process code and double click

description

IDOC

Transcript of Error Handling on Inbound Idocs

Page 1: Error Handling on Inbound Idocs

Error Handling on Inbound Idocs: Send Mail to a specified user group

Configuration Needed in SAP :

1. Attach event to Process Code: a) Go to BD67, select the process code and double click

Page 2: Error Handling on Inbound Idocs

b) In next screen Associate Business Object, Start Event and End Event to Inbound Process

Page 3: Error Handling on Inbound Idocs

2. Attach standard task to the event attached to the Process Codea) Go to SWE2, select the (business object , event) pair and

double click

Page 4: Error Handling on Inbound Idocs

b) In next screen associate Task to be performed when the selected Business Object’s Event is fired and check ‘Linkage Activated’ check box.

Page 5: Error Handling on Inbound Idocs

3. Maintain task at PFTC. Bind task to triggering event and maintain agent assignment- i.e. people to be notified when the event is triggered.

a) Goto transaction PFTC [Maintain task] , populate Task Type and Task number. Click Change to move to next screen.

Page 6: Error Handling on Inbound Idocs

b) In next screen click “Triggering Events” tab. Double click on the left side button on the event if it is not green i.e. activated.

Page 7: Error Handling on Inbound Idocs

c) Next move to Maintain Agent Assignment screen following the given path

Activate Binding

Page 8: Error Handling on Inbound Idocs

d) Assign agents to be notified when the task is performed.

Page 9: Error Handling on Inbound Idocs

Create Agent Assignment

Page 10: Error Handling on Inbound Idocs

4. Populate Post-processing permitted agent in the Partner Profile for the given Inbound Message type. Those agents specifies the job (person or group of people) to be notified if processing errors occur on the IDOC interface.

a) Go to WE20, select Inbound Message type, failure in posting whose associated IDOC has to be notified. and double click

b) In next screen Maintain user-group to be notified upon failure in IDOC posting

Page 11: Error Handling on Inbound Idocs
Page 12: Error Handling on Inbound Idocs

NOTE :In certain situations, new Tasks and Business Objects for a message type may be needed. The following transactions may be used for that:Transaction UsePFTC Create New TaskSW01 Create New Business Object (creating subtype of Business Object IDOCAPPL)

After creation, above steps need to be done to activate the error notification process.