ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.8x →  News for ABAP Release 7.88 →  ABAP RESTful Application Programming Model in ABAP Release 7.88 → 
Mail Feedback

RAP BDL in ABAP Release 7.88


1. CDS Interface Behavior Definitions

2. Managed RAP BO, New Field Characteristic

3. Managed RAP BO, with full data

4. Abstract BDEF, New Field Characteristic



Modification 1  

CDS Interface Behavior Definitions

A new implementation type is available: the RAP interface behavior definition. Such interface BDEFs are based on CDS transactional interfaces and define the behavior of a RAP BO interface. The overall purpose of a RAP BO interface is to project a business object for stable consumption.



Modification 2  

Managed RAP BO, New Field Characteristic

In managed RAP business objects, a new field characteristic is available: field(suppress). It removes the field in question from the BDEF derived types and from all RAP APIs.



Modification 3  

Managed RAP BO, with full data

In managed RAP business objects, the optional addition with full data can be used in combination with one of the RAP saving options to ensure that full instance data is handed over to the save_modified method of the RAP saver class in the ABAP behavior pool.



Modification 4  

Abstract BDEF, New Field Characteristic

In RAP abstract behavior definitions, a new RAP field characteristic is available: mandatory:execute. It declares the field in question as mandatory. Whenever the hierarchical type is used as input parameter for a RAP action or a RAP function, a value must be supplied.