GET_RELEVANT_AUTH_CHECKS SAP Method Determine relevant authorization checks









Below is documentation, parameters and attributes of ABAP Method GET_RELEVANT_AUTH_CHECKS 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 is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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 GET_RELEVANT_AUTH_CHECKS can also be found below:

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


Parameters of Method GET_RELEVANT_AUTH_CHECKS

.

NameTypeData TypeDescriptionDefault Value
IT_QRES_ATTR_USImportingTYPE
ABAP_COMPDESCR_TAB
Query result structure field list (unsorted)
IV_ACT_KEYImportingTYPE
/BOBF/CONF_KEY
Action Key
IV_AC_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node Key in which AC is executed
IV_AC_TRIGGERImportingTYPE
/SCMTMS/AC_TRIGGER
Authority Check Trigger
IV_EXTERNALImportingTYPE
BOOLE_D
AC only relevant for EXTERNAL_CHECK_AUTHORITY?
IV_INPUT_DATA_EXISTSImportingTYPE
BOOLE_D
Input data provided to AC or not?
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node Key for which AC was called
IV_PROCESS_IDImportingTYPE
STRING
Process ID for differentiation between external auth. checks
IV_QUERY_FILL_DATAImportingTYPE
BOOLE_D
AC for query with fill_data = true
IV_SRVMGR_METHImportingTYPE
SEOCPDNAME
Service Manager Method
IV_STATICImportingTYPE
BOOLE_D
Static or instance based AC?
ET_ACF_ACTPARExportingTYPE
TT_ACFIELD_ACTPAR
AC field to Action parameter mapping
ET_READ_NODESExportingTYPE
/BOBF/T_FRW_KEY
Read Nodes Key Table
ET_RELEVANT_AC_ADMExportingTYPE
TT_AC_ADM
Authority Check Administration
ET_REQ_NODE_ATTRExportingTYPE
/SCMTMS/CL_DATA_CRAWLER=>TT_REQ_NODE_ATTR
Required attributes per node
EV_USE_QRESExportingTYPE
BOOLE_D
Use query result structure for ACs



Exceptions of Method GET_RELEVANT_AUTH_CHECKS

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SCMTMS/CL_AC_SUPER.
DATA: lv_ET_ACF_ACTPAR TYPE TT_ACFIELD_ACTPAR,
lv_ET_READ_NODES TYPE /BOBF/T_FRW_KEY,
lv_ET_RELEVANT_AC_ADM TYPE TT_AC_ADM,
lv_ET_REQ_NODE_ATTR TYPE /SCMTMS/CL_DATA_CRAWLER=>TT_REQ_NODE_ATTR,
lv_EV_USE_QRES TYPE BOOLE_D,
lv_IT_QRES_ATTR_US TYPE ABAP_COMPDESCR_TAB,
lv_IV_ACT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_AC_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_AC_TRIGGER TYPE /SCMTMS/AC_TRIGGER,
lv_IV_EXTERNAL TYPE BOOLE_D,
lv_IV_INPUT_DATA_EXISTS TYPE BOOLE_D,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PROCESS_ID TYPE STRING,
lv_IV_QUERY_FILL_DATA TYPE BOOLE_D,
lv_IV_SRVMGR_METH TYPE SEOCPDNAME,
lv_IV_STATIC TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>GET_RELEVANT_AUTH_CHECKS(
EXPORTING
IT_QRES_ATTR_US = lv_IT_QRES_ATTR_US
IV_ACT_KEY = lv_IV_ACT_KEY
IV_AC_NODE_KEY = lv_IV_AC_NODE_KEY
IV_AC_TRIGGER = lv_IV_AC_TRIGGER
IV_EXTERNAL = lv_IV_EXTERNAL
IV_INPUT_DATA_EXISTS = lv_IV_INPUT_DATA_EXISTS
IV_NODE_KEY = lv_IV_NODE_KEY
IV_PROCESS_ID = lv_IV_PROCESS_ID
IV_QUERY_FILL_DATA = lv_IV_QUERY_FILL_DATA
IV_SRVMGR_METH = lv_IV_SRVMGR_METH
IV_STATIC = lv_IV_STATIC
IMPORTING
ET_ACF_ACTPAR = lv_ET_ACF_ACTPAR
ET_READ_NODES = lv_ET_READ_NODES
ET_RELEVANT_AC_ADM = lv_ET_RELEVANT_AC_ADM
ET_REQ_NODE_ATTR = lv_ET_REQ_NODE_ATTR
EV_USE_QRES = lv_EV_USE_QRES ).

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!