Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

IDOC error processing

Former Member
0 Kudos




I will be creating a new IDOC type and message type and I would like to have an error processing if the IDOC fails. The error messages should be sent to the SAP inbox and the corresponding user should be able to re-process the IDOC.

Please let me know what are the steps required to achieve this.




Former Member
0 Kudos

Use Transaction WE42 to identify the process code that is linked to your idoc type.

After you identify the process code, go to the detail screen and next to the "Identification" field you will see a button (ALE table). Click this button and it will take you to another detailed screen.

I assume that your Idoc Processing Type is via Function Module.

There will be a separate tab or block called "IDoc"

Choose the correct Object Type and in the fields Start event and end event configure the following values


You also need to create a agent (intended users to receive the errored Idocs via SAP Inbox) and map this info back in WE20 transaction.

0 Kudos

Thanks for your input.

Do we have to do any other configuration other than setting up the WE20 transaction with the user name. I created a 'LS' partner and assigned the message type 'ORDERS' with the process code 'ORDE' and in the agent I gave my user name with the type as 'USER'. If there is any errors in the application I am still not getting any messages to my SAP inbox. Am I missing any configuration?

Please help me on this.