[Backend] SAP Gateway implementation

First, we can follow this tutorial:
https://blogs.sap.com/2016/05/31/odata-service-development-with-sap-gateway-code-based-service-development/

The above tutorial will provide you guide to:
- Setup the gateway service in ABAP server.
- Create Entity set, which is linked to ABAP dictionary.
- Modify Method for GET: get entity, get entitySet with $filter, $top & $skip.

The second blog will help you to:
- Get single entity by key.
-  Implementing navigation to the child items.
https://blogs.sap.com/2016/05/31/odata-service-development-with-sap-gateway-code-based-service-development-part-ii/

Below tutorial will help you how to handle the $sort param:
http://www.saplearners.com/orderby-query-option-in-sap-netweaver-gateway/

The link between URL & Gateway ABAP Method:

HTTP Method
Base URL plus
Query String
XML Body
OData Operation
ABAP Method
GET
Nothing
Handled by the Gateway Framework
GET
Entity Set Name
None or $filter
QUERY
GET_ENTITYSET
GET
Entity Set Name
Key Predicate
READ
GET_ENTITY
PUT
Entity Set Name
Key Predicate
Yes
UPDATE
UPDATE_ENTITY
POST
Entity Set Name
Yes
CREATE
CREATE_ENTITY
DELETE
Entity Set Name
Key Predicate
DELETE
DELETE_ENTITY
GET/POST
Operation Name
Parameter List
Custom Operation
EXECUTE_ACTION



---V---

Nhận xét

Bài đăng phổ biến từ blog này

Tại sao lại chụp ảnh theo bố cục 1/3 ?

[sapui5] Best Practice in sapui5 development

Implement Search field with case-INSENSITIVE by SAP UI5