Show TOC

Deleting Data ModelsLocate this document in the navigation structure

Use

If you do not know the precise name of the data model to be deleted, start by looking for it in the ABAP Repository Information System. To do this, select the modeling object Data Model in the Data Modeler: Initial Screen and click on Find. More information: ABAP Repository Information System.

Process

To delete a data model, proceed as follows:

  1. Enter the name of the data model to be deleted in the Modeling Object field on the Data Modeler: Initial Screen.

  2. Choose Data Model under Selection.

  3. Confirm Change.

  4. Choose Start of the navigation path Data Model Next navigation step Delete End of the navigation path on the Change Data Model Definition screen.

  5. In the dialog box that appears, confirm that you want to delete the data model.

  6. A list is displayed of any assignments (that is, objects assigned to the model) and/or references (that is, the data model is itself assigned to one or more data models) that may exist for the data model. The remaining procedure varies according to whether assignments and/or references exist:

    • Only Assignments

      If only assignments exist, choose the Delete pushbutton on the Change Data Model Delete Definition screen, if you want to delete the data model and its assignments. The system returns you to the initial screen and displays an appropriate success message in the status bar.

    • Only References

      If only references exist for the data model, you need to delete all of these first.

      To delete a reference, double-click the name of the superordinate data model in the list. The Change Data Model: Hierarchy appears, on which you need to remove the data model to be deleted from the hierarchy. To do this, position the cursor on the data model to be deleted and choose Start of the navigation path Modeling Object Next navigation step Delete Assignment End of the navigation path. Return to the list by choosing Back.

      Once you have deleted the last reference has been deleted, the data model itself is deleted. You return to the screen you started from.

    • Assignments and References

      In this case, only the references that you have to delete are initially displayed (see Only References).

      When you return to the list, the assignments are displayed. These will be deleted when you delete the data model. If you want to delete the data model and its assignments, choose Delete.

      Note

      When deleting references, you might find that a superordinate data model is locked by another user. If so, you will need to contact this user and link your tasks by means of a common change request. (More information: Workbench Organizer documentation).