With this material you will get details of Error handling of an Inbound Idoc through triggering an event, which in turn will be triggering a workflow attached to the workflow.
1. Create custom BOR object with the events, Start and Stop event
2. Create a workflow for the error handling, like generating a notification whenever an error occurred in the Inbound Idoc.
3. Creation of Function Module and attachment with the Process Code
4. Create the settings for the Inbound Process of the Idoc through the Process Code.