Business Example
You are a solution architect or developer in your company. You want to examine an SAP Gateway project in the SAP Gateway Service Builder, an SAP Gateway service in the SAP Gateway Service Maintenance, and the result of calling an SAP Gateway service in the SAP Gateway Client.
- Template:
- GW100_T_BASICGW (SAP Gateway Project)
- Solution:
- none
Note
This exercise requires an SAP Learning system. Login information are provided by your system setup guide.Task 1: Open an SAP Gateway Project in the SAP Gateway Service Builder
Steps
Log in to your SAP S/4HANA (S4H) system using SAP GUI.
In the SAP Business Client or SAP Logon, select the SAP GUI SNC system entry of your S4H.
Choose Log On.
In the SAP Gateway Service Builder (SEGW) of your S4H, examine the Product entity type in the project GW100_T_BASICGW.
In the SAP Easy Access of your S4H, search for SAP Gateway Service Builder or start transaction SEGW.
Choose Open Project.
In the Open Project popup, in the Project field, enter GW100_T_BASICGW and choose Execute.
Expand Data Model → Entity Types → Product.
Double-click Properties and examine the details on the right.
Task 2: Check the Status of an SAP Gateway Service in the SAP Gateway Service Maintenance
Steps
In the SAP Gateway Service Maintenance (/IWFND/MAINT_SERVICE) of your S4H, examine the service of the GW100_T_BASICGW project. What is the status of the ICF node? Which system alias is assigned to the service?
In the SAP Gateway Service Builder of your S4H, double-click the folder Service Maintenance.
Select the system LOCAL_GW.
Choose Maintain.
In the Warning! popup, to be redirected to the selected system, choose Yes.
Select the Technical Service NameGW100_T_BASICGW_SRV.
Confirm that the status of the ICF NodeODATA is green.
Confirm that no SAP System Alias is assigned.
Task 3: Test an SAP Gateway Service in the SAP Gateway Service Builder
Steps
In the SAP Gateway Client (/IWFND/GW_CLIENT) of S4H, display the service document of GW100_T_BASICGW_SRV and query all products.
In the ICF Nodes panel of the SAP Gateway Service Maintenance, choose SAP Gateway Client.
In the SAP Gateway Client, select HTTPS as Protocol.
Choose Execute.
Result
The HTTP Response displays the service document.
Choose Entity Set.
In the Entity Sets popup, double-click ProductSet.
Example
/sap/opu/odata/SAP/GW100_T_BASICGW_SRV/ProductSet
Choose Execute.
Result
The HTTP Response displays all products.
Compare the result of the $metadata request in the SAP Gateway Client with the project structure in the SAP Gateway Service Builder.
In the SAP Gateway Client of your S4H, choose Add URI Option.
In the Add URI Option popup, double-click $metadata.
Example
/sap/opu/odata/SAP/GW100_T_BASICGW_SRV/$metadata
Choose Execute.
Result
The HTTP Response displays the metadata of the service.
In the SAP Gateway Service Maintenance, return to the SAP Gateway Service Builder by choosing Back.
Compare the project structure in the SAP Gateway Service Builder with the HTTP Response in the SAP Gateway Client.