Ansicht
Dokumentation
ABENBDL_EXT_ENABLING_PROJECTION - BDL EXT ENABLING PROJECTION
General Data in Customer Master ABAP Short ReferenceThis documentation is copyright by SAP AG.
- Extensibility Enabling for CDS Projection BDEFs
projection
strict;
extensible;
define behavior for ProjectedEntity
extensible
$[...$]
{
$[...$]
$[mapping for PartnerType corresponding extensible$]
$[...$]
}
...
To allow BDEF projection extensions to a CDS projection behavior definition, BDEF strict mode must be switched on using the keyword strict.
Effect
The keyword extensible can be specified at different places to allow for extensions:
- extensible in the CDS behavior definition header
- Prerequisite for extensibility. If it is not specified, then extensions are not allowed. If specified, at least one RAP BO entity must be declared as extensible in the entity behavior characteristics.
- Allows the following components to be added to a CDS projection behavior definition via a BDEF projection extension:
- Adding a new RAP authorization context and extending an existing full authorization context from the extended entity.
- Defining behavior for an extension node on the projection layer by means of a RAP projection extension entity.
- extensible in the entity behavior characteristics
- Mandatory for each individual RAP BO entity that allows extensions.
- Allows the following behavior extensions to be added via a BDEF projection extensions for the RAP BO entity in question:
- RAP field characteristics can be added to extension fields.
- RAP actions including authorization control, feature control, and precheck.
- Reuse of actions, functions, and associations from the original RAP BO of type managed or unmanaged.
- extensible in the entity behavior body:
- mapping for PartnerType corresponding extensible: a RAP type mapping defined in the extended RAP business object can be extended with extension fields. extensible can only be used in combination with corresponding, so that components with the same name are automatically mapped to each other.
It is not required that the underlying
projected BDEF is declared as extensible. A BDEF projection can be extensible independent of the projected RAP BO.
Example
The CDS projection behavior definition for DEMO_RAP_PROJ_EXTEND enables BDEF extensions:
s
ROGBILLS - Synchronize billing plans PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 6888 Date: 20240512 Time: 010636 sap01-206 ( 56 ms )