Before you can use your new basic type in workflow (optional in inbound processing but required in error handling), you should create a corresponding object type in the Business Object Repository (BOR). The object type inherits all of the attributes, methods and events of the IDOCAPPL super type. You could also take this object type and only define different methods for exception handling, for example. According to the SAP conventions, however, each message type also corresponds to a BOR object type.
Procedure
For more information see Maintenance of Object Types.
Result
You have defined an object type for your new IDoc.
The two events inputErrorOccurred and inputFinished, which you have assigned to this object type, are important for exception handling.
In the example, your object type has the following attributes:
Object type |
IDOCTEST |
Object name |
IDOCTEST |
Name |
Test IDoc |
Short description |
Test error handling TESTER01 |
Application |
V (Sales and Distribution) |