07-03-2006 7:47 PM
Hi,
Requirements
-
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.
Thanks,
Naren
07-03-2006 8:45 PM
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
INPUTERROROCCURRED INPUTFINISHED respectively.
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.
07-03-2006 10:16 PM
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.
Thanks,
Naren
07-03-2006 10:36 PM
Have a look at idoc administration help
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Regds
Manohar