Defining Object Types

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.


  1. Choose Tools ® Business Workflow ® Development ® Definition Tools ® Business Object Builder.
  2. Create the new object type as a subtype of IDOCAPPL. You should therefore enter IDOCAPPL in the field and choose Subtype.
  3. Enter the attributes for the new object type (name, short description and so on) and a new program name the implementation program. The implementation program is partly generated and describes the attributes and methods of the object type.
  4. Select and save the object.
  5. Choose .
  6. Before you can use the object type, the release status must at least be set to implemented. In the initial screen of the Business Object Builder Object type ® Change release status to ® Implemented.

For more information see Maintenance of Object Types.


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


Object name



Test IDoc

Short description

Test error handling TESTER01


V (Sales and Distribution)