Ansicht
Dokumentation

ABENBDL_BDEF_ABSTRACT_HEADER - BDL BDEF ABSTRACT HEADER

ABENBDL_BDEF_ABSTRACT_HEADER - BDL BDEF ABSTRACT HEADER

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- CDS Behavior Definition Header, Abstract BDEF

implementation type;
$[strict;$]
$[with hierarchy;$]
entity behavior definition ...


Effect

The CDS behavior definition header of an abstract BDEF can define the attributes listed below. The implementation type is mandatory, strict and with hierarchy are strongly recommended for the following reasons: strict mode ensures that no outdated syntax can be used. When leaving out with hierarchy, the abstract BDEF represents the same derived type as a single CDS abstract entity and doesn't offer any additional value.

  • strict: It is strongly recommended that BDEF strict mode is used.
  • with hierarchy: causes the construction of a new kind of BDEF derived type for the entities that are part of the BDEF: Beginning at the root entity, such a type contains all entity fields, plus a component for every composition. For a composition with cardinality <= 1, this component is a structure; otherwise, the component is a table. The type of the component (or its line type) is defined recursively in the same way, down to leaf level in the CDS composition hierarchy.

The behavior definition header is followed by an entity behavior definition.

Note

The addition with hierarchy is a precondition for the following components of an abstract BDEF:

  • with control
  • deep mapping
  • scalar entity





ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4074 Date: 20240511 Time: 205704     sap01-206 ( 95 ms )