SAP BDL RAP BO INTERFACE



Get Example source ABAP code based on a different SAP table
  



ABAP_RAP - Interface Behavior Definition
A RAP interface behavior definition is created using the behavior definition language RAP BDL in BDL source code.
A RAP BO interface is a RAP business object that serves as interface for stable consumption. It is typically released as released API under the C1 contract. It might also be released under the C0 contract for extensibility. A RAP BO interface consists of a CDS transactional interface and a RAP interface behavior definition. It does not have a runtime handler and cannot specify an implementation class for ABAP behavior implementation. Instead, it reuses or inherits the behavior and characteristics of the underlying base BO. Each RAP BO can have multiple interfaces.
RAP BO interfaces can only be consumed with ABAP EML. It is not possible to expose a RAP BO interface directly as RAP business service .
The following image shows the role of RAP interface behavior definitions in a CDS data model.
IMAGE ABDOC_INTERFACE_BDEF.png 759 363
A RAP interface behavior definition must always be based on a CDS transactional interface and it defines the behavior that is included in the interface. Another projection layer ( CDS transactional query and projection BDEF) can be built on top of a RAP BO interface.

ABAP_FURTHER_INFO
Development guide for the ABAP RESTful Application Programming Model, topic Business Object Interface.