Ansicht
Dokumentation

ABAPDERIVED_TYPES_OP - DERIVED TYPES OP

ABAPDERIVED_TYPES_OP - DERIVED TYPES OP

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

%op

%op is a component group in BDEF derived types.

It is used as indicator for standard operations, nonstandard operations and associations defined in the BDEF.

For accessing the elements with %op, the syntax can, for example, be as follows: %op-%create, %op-%update, %op-%delete, %op-%action-action_name, or %op-%assoc-assoc_name.

Type

The components are typed with ABP_BEHV_FLAG.

  • FAILED [EARLY$|LATE]
  • REPORTED [EARLY$|LATE]
  • [INSTANCE] AUTHORIZATION RESULT

Example

The following source code section taken from the BP_DEMO_MANAGED_ROOT_PERM=====CCIMP of the global class of the behavior pool BP_DEMO_MANAGED_ROOT_PERM demonstrates the component %op in the context of a get_instance_authorizations method that returns information on whether delete operations and executions of an action are allowed on RAP BO instances or not. See the executable program for this example further down.

The example BDEF derived type components in the context of requesting permissions demonstrates the use of various BDEF derived type components including %op with a managed RAP BO.






Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.

Length: 2158 Date: 20240420 Time: 025150     sap01-206 ( 35 ms )