
Explanation:
Database table
Data model view
Projection view
Service definition
Service binding
In RAP, the development flow follows a bottom-up approach, beginning with persistence and ending with OData exposure:
* Database table:The persistence layer where data is stored. This is the foundation of the business object model.
* Data model view (CDS entity):The CDS view is defined on top of the database table to provide a semantic data model. It represents entities like Travel or Booking.
* Projection view:Provides an abstraction of the data model view and controls which fields and associations are exposed externally.
* Service definition:Specifies which projection views (entities) are exposed in the OData service.
* Service binding:Connects the service definition to a communication protocol (e.g., OData V2 or V4), generating the final consumable service endpoint.
This sequence ensures a layered architecture consistent with RAP guidelines:
* Persistence layer # Data model layer # Projection layer # Service layer # Binding to protocol.
Reference: SAP Help 1, pages 4-6 - RAP design time development flow (data modeling, business service provisioning, service consumption).