ADD_AC_4_QUERY SAP Method Add authorization check for a query
Below is documentation, parameters and attributes of ABAP Method ADD_AC_4_QUERY 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 ADD_AC_4_QUERY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_AC_4_QUERY
.| Name | Type | Data Type | Description | Default Value |
| IS_MSG | Importing | TYPE SYMSG | Structure of message variables | |
| IT_AC_REQ | Importing | TYPE TT_AC_REQ | Authority Check Request | |
| IV_AC_ID | Importing | TYPE INT2 | Authorization Check ID | |
| IV_AC_OBJ | Importing | TYPE XUOBJECT | Authorization Object | |
| IV_EQUI_GRP | Importing | TYPE STRING | Auth.check equi group ID | |
| IV_FILTER_ATTRIBUTE | Importing | TYPE FIELDNAME | Filter Node Attribute Name | |
| IV_FILTER_ATTR_VALUE | Importing | TYPE STRING | Filter Node Attribute Value | |
| IV_FILTER_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Filter Node Key | |
| IV_STATIC | Importing | TYPE ABAP_BOOL | Static authorization check? |
Exceptions of Method ADD_AC_4_QUERY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/CL_AC_SUPER.
DATA: lv_IS_MSG TYPE SYMSG,
lv_IT_AC_REQ TYPE TT_AC_REQ,
lv_IV_AC_ID TYPE INT2,
lv_IV_AC_OBJ TYPE XUOBJECT,
lv_IV_EQUI_GRP TYPE STRING,
lv_IV_FILTER_ATTRIBUTE TYPE FIELDNAME,
lv_IV_FILTER_ATTR_VALUE TYPE STRING,
lv_IV_FILTER_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_STATIC TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_AC_4_QUERY(
EXPORTING
IS_MSG = lv_IS_MSG
IT_AC_REQ = lv_IT_AC_REQ
IV_AC_ID = lv_IV_AC_ID
IV_AC_OBJ = lv_IV_AC_OBJ
IV_EQUI_GRP = lv_IV_EQUI_GRP
IV_FILTER_ATTRIBUTE = lv_IV_FILTER_ATTRIBUTE
IV_FILTER_ATTR_VALUE = lv_IV_FILTER_ATTR_VALUE
IV_FILTER_NODE_KEY = lv_IV_FILTER_NODE_KEY
IV_STATIC = lv_IV_STATIC ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects