Creating
a Subtype (BOR)
There is an object type in the system, which you want to extend without modifying it directly.

Creating a subtype and then editing it is the only way to extend an object type supplied by SAP.
1. Choose Tools → Business Workflow → Development → Definition tools ® Business Object Builder.
This displays the screen Business Object Builder: Initial Screen.
1.
Select
Create.
The Create Object Type dialog box appears.
2.
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.
3. 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).
4.
Select
.
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.
5. Add your own events, methods or attributes. These extensions must always begin with Y or Z. Edit the existing object type components if applicable.

The object type has to be generated after editing.