Maintaining Models and Services
Explains how to maintain models and services to retrieve data from a backend system.
To retrieve data from a backend system, you have to define a service in the backend system. First you have to define a model, then define a service, and finally assign a model to the service.
Maintain Model
Start the SAP Reference IMG (transaction SPRO) and choose .
To maintain models, proceed as follows:
-
Click on the Activity icon.
- Enter a Technical Model Name, which can include a namespace within / for example, /MYNAMESPACE/.
- Enter 0001 as Model Version.
- Choose Create. You can also display, edit or delete an existing model.
- Enter the Model Provider Class, which is the name of the class providing metadata for this model.
- Enter an explanatory text as a Description.
- Save your settings.
Maintain Service
Start the SAP Reference IMG (transaction SPRO) and choose .
To maintain the service, proceed as follows:
-
Click on the Activity icon.
- Enter a Technical Service Name, which can include a namespace.
- Enter 0001 as Version.
- Choose Create.
- Enter the Data Provider Class, which is the name of the class providing the runtime data for this service. This class implements the interface /IWBEP/IF_MGW_CORE_SRV_RUNTIME.
- Enter an explanatory text as Description.
- Save your settings.
Assign Model to Service
To assign your model to a service, proceed as follows:
-
Choose Assign Model.
- Enter the Technical Model Name and the corresponding Model Version, which you created in Maintain Models.
- Choose Save.

