After adding your Data Model to a consumption model, you must enable SAP Gateway to correctly identify the SAP backend system that can process OData requests from the newly created service.
We highly recommend to configure the system alias for the generated service using the procedures below whenever the service is transported to another SAP Gateway server that has been configured with a different system alias.
You enable SAP Gateway to route the processing of OData request by manually assigning a system alias to the service.
Skip this section if you have Generic Channel Data Models.
The procedures in this section apply only to OData Channel Data Models.
To assign the system alias to a service:
Use transaction SPRO, select
.Choose New Entries and enter the following:
In the column, Service Doc. Identifier, enter the name of your Data Model and add to the end of the name, the suffix _0001.
For example, ZUSER_BOR_0001
In the column, SAP system alias, press F4 and select the system alias from the list displayed.
For example, EX1_800.
The system alias you choose should be the same system alias you defined while creating the Data Model.
Click Save to save your configuration settings.
Alternatively, use the transaction, SM30. In Table/View, enter the name /IWFND/V_MGDEAM, switch to edit mode and repeat steps two to five above.
You can see different views of the service in the consumption model using the XML and the Metadata buttons.
Assign the New System Alias to a Service after Transport (applicable to Generic Channel Data Models)
There is a direct connection between the SAP Gateway service and the system alias that you specified.
You must assign the new system alias information to a service whenever the service is transported to another SAP Gateway server that has been configured with a different system alias.
The procedures in this section apply only to Generic Channel Data Models.
Use the procedure in the section above if you have OData Channel Data Models.
To assign the new system alias:
Use transaction SPRO, select
.Press Ctrl +F1 to switch to the edit mode.
In the column, Service Doc. Identifier, locate the name of your Data Model
For example, /IWFND/ZUSER_BOR_0001
In the column, SAP system alias, press F4 and select the applicable system alias from the list displayed.
For example,EX2_800.
Click Save to save your configuration settings.