Ansicht
Dokumentation

ABAPHANDLER_METH_GLOBAL_AUTH - HANDLER METH GLOBAL AUTH

ABAPHANDLER_METH_GLOBAL_AUTH - HANDLER METH GLOBAL AUTH

RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

FOR GLOBAL AUTHORIZATION

Handler method definition:

METHODS meth $[FINAL$]
   FOR GLOBAL AUTHORIZATION
   $[IMPORTING$] ${ REFERENCE(im_par_gl_auth) $| im_par_gl_auth $}
   REQUEST ${ REFERENCE(req_gl_auth) $| req_gl_auth $}
   FOR bdef
   RESULT ${ REFERENCE(res_gl_auth) $| res_gl_auth $}
   $[CHANGING reported TYPE data$].


Effect

Handler method that is used for global authorization checks for accessing RAP BO entities. It must be defined and implemented in a handler class of an ABAP behavior pool. The method name meth can be chosen freely. bdef is the name or the alias of the BDEF.

Method Parameters

  • The changing parameter reported is implicitly available. It is used to return messages. It is possible to specify the parameter with the predefined name reported explicitly following the ABAP word CHANGING. In this case, the generic type DATA is used. At runtime, the typed parameter implicitly has the BDEF derived type TYPE RESPONSE FOR REPORTED.

BDEF Requirements

See the required BDEF notations for both variants in the topic CDS BDL - authorizations.

Examples

Example for a RAP handler method definition. Find demonstrations of method implementations in the executable examples further down.

METHODS get_global_authorizations FOR GLOBAL AUTHORIZATION
    IMPORTING REQUEST requested_authorizations FOR bdef
    RESULT result.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4726 Date: 20240425 Time: 132244     sap01-206 ( 55 ms )