We now activate the service on the SAP Gateway hub, as follows:
Log on to your corresponding SAP Gateway hub server.
Start transaction SPRO.
Open the SAP Reference IMG and navigate to .
Execute the action Register Remote Services:
On the Register Remote Services screen, select the appropriate backend server and enter the name of the service you created earlier:
Select the Execute button at the top of the screen or press F8.
The service appears in the table under Status of ICF Services, marked as inactive (Status column is red).
Activate the service by selecting the line in the table and pressing Enable Service.
Choose a local package and start the URL in the browser. You should now be able to see the metadata XML file exposed by the generated metadata class.
To check the ICF services, start transaction SICF and expand the service tree to display the services as shown below ( ):
Check that the service we created displays in the list.
The service is activated. The generated metadata can be retrieved at: http://<server>:<port>/sap/opu/sdata/sap/ZHS_EPM_FILE_IMP_TUTORIAL_SERV/$metadata?sap-client=100&$format=xml
An example for retrieving the dummy goods issue collection can be seen at: http://<server>:<port>/sap/opu/sdata/sap/ZHS_EPM_FILE_IMP_TUTORIAL_SERV/GoodsIssueCollection?sap-client=100&$format=xml
An example for retrieving detailed information about a specific item can be seen at: http://<server>:<port>/sap/opu/sdata/sap/ZHS_EPM_FILE_IMP_TUTORIAL_SERV/GoodsIssueCollection(10)?sap-client=100&$format=xml