ABAP RESTful Application Programming Model


The ABAP RESTful Application Programming Model consists of three main layers

  1. Data Modeling & Behavior: contains domain-specific business objects, that are defined with Core Data Services (CDS) and transactional behavior.
    • Business Objects
    • Queries: CDS 
  2. Business Services Provisioning: consists of projection views with their projection behavior to focus on a particular aspect of the data model which is exposed as business services through the OData protocol.
    • Business object projection
      • CDS view
      • BDEF: Behavior projection
      • ABAP behavior
    • Service definition
    • Service binding 
  3. Service Consumption: allows you to consume all types of OData services as well as OData Web APIs.
    • Odata UI services
    • Odata Web API

Database layer


CDS based data model

In the CDS layer, you can use and manipulate data that is persisted in the database.

The projection is a subset of the fields of the underlying data model, that are relevant for the application. For example, UI annotations would be part of a projection view.

With the service definition you are able to define which data is exposed as a business service.

Service bindings allow you to bind service definitions to a client-server communication protocol such as OData.

Comments