In transaction SPRO, open the SAP Reference IMG and navigate to to display the registration tasks that we need to carry out:
Select Assign Data Provider to Data Model.
Create the following new entry to assign the data provider runtime class to the UC Data Model that we created:
Model Identifier |
Type |
Software Version |
Class/Interface |
Description |
Model Name |
---|---|---|---|---|---|
ZHS_EPM_GI_0001_UC |
(Adaption) Data Provider |
DEFAULT |
ZHS_CL_MGW_EPM_GI_RT |
EPM Tutorial |
ZHS_EPM_GI |
The model name (ZHS_EPM_GI in our example) is identical to the GSDO group name we will register in Step 7.
In the expanded IMG tree, select Assign SAP System Aliases to OData Service.
Create the following new entry, choosing a system alias of LOCAL.
Service Doc. Identifier |
User Role |
SAP System Alias |
Technical Service Name |
External Service Name |
Version |
---|---|---|---|---|---|
ZHS_EPM_GI_0001 |
LOCAL |
ZHS_SG_EPM_GI |
ZHS_SG_EPM_GI |
1 |
In the expanded IMG tree, select Manage GSDO Group for OData Service.
Create the following new entry:
GSDO Group |
Active |
Service Doc. Identifier |
Implementation |
Description |
---|---|---|---|---|
ZHS_EPM_GI |
Yes |
ZHS_EPM_GI_0001 |
OData Channel Implementation |
EPM Goods Issue Tutorial |
The runtime configuration is completed. To check the service, proceed as follows:
Go to transaction SE80 and open the Consumption Model we created (ZHS_SG_EPM_GI) by double-clicking it.
Start the XML and Metadata URL by selecting the XML and Metadata buttons at the end of the URL field.
An example for the XML can be found at: http://<server>:<port>/sap/opu/sdata/sap/ZHS_SG_EPM_GI/?sap-client=100&$format=xml
An example for retrieving goods issue information can be found at: http://<server>:<port>sap/opu/sdata/sap/ZHS_SG_EPM_GI/GoodsIssueItemCollection?sap-client=100&$format=xml