ABAP RESTful Application Programming Model (RAP) With Example
ABAP RESTful Application Programming Model (RAP) With Example
@AbapCatalog.tableCategory : #TRANSPARENT
key ID : abap.int4;
NAME : abap.string(50);
DEPARTMENT : abap.string(50);
This view exposes only the fields needed by the service and UI.
@AccessControl.authorizationCheck: #NOT_REQUIRED
as projection on ZEMPLOYEE {
key ID,
NAME,
DEPARTMENT
@Metadata.layer: #CORE
@UI.lineItem: [{ position: 10 }]
ID;
@UI.lineItem: [{ position: 20 }]
NAME;
@UI.lineItem: [{ position: 30 }]
DEPARTMENT;
A managed scenario that handles create, update, and delete for the transparent
table.
create;
update;
delete;
3. Resulting Capabilities
Next Steps
Feel free to dive deeper into any of these extensions or ask for an unmanaged
scenario example!
Let’s break down its key components in a structured way so you can see how
they fit together in building scalable, enterprise-grade apps.
CDS View Entities: Represent business objects with annotations for UI,
behavior, and service exposure.
2. Behavior Layer
3. Service Layer
4. UI Layer
5. Transactional Engine