Ansicht
Dokumentation
ABENBDL_PROJ_EXT_BODY - BDL PROJ EXT BODY
RFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
- extension_body, Projection Extension
...
$[field characteristics$];
$[use$];
$[actions and functions$];
$[mapping for$];
$[extend mapping for$];
Effect
Defines the behavior extension body to extend an existing RAP BO entity in a CDS projection behavior definition.
Components:
- field characteristics:
- Adds field attributes to extension fields in a BDEF projection extension.
- Field attributes can be added only for extension fields. Extension fields are fields which are not part of the original BO, but are added via RAP data model extension.
- The following field attributes are available in BDEF projection extensions for extension fields: readonly, suppress, readonly:update.
- These field attributes work as described in topic Field Characteristics, Projection BDEF.
- The field characteristics mandatory, modify, and features:instance are not available in BDEF projection extensions.
- use:
- The keyword use allows the reuse of RAP BO operations.
- The following operations can be reused: RAP actions, RAP functions, and associations.
- Only extension operations that were created in the same software component can be reused. Operations from the original BDEF of type managed or unmanaged must not be reused.
- Actions, functions, and associations from the projection layer cannot be reused.
- Reuse works as described in topic CDS BDL - use.
- Actions and functions:
- New RAP actions and RAP functions can be defined and implemented in a BDEF projection extension.
- The syntax is exactly the same as for actions and functions in projection BDEFs, see topic Actions and Functions, Projection BDEF.
- An implementation in an extension ABP is required. The rules for extension ABPs apply, see topic CDS BDL - implementation in class unique, Extension.
- RAP type mapping can be added. This type mapping can only contain extension fields. It must not contain any fields from the original BDEF. The syntax is exactly the same as for RAP BOs, see topic CDS BDL - Type Mapping.
- An existing RAP type mapping can be extended with extension fields using the syntax extend mapping for as described in topic CDS BDL - extend mapping.
s
BAL Application Log Documentation ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 7739 Date: 20240511 Time: 183551 sap01-206 ( 61 ms )