CHECK_AUTHORITY SAP Method Check component authority
Below is documentation, parameters and attributes of ABAP Method CHECK_AUTHORITY within SAP class IF_RSO_RES_QD_HANDLER. 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 IF_RSO_RES_QD_HANDLER 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 CHECK_AUTHORITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_AUTHORITY
.| Name | Type | Data Type | Description | Default Value |
| I_ACTIVITY | Importing | TYPE ACTIV_AUTH | ||
| I_COMPID | Importing | TYPE RSZCOMPID | ||
| I_COMPTYPE | Importing | TYPE RSZCOMPTP | ||
| I_INFOPROV | Importing | TYPE RSINFOCUBE | ||
| E_SUBRC | Exporting | TYPE SYSUBRC |
Exceptions of Method CHECK_AUTHORITY
CX_RSO_RES_INTERNAL -Example ABAP coding
DATA: lo_class TYPE REF TO IF_RSO_RES_QD_HANDLER.
DATA: lv_E_SUBRC TYPE SYSUBRC,
lv_I_ACTIVITY TYPE ACTIV_AUTH,
lv_I_COMPID TYPE RSZCOMPID,
lv_I_COMPTYPE TYPE RSZCOMPTP,
lv_I_INFOPROV TYPE RSINFOCUBE,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_AUTHORITY(
EXPORTING
I_ACTIVITY = lv_I_ACTIVITY
I_COMPID = lv_I_COMPID
I_COMPTYPE = lv_I_COMPTYPE
I_INFOPROV = lv_I_INFOPROV
IMPORTING
E_SUBRC = lv_E_SUBRC ).
Links to Related Class(s)
IF_RSO_R...Full list of available SAP object classes
Search for further information about these or an SAP related objects