ABAP RESTful Application Programming Model
ABAP RESTful Application Programming Model
📦 Step-by-Step Example
@AbapCatalog.tableCategory : #TRANSPARENT
key ID : abap.int4;
NAME : abap.string(50);
DEPARTMENT : abap.string(50);
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel.representativeKey: 'ID'
key ID,
NAME,
DEPARTMENT
@Metadata.layer: #CORE
@UI.lineItem: [{ position: 10 }]
ID;
@UI.lineItem: [{ position: 20 }]
NAME;
@UI.lineItem: [{ position: 30 }]
DEPARTMENT;
4. Define Behavior
create;
update;
delete;
5. Service Definition
expose ZEMPLOYEE_VIEW;
6. Service Binding
🚀 Result
You’ll get a Fiori app with full CRUD capabilities: