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
.| Name | Type | Data Type | Description | Default Value |
| IT_QRES_ATTR_US | Importing | TYPE ABAP_COMPDESCR_TAB | Query result structure field list (unsorted) | |
| IV_ACT_KEY | Importing | TYPE /BOBF/CONF_KEY | Action Key | |
| IV_AC_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node Key in which AC is executed | |
| IV_AC_TRIGGER | Importing | TYPE /SCMTMS/AC_TRIGGER | Authority Check Trigger | |
| IV_EXTERNAL | Importing | TYPE BOOLE_D | AC only relevant for EXTERNAL_CHECK_AUTHORITY? | |
| IV_INPUT_DATA_EXISTS | Importing | TYPE BOOLE_D | Input data provided to AC or not? | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node Key for which AC was called | |
| IV_PROCESS_ID | Importing | TYPE STRING | Process ID for differentiation between external auth. checks | |
| IV_QUERY_FILL_DATA | Importing | TYPE BOOLE_D | AC for query with fill_data = true | |
| IV_SRVMGR_METH | Importing | TYPE SEOCPDNAME | Service Manager Method | |
| IV_STATIC | Importing | TYPE BOOLE_D | Static or instance based AC? | |
| ET_ACF_ACTPAR | Exporting | TYPE TT_ACFIELD_ACTPAR | AC field to Action parameter mapping | |
| ET_READ_NODES | Exporting | TYPE /BOBF/T_FRW_KEY | Read Nodes Key Table | |
| ET_RELEVANT_AC_ADM | Exporting | TYPE TT_AC_ADM | Authority Check Administration | |
| ET_REQ_NODE_ATTR | Exporting | TYPE /SCMTMS/CL_DATA_CRAWLER=>TT_REQ_NODE_ATTR | Required attributes per node | |
| EV_USE_QRES | Exporting | TYPE BOOLE_D | Use query result structure for ACs |
Exceptions of Method GET_RELEVANT_AUTH_CHECKS
This method does not have any exceptionsExample 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