Testing an ODATA Service
The SAP Gateway Client is a tool that can be used to execute OData requests. It is an integral part of the SAP Gateway.
The tool is started by calling transaction /n/IWFND/GW_CLIENT. You can specify the OData request URI, the HTTP method, the protocol (HTTP or HTTPS), the request headers and the request body. After you have entered all necessary request data, click the button “Execute” to send the request. Afterward, the response headers and response data are displayed.
Here are some examples for testing OData service ZBW_ODP_ODATA_SRV.
Read METADATA
Method: GET, Request URL:
/sap/opu/odata/SAP/ ZBW_ODP_ODATA_SRV /$metadata
Query all records having RBUKRS = 12345(FILTER)
Method: GET, Request URL:
/sap/opu/odata/SAP/ZBW_ODP_ODATA_SRV /SCUSTSet?$ format=json&$filter=RBUKRS eq '12345'