SAP BDL PRECHECK
Get Example source ABAP code based on a different SAP table
• PRECHECK ABAP_BDL_BODY
ABAP_RAP -
ABAP_SYNTAX
What does it do?
A method that is called before a modify request is executed on the transactional buffer to prevent unwanted changes from reaching the application buffer.
A precheck can be defined for the following
An implementation in the
ABAP_AVAILABILITY
ABAP_AVAILABILITY_END
Projection Implementation
If a precheck is defined in a projection implementation, an ABAP behavior pool is required.
If the base BO defines a precheck, this is automatically reused. The projection can also define a new precheck. Also, it is possible to define a precheck for both layers. In this case, first, the precheck of the projection layer is called and afterwards the precheck of the base layer.
ABAP_FURTHER_INFO
Development guide for the ABAP RESTful Application Programming Model, section
Latest notes:
Cannot be used for internal operations using the keyword
NON_V5_HINTS
ABAP_HINT_END
ABAP_EXAMPLE_VX5
The following example shows an unmanaged BDEF based on the CDS view entity
BDEF DEMO_RAP_UNMANAGED_PRECHECK
In the ABAP behavior pool
Code snippet:
METH BP_DEMO_RAP_UNMANAGED_PRECHECK(CCIMP)=>precheck_create
For the complete implementation in the ABAP behavior pool, see
The class
ABAP_EXAMPLE_END