EXTERNAL_CHECK_AUTHORITY SAP Method Check authorizations from external









Below is documentation, parameters and attributes of ABAP Method EXTERNAL_CHECK_AUTHORITY within SAP class /SCMTMS/CL_AC_SUPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_AC_SUPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method EXTERNAL_CHECK_AUTHORITY can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method EXTERNAL_CHECK_AUTHORITY

.

NameTypeData TypeDescriptionDefault Value
IR_DATAImportingTYPE REF TO
DATA
Instance data of current BO node
IT_KEYImportingTYPE
/BOBF/T_FRW_KEY
Key Table
IT_MODIFICATIONImportingTYPE
/BOBF/T_FRW_MODIFICATION
Changes
IV_ACT_KEYImportingTYPE
/BOBF/CONF_KEY
Action Key
IV_AC_TRIGGERImportingTYPE
/SCMTMS/AC_TRIGGER
Authority Check Trigger
IV_CHECK_STACKImportingTYPE
BOOLE_D
Check for stacked srevice manager calls
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node for which service manager method is called
IV_PROCESS_IDImportingTYPE
STRING
Process ID for differentiation between external auth. checks
IV_QUERY_KEYImportingTYPE
/BOBF/OBM_QUERY_KEY
Query
IV_RETR_EDIT_MODEImportingTYPE
/BOBF/CONF_EDIT_MODE
Retrieve edit mode
IV_SRVMGR_METHImportingTYPE
SEOCPDNAME
Service manager method name
IV_STATICImportingTYPE
ABAP_BOOL
Static or instance based check
IV_USERImportingTYPE
SYUNAME
User Name
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
ET_AC_RESULTExportingTYPE
TT_AC_RESULT
Authority Check Results



Exceptions of Method EXTERNAL_CHECK_AUTHORITY

/SCMTMS/CX_FRW_AUTHORITY - Authority Check Exception

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMTMS/CL_AC_SUPER.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_AC_RESULT TYPE TT_AC_RESULT,
lv_IR_DATA TYPE DATA,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_MODIFICATION TYPE /BOBF/T_FRW_MODIFICATION,
lv_IV_ACT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_AC_TRIGGER TYPE /SCMTMS/AC_TRIGGER,
lv_IV_CHECK_STACK TYPE BOOLE_D,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PROCESS_ID TYPE STRING,
lv_IV_QUERY_KEY TYPE /BOBF/OBM_QUERY_KEY,
lv_IV_RETR_EDIT_MODE TYPE /BOBF/CONF_EDIT_MODE,
lv_IV_SRVMGR_METH TYPE SEOCPDNAME,
lv_IV_STATIC TYPE ABAP_BOOL,
lv_IV_USER TYPE SYUNAME,
lv_other TYPE c.

CALL METHOD lo_class=>EXTERNAL_CHECK_AUTHORITY(
EXPORTING
IR_DATA = lv_IR_DATA
IT_KEY = lv_IT_KEY
IT_MODIFICATION = lv_IT_MODIFICATION
IV_ACT_KEY = lv_IV_ACT_KEY
IV_AC_TRIGGER = lv_IV_AC_TRIGGER
IV_CHECK_STACK = lv_IV_CHECK_STACK
IV_NODE_KEY = lv_IV_NODE_KEY
IV_PROCESS_ID = lv_IV_PROCESS_ID
IV_QUERY_KEY = lv_IV_QUERY_KEY
IV_RETR_EDIT_MODE = lv_IV_RETR_EDIT_MODE
IV_SRVMGR_METH = lv_IV_SRVMGR_METH
IV_STATIC = lv_IV_STATIC
IV_USER = lv_IV_USER
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ET_AC_RESULT = lv_ET_AC_RESULT ).

Links to Related Class(s)

/SCMTMS/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!