Ansicht
Dokumentation

ABENCDS_BDEF - CDS BDEF

ABENCDS_BDEF - CDS BDEF

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

- Behavior Definitions

A CDS behavior definition (BDEF for short) is an ABAP repository object that defines the transactional behavior of a RAP business object in the context of ABAP RAP. The transactional behavior defines and restricts how a RAP BO can be accessed by a RAP BO consumer. A BDEF is always based on a CDS data model that consists of at least one root entity and it refers to the root entity. A root entity can have no more than one BDEF.

A CDS behavior definition consists of a header part and at least one entity behavior definition. The entity behavior definition, in turn, is made up of entity characteristics and a body. One or more authorization contexts can optionally be defined.

The following image shows the structure of a CDS behavior definition:

IMAGE @@ABDOC_BDEF_STRUCTURE.png@@735@@598@@

Further details on the parts of a CDS behavior definition can be found in the following sections:

An exhaustive description of RAP business objects, behavior characteristics, and transactional behavior can be found in the development guide for the RESTful Application Programming Model, in section Business Object.

Caution

BDEF privileged mode, RAP authorization contexts, and full authorization contexts are currently not available in ABAP for Cloud Development.






Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3362 Date: 20240424 Time: 102046     sap01-206 ( 46 ms )