Show TOC

Editing a Data ModelLocate this document in the navigation structure

Use

You can edit an existing Data Model in the Data Model Generator tool.

You must know the name of the Data Model you want to edit. If you know part of the name of the model, you can search for it by pressing F4 in the Model Name field of the Data Model Generator screen.

Editing the Data Model

To edit an existing Data Model, proceed as follows:

  1. Use transactionSE80 to open the Object Navigator screen.

  2. Select SAP GW Data Model from the drop-down list.

  3. Enter the name of the model you want to edit in the Model Name field , for example, ZJWTEST_0001_PS, and then click the glasses icon.

    If you want to search for the name, you can use the wild card character '*' as part of the search term.

    The Find Data Model popup opens with the name you entered.

  4. Click the check mark to search for all the forms of the name, for example, ZJWTEST_0001_PS.

    You can edit the model and its operations, Data Objects, Properties, and mappings.

    Note

    You cannot change the name of an existing Data Model as well as its data source.

  5. Double click your Data Model name in the Find Data Model screen to display its content in the Repository Browser.

  6. Under Object Name, double click your Data Model name at the top of the hierarchy of content, and click the Open the generator icon above, alternatively, press Ctrl+Shift+F12 to switch to the Data Model generator screen.

  7. Click Display <-> Change (Ctrl+fF1), to edit your model.

Displaying the Data Model

You can display an existing Data Model in the Data Model Generator. When you choose to display the model, you cannot edit anything in the model.

To display the Data Model, open the Data Model Generator and choose Display. The Display <Data Model — Data Model name> screen displays, showing the Display Mapping button in the Structure tab.

In the menu above the data source, you can switch to the edit mode using Display <->Change or switch to the Object Navigator screen in the ABAP Workbench.

Process

The following section provides an overview for editing the content of the Data Model in the Data Model Generator tool.

Recommendation

You can only edit certain objects of a Data Model created using the Data Model Generator, in transaction SE80.

For that reason, we recommend that you edit Data Models created in the Data Model Generator using the Data Model Generator tool.

Editing the Content of the Data Model

After you have mapped the operations, properties and objects to the Data Model, you can edit and change the content of the Data Model.

You can edit the content of the Data Model in the Data Model Generator tool as follows: