← ClaudeAtlas

raplisted

RESTful ABAP Programming (RAP) — managed and unmanaged scenarios, behavior definitions (BDEF), behavior implementations, EML (Entity Manipulation Language), determinations, validations, actions, draft handling, side effects, authorization, numbering, feature control, lock handling. Use when implementing RAP business objects, writing behavior implementations, using EML, or designing RAP managed scenarios.
williamcorrea23/sap-router-skill · ★ 0 · API & Backend · score 69
Install: claude install-skill williamcorrea23/sap-router-skill
# RESTful ABAP Programming (RAP) Modern ABAP programming model for S/4HANA and ABAP Cloud. ## Architecture Layers ``` ┌─────────────────────────────────────┐ │ Service Binding (OData V4) │ UI Layer ├─────────────────────────────────────┤ │ Service Definition (SRVD) │ ├─────────────────────────────────────┤ │ Behavior Implementation (ABAP) │ Transactional Layer ├─────────────────────────────────────┤ │ Behavior Definition (BDEF) │ ├─────────────────────────────────────┤ │ CDS Data Model (View Entity) │ Data Layer ├─────────────────────────────────────┤ │ Database Table (DDIC) │ └─────────────────────────────────────┘ ``` ## Behavior Definition (BDEF) ```abap " Managed scenario — framework handles CRUD managed implementation in class zbp_i_product unique; define behavior for z_i_product alias Product persistent table zproduct lock master authorization master ( instance ) etag master LocalChangedTime { create; update; delete; field (mandatory) MaterialType, Description; field (readonly) ProductGuid; determination setDescription on modify { create; } validation checkMaterialType on save { create; update; } action cancelProduct result [1] $self; mapping for zproduct { ProductGuid = product_guid; Material = material; MaterialType = material_type; Description = description; } } ``` ## Behavior Implementation ```abap CLASS lhc_product DEFINITION INHERITI