CHECK_AUTHORIZATION SAP Method Checks Authorization Object Within Line Item Entry
Below is documentation, parameters and attributes of ABAP Method CHECK_AUTHORIZATION within SAP class IF_EX_BADI_AUTH_CHECK_KE21. 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_EX_BADI_AUTH_CHECK_KE21 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_AUTHORIZATION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_AUTHORIZATION
.| Name | Type | Data Type | Description | Default Value |
| I_ERKRS | Importing | TYPE ERKRS | Operating Concern | |
| I_ITEM | Importing | TYPE ANY | Line Items | |
| E_SUBRC | Exporting | TYPE SYSUBRC | Result of Validity Check |
Exceptions of Method CHECK_AUTHORIZATION
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_AUTH_CHECK_KE21.
DATA: lv_E_SUBRC TYPE SYSUBRC,
lv_I_ERKRS TYPE ERKRS,
lv_I_ITEM TYPE ANY,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_AUTHORIZATION(
EXPORTING
I_ERKRS = lv_I_ERKRS
I_ITEM = lv_I_ITEM
IMPORTING
E_SUBRC = lv_E_SUBRC ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects