Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

SAP EWM Help Latest Questions

  • 0
  • 0
DPM125
Beginner

RAP Architecture

RAP is structured in 3 layers: 1. Data Modeling & Definition Layer

ComponentPurpose
CDS Data ModelDefines entities and relationships (tables, views)
CDS View EntitiesProvides the foundation for business objects
AssociationsRepresent relationships between entities
AnnotationsDefine metadata (UI, OData, behavior, etc.)

2. Business Service Provisioning Layer

ComponentPurpose
Behavior Definition (.behavior)Defines allowed operations like create, update, delete, custom actions
Behavior Implementation (.abap class)Implements the logic for those operations
Validation/DeterminationHook methods to enforce rules or calculate field values
Draft HandlingOptional support for draft versions of data

3. Service Consumption Layer

ComponentPurpose
Service DefinitionGroups entities to be exposed
Service BindingPublishes the service as an OData endpoint
UI Consumption (Fiori)Used in Smart/Fiori Elements apps
OData V2/V4 SupportRAP supports both protocols (preferably V4)

Related Questions

Leave an answer

Leave an answer