AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.56 → ABAP RESTful Application Programming Model in ABAP Release 7.56 →
RAP BDL in ABAP Release 7.56
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.
Nested Determinations on Modify
It is now possible to trigger a determination on modify by another determination on modify.
RAP BO Operation Addition authorization: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.
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.
Global Feature Control
The new RAP BO operation addition features:global can be used to define global feature control for RAP BO operations.
Global Authorization Control
Global authorization control is available. It can be defined using authorization master (global).
Non-Locking Actions
The new RAP BO operation addition lock:none can be used to suppress the locking mechanism for an action.
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.
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.
Define Authorization Context
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.
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.
Projection BDEF, New Actions and Functions
It is now possible to define and implement new actions and functions in a
projection BDEF.
Projection BDEF, Authorization Concept
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.
Projection BDEF, Augmented Fields
Field characteristics can be specified for
augmented fields in a projection BDEF.
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.
Projection BDEF, Operation Augment
For projections BDEFs, the
operation augment is available. Augmentation
allows incoming requests with a custom implementation to be enhanced, for example with default values.
CDS Abstract Behavior Definitions
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.
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.