Get Example source ABAP code based on a different SAP table
• AUTHORIZATION UPDATE ABAP_BDL_BODY
ABAP_RAP - authorization:update>
ABAP_SYNTAX ... (authorization:update) ...>
What does it do? The RAP BO operation addition authorization:update> delegates the authorization check> for the operation in question to the update operation. That means that an operation specified as authorization:update> has the same authorization control that is specified for the update operation. As a prerequisite, authorization control> must be defined and implemented. However, it is not required that the update operation is enabled for the entity in question. You can delegate the authorization for operations to the update operation even though the update operation is not enabled for this entity. authorization:update> can be used for the following operations:
the standard operation delete>>
the create-by-association> operation
actions>
determine actions> ABAP_NOTE The authorization for internal actions cannot be delegated. Internal actions do not have authorization checks in general, as they are only invoked internally.
ABAP_AVAILABILITY
Managed RAP BO>
Unmanaged RAP BO>
Projection BO>. For details, see RAP BDL - authorization, projection BDEF>. ABAP_AVAILABILITY_END
ABAP_FURTHER_INFO
Development guide for the ABAP RESTful Application Programming Model, section Authorization Definition>.
Latest notes:
For details on authorization control in RAP, see topic TITLE >.
Remember: Standard operations in authorization-dependent entities are automatically delegated to the update operation of the authorization master entity>.
If you delegate the authorization for an action> in an authorization-dependent entity to the update operation, it will be delegated to the update operation of the authorization master entity in the end. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 An example for authorization:update> in a projection BDEF is provided in the topic about authorization control in projection BDEFs, see RAP BDL - authorization, projection BDEF>. ABAP_EXAMPLE_END