insert objects in the data model hierarchy

To insert existing or new objects on a lower level or on the same level of an existing data model hierarchy, proceed as follows:

  1. Position the cursor on the object to which another object is to be assigned on a lower level or on the same level of the hierarchy.

    The cursor position determines where the object is inserted. Objects are not resorted automatically when new objects are inserted.

  2. Select Modeling object ® Insert ® On same level... or Subordinate...

    No other object can be assigned on the same level as a root and no other objects can be assigned subordinate to an entity type.

    An object can be assigned to different data models of the hierarchy, but cannot be assigned to the same data model twice.

  3. A dialog box appears in which you have to specify whether the object to be inserted is a data model or an entity type.
  4. Enter the name of the object to be inserted in the next dialog box. The procedure to be used varies according to whether the object already exists and whether you know its full name:

Object exists, name known

Enter the name and select Continue. The entry for the object is displayed in the hierarchy.

Object exists, part of name known

Enter the part of the name you know in the entry field and use * to represent the part you do not know (for example, uni*). Click on the arrow to the right of the entry field. A hit list of all objects corresponding to the pattern you entered appears. Select the object you require and choose Transfer. The entry for the object is now displayed in the hierarchy.

Object exists, name unknown

Select Find in this pop-up window to access the ABAP/4 Repository Information System. You can search here for the object you require.

Select the name of the object you require from the hit list and click on Continue. The entry for the object is now displayed in the hierarchy.

Object to be created

If the object to be inserted does not yet exist, a further pop-up window will appear. If you wish to create the object, confirm with Yes. The screen for creating objects will be displayed automatically. For information on how to proceed, refer to Create data model or Entity Type: Definition. Once the object has been created, return to the hierarchy with F3. The entry for this object is now displayed.

You need not save any changes to the hierarchy because the system automatically saves them.