Show TOC

Generating the PS and DS Data ModelsLocate this document in the navigation structure

The Data Model Generator automatically generates the PS (Public Solution) and the DS (Data Source) models required for SAP Gateway.

The DS Data Model contains data source information and the PS Data Model contains Data Model information.

Mapping metadata is also generated, containing mapping information between the data source and the Data Model (between the DS and the PS Data Models respectively). The runtime artifacts generated depend on the specified channel type for the Data Model.

The Data Model Generator creates configuration entries by specifying which BOP classes belong together (there are three classes: with no suffix, with D suffix, and with Do suffix).

Note

This does not apply if Screen Scraping is the data source, as Screen Scraping uses generic BOPs.

To generate the PS and the DS Data Models, choose Generate above the data source part of the screen (top left).

Progress messages appear at the bottom of the screen and a confirmation message displays when the models are generated, informing you that the models have been created:

To go straight to the generated PS Data Model in transaction SE80 in the ABAP Workbench, select the Object Navigator button at the top of the screen (this only displays for generated models).

Note

If you select the Object Navigator button before generating the models, a message warns that you will lose all unsaved data. If you proceed, an empty model structure displays in SE80, as there is no generated model to display.

You can navigate between the Data Model Generator screen and transaction SE80 using the Object Navigator button and the Open generator button in transaction SE80.

Note

When returning to the Data Model Generator screen, the Data Model opens in display mode. Select the Display<->Change button to switch to edit mode.

When the generated Data Model is to your satisfaction, the next step is to manually create a Consumption Model and then add your generated Data Model to it.

For more information, see Configuring the System Alias for your Service.