Creating and Changing Business Objects 
Business Object Builder (BO Builder) provides you with a wizard for creating a business object.
Starting the Wizard
To start the wizard, choose the Custom Business Object pushbutton in the toolbar of the Business Object Builder: Initial Screen window.
Name and Description
In this step, you enter the name and the description of the business object.
Input Field |
Description |
|---|---|
Project Namespace |
The ABAP namespace avoids naming conflicts between the business objects and their entities. If no namespace is entered, you must add a prefix. The namespace must be registered at SAP. The prefix allows you to distinguish multiple business objects that belong to the same namespace. If no prefix is entered, you must enter a namespace.
The namespace and the prefix together must consist of no more than 10 characters. End of the caution. |
Name |
Enter the name of the business object |
Description |
Enter a short description of the business object |
Constants Interface
In this step, the technical name and the constants interface of the business object are created automatically.
Input Field |
Description |
|---|---|
Business Object Name |
The business object name is automatically derived from the name, the namespace, and the prefix of the business object. This name is displayed in the Business Object Browser pane. |
Constants Interface |
This field contains the name of the constants interface. This interface is created automatically by the wizard and contains the human-readable names of all the entities contained in the business object. |
Root Node Name and Attributes
In this step you specify the root node name of the business object. A node generally exists of several attributes which are defined by a persistent and transient structure (optional).
Input Field |
Description |
|---|---|
Root Node Name |
The name of the root node must be unique in the business object. As an initial proposal the field is pre-filled with ROOT |
Root Node Description |
Enter a short description of the node. |
Persistent Structure |
The system stores attributes in the database. To create the structure, use forward navigation and activate it to continue the wizard. |
Transient Structure |
The system only keeps attributes in the memory. To create the structure, use forward navigation and activate it to continue the wizard. |
In the Persistent Structure field, enter the name of the structure that contains the persistent attributes of the root node, and in the Transient Structure field, enter the name of the structure that contains the transient attributes of the root node. You can alternatively copy the naming proposal of the wizard. When activating a structure you can choose from the following enhancement categories:
Can be enhanced (deep)
Can be enhanced (character-type or numeric)
Can be enhanced (character-type)
Cannot be enhanced
Root Node Database Types
All entities of this screen are automatically created by the wizard. Therefore we recommend you continue without changing the proposed names.
Input Field |
Description |
|---|---|
Combined Structure |
The combined structure combines the transient structure, the persistent structure, and a key include used to identify each node instance. All attributes of the root node are represented by the structures' components. |
Combined Table Type |
The combined table type consists of rows of the combined structure. |
Database Table |
The database table contains the data of the persistent attributes of all root node instances. |
Finishing the Wizard
To create the business object and finish the wizard, choose the Complete pushbutton. If you choose the Cancel pushbutton, the business object is not created and the wizard terminates without making any changes.
The system creates and displays the business object in the Business Object Browser pane.
The system generates the constants interface defined in this business object if the interface does not already exist.
The system generates the combined structure, the combined table type, and the database table. Existing entities are not overwritten.
After you have created a business object, you can change the following specifications:
Description
Constants Interface