Show TOC

Creating, Changing, or Deleting a Dictionary AssignmentLocate this document in the navigation structure

Procedure

Create

On the definition screen of the saved entity type (in change mode), choose Start of the navigation path Goto Next navigation step Dict. Assignment End of the navigation path. The screen Display (or Change) Table/View Assignment appears.

The default view name (Z_<Entity type name, eight characters>) is displayed in the input field for the table or view name, if an assignment has not yet been made.

Change

  1. You can either assign a table or a view or change the existing assignment:

    • Table assignment

      Select Table and delete the default view name (only if you are setting up a Dictionary assignment for the first time). Enter the corresponding table name:

      Assign existing table, name known

      Enter the name of the table.

      Assign existing table, name not known

      Position the cursor on the empty input field and click on the arrow to the right of the input field to access the ABAP Repository Information System. The selection screen for tables appears. Enter your selection criteria in the selection screen and choose Execute. Select the table you require from the hit list and confirm it with Choose to transfer it to the screen.

      Create and assign new table

      Enter the name of the new table. You can access the ABAP Dictionary by double-clicking the name. Create a new table there. See also the documentation for the ABAP Dictionary. After saving, checking, and activating the table, return to the Data Modeler by pressing the Back pushbutton.

    • View assignment

      Select View. The default view name can be changed, for example if you want to assign a view that already exists to the entity type.

      Assign existing view, name known

      Enter the name of the view.

      Assign existing view, name not known

      Position the cursor on the empty input field and click on the arrow to the right of the input field to access the ABAP Repository Information System. The selection screen for views appears. Enter your selection criteria in the selection screen and choose Execute. Select the view you require from the hit list and choose the Choose pushbutton to transfer it to the screen.

      Create and assign new view

      Enter the name of the new view. You can access the ABAP Dictionary by double-clicking the name. Create a new view there. See also the documentation for the ABAP Dictionary. After saving, checking, and activating the view, return to the Data Modeler by choosing the Back pushbutton.

  2. Check and save the table/view assignment.

Delete

Note that this function only deletes the assignment, not the assigned table or view.

  1. On the definition screen of the entity type (in change mode), choose Start of the navigation path Goto Next navigation step Dict. Assignment End of the navigation path. The screen Maintain Tables/View Assignment is displayed.

  2. Choose Start of the navigation path Assignment Next navigation step Delete End of the navigation path. A dialog box appears in which you are requested to confirm your deletion request.

  3. If you are sure you wish to delete the assignment, confirm your deletion request in the dialog box by choosing Yes.

  4. A second dialog box informs you that the table or view cannot be deleted in the ABAP Dictionary.