Get Example source ABAP code based on a different SAP table
ABAP_CDS_BDL in ABAP Release 7.56 ITOC
ABAP_MODIFICATION_NN BDEF Strict Mode>
BDEF strict mode> is now available. It can be enabled using the syntax addition strict>> and it applies additional syntax checks to RAP behavior definitions>.
ABAP_MODIFICATION_NN Nested Determinations on Modify>
It is now possible to trigger a determination on modify> by another determination on modify.
ABAP_MODIFICATION_NN RAP BO Operation Additionauthorization:update>>
The new RAP BO operation addition> authorization:update>> is available for managed and unmanaged BOs. It delegates the authorization control for an operation to the authorization control that is specified for the update operation.
ABAP_MODIFICATION_NN Always Flag in Determine Actions>
The new addition always>> can be used for determinations and validations assigned to a determine action>>. When the determine action is called, determinations and validations with this flag are executed regardless of their trigger conditions.
ABAP_MODIFICATION_NN Global Feature Control>
The new RAP BO operation addition features:global>> can be used to define global feature control for RAP BO operations.
ABAP_MODIFICATION_NN Global Authorization Control>
Global authorization control is available. It can be defined using authorization master (global)>>.
ABAP_MODIFICATION_NN Non-Locking Actions>
The new RAP BO operation addition lock:none> > can be used to suppress the locking mechanism for an action.
ABAP_MODIFICATION_NN Unmanaged Early Numbering in Managed BOs>
The entity behavior characteristic early numbering>> can be used to define unmanaged early numbering for all primary key fields of a managed RAP BO.
ABAP_MODIFICATION_NN Implementing Cleanup in Managed BOs>
The new addition and cleanup>> is available for additional and unmanaged save in managed RAP BOs. It allows the application developer to implement the cleanup method.
It is now possible to define authorization contexts> in a RAP behavior definition using the keyword define authorization context>. There are different ways to activate an authorization context. When activated, all authorization objects listed in the respective context are always successful, that means, the respective authorization checks are skipped.
ABAP_MODIFICATION_NN With Privileged Mode Disabling>
The new syntax with privileged mode disabling> supersedes the deprecated version with privileged mode>. The new syntax version disables an authorization contexts> when accessing the RAP BO in question with a privileged EML call.
ABAP_MODIFICATION_NN Projection BDEF, New Actions and Functions >
It is now possible to define and implement new actions and functions> in a projection BDEF>.
It is now possible to define an authorization concept> in a projection BDEF > that controls access to the newly defined actions and functions in a projection BDEF.
Field characteristics> can be specified for augmented fields> in a projection BDEF>.
ABAP_MODIFICATION_NN Projection BDEF, New Field Characteristic>
In projection BDEFs>, a new field characteristic is available: field(suppress)>>. It removes the field in question from the BDEF derived types and from all RAP APIs.
For projections BDEFs>, the operation augment> is available. Augmentation allows incoming requests with a custom implementation to be enhanced, for example with default values.
A new implementation type is available: the CDS abstract behavior definition>. Such abstract BDEFs mainly serve as typing mechanism for deep action or function parameters.
ABAP_MODIFICATION_NN Abstract BDEF, with control>>
The optional addition with control >> is available for abstract BDEFs. It adds a %control>> structure to the corresponding derived type structure.