Ansicht
Dokumentation

ABENBDL_ABSTRACT - BDL ABSTRACT

ABENBDL_ABSTRACT - BDL ABSTRACT

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

- CDS Abstract Behavior Definitions

CDS abstract behavior definitions in ABAP CDS are created using the behavior definition language CDS BDL in BDL source code.

A CDS abstract behavior definition mainly serves as typing mechanism for deep action or function parameters. Only a limited range of syntax elements is available, such as associations and type mapping. It is not possible to define any transactional behavior in an abstract behavior definition.

Related Information

Example

The following example shows an abstract BDEF with three nodes that is constructed as hierarchy.

The managed BDEF DEMO_CDS_DEEP_PARAMETER uses the abstract BDEF as action parameter in three actions.

The abstract BDEF is used as flat parameter, as structure, or as table, depending on the keywords used.

  • Usage as flat parameter in action a2_from_flat
IMAGE @@ABDOC_ABSTRACT_FLAT.jpg@@417@@74@@
  • Usage as structure in action a2_from_deep
IMAGE @@ABDOC_ABSTRACT_STRUCTURE.jpg@@434@@203@@
  • Usage as table in action a2_from_deep_table
IMAGE @@ABDOC_ABSTRACT_TABLE.jpg@@479@@199@@




CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3086 Date: 20240511 Time: 115524     sap01-206 ( 35 ms )