Ansicht
Dokumentation

ABENBDL_PROJ_EXT_ENTITY - BDL PROJ EXT ENTITY

ABENBDL_PROJ_EXT_ENTITY - BDL PROJ EXT ENTITY

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- Projection Extension Entity

... define behavior for ProjectionEntity ...

Effect

A projection extension entity defines the behavior for an extension node in a BDEF projection extension using the statement define behavior for.

The projection behavior for this extension node is defined in the same way as for projection BDEFs, see section CDS BDL - CDS Projection Behavior Definitions.

If an ABAP behavior pool is specified, the rules for extension ABPs apply. See topic CDS BDL - implementation in class unique, Extension.

The projection behavior for this extension node is defined in a similar way as for projection BDEFs. However, there are some restrictions.

Supported in a BDEF projection extension:

  • Field attributes readonly, readonly:update, suppress.
  • Reuse of RAP BO standard operations, actions, functions, and associations.
  • Extend an existing RAP type mapping.

No behavior requiring implementation must be added. As a consequence, the following is not supported:

  • No ABAP behavior pool must be specified, The statement implementation in class unique is forbidden.
  • No authorization control must be specified. The keyword authorization in the entity behavior characteristics is forbidden.
  • New actions and functions must not be specified in the entity behavior body.
  • Adding a RAP type mapping is not supported. However, extending an existing RAP type mapping with extension fields is supported.
  • Enabling BDEF privileged mode with privileged mode is not supported.

Example

The BDEF projection extension DEMO_RAP_PROJ_EXT_BEH_1 extends the CDS projection behavior definition DEMO_RAP_PROJ_EXT_BEH. It behavior-enables an extension node using the syntax define behavior for, reusing operations from the projected BDEF and specifying field attributes.

The executable example BDEF Projection Extension, Node Extension explains the example above in detail.






rdisp/max_wprun_time - Maximum work process run time   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4823 Date: 20240512 Time: 061503     sap01-206 ( 125 ms )