Show TOC

Creating a Subtype (BOR)Locate this document in the navigation structure

Prerequisites

There is an object type in the system, which you want to extend without modifying it directly.

Note

Creating a subtype and then editing it is the only way to extend an object type supplied by SAP.

Procedure


  1. Choose Start of the navigation path Tools Next navigation step Business Workflow  Next navigation step  Development Next navigation step Definition Tools Next navigation step Business Object Builder End of the navigation path.

    This displays the screen Business Object Builder: Initial Screen.

  2. Choose Create.

    The Create Object Type dialog box appears.

  3. Maintain the fields Object type, Object name, Name and Description. When doing so, bear in mind the general naming conventions for object types. In the field Supertype, enter the ID of the object type for which you want to create a subtype.

  4. Specify a new program, which will include the implementation of the object type and assign the code letter of your application (usually Y or Z).

  5. Choose .

    The takes you to the screen Change Object Type <object type>: The new object type automatically inherits all the key fields, methods, attributes, and events defined for the supertype.

  6. Add your own events, methods or attributes. These extensions must always begin with Y or Z. Edit the existing object type components if applicable.

    Note

    The object type has to be generated after editing.