Show TOC

Creating a New Data ModelLocate this document in the navigation structure

Concept

You use the Data Model Generator tool to create a Data Model from which you can generate SAP Gateway services.

You can create a Data Model using the Data Model Generator tool in both the OData Channel and the Generic Channel.

While both the OData Channel and the Generic Channel Data Models are based on runtime components and metadata, each channel provides the runtime and metadata information differently.

OData Channel Data Models only implement interfaces that are similar to the Open Data protocol (OData).

For more information, see SAP Gateway Developer Guide.

Recommendation

We recommend to use the OData Channel, as it provides additional capabilities, such as, enhanced runtime performance of the generated service, and eliminates design-time limitations, for instance, mapping operations to a single model key (S_COR_ID—Value).

You can create new Generic Channel Data Models and maintain existing ones. Use the Generic Channel Data Models to generate services for Duet Enterprise, as this channel supports the SOAP bridge.

When you are creating a Data Model using the Data Model Generator, first choose your data source.

Recommendation

First, familiarize yourself with the data source object you want to use in your Data Model, such as, BAPIs of the specific BOR and RFC, or the screens you want to record using Screen Scraping.

The next step is to specify a name for your Data Model, and define the data source you want to use in the model.

More Information