Ansicht
Dokumentation
ABENBDL_PROJ_EXT_ENTITY - BDL PROJ EXT ENTITY
PERFORM Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
- Projection Extension Entity
... define behavior for ProjectionEntity ...
- As a prerequisite, the underlying CDS projection behavior definition must explicitly allow BDEF extensions as described in topic CDS BDL - Extensibility Enabling for CDS Projection BDEFs.
- The extension node must be added to the RAP data model via RAP data model extension.
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.
- A RAP foreign entity must not be specified.
- Adding a new RAP authorization context is not possible. Extending a full authorization context is not supported either.
- 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 )