Entering content frame

Procedure documentation Defining Object Types Locate the document in its SAP Library structure

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

  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 This graphic is explained in the accompanying text 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 This graphic is explained in the accompanying text and save the object.
  5. Choose This graphic is explained in the accompanying text.
  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 Structure link 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.

Example

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)

 

 

Leaving content frame