CHECK_AUTHORIZATION SAP Method Check Authorization for Service Datasets









Below is documentation, parameters and attributes of ABAP Method CHECK_AUTHORIZATION within SAP class IF_HRASR00_BLP_ADAPTER. 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_HRASR00_BLP_ADAPTER 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

.

NameTypeData TypeDescriptionDefault Value
EFFECTIVE_BEGDAImportingTYPE
ASR_EFFECTIVE_DATE
EFFECTIVE_ENDDAImportingTYPE
ASR_EFFECTIVE_DATE
LEVELImportingTYPE
AUTHC_D
MESSAGE_HANDLERImportingTYPE REF TO
IF_HRPA_MESSAGE_HANDLER
PERNRImportingTYPE
PERNR_D
SERVICE_DATASETSImportingTYPE
HRASR00PAITF_DATASET_TAB
SERVICE_DATASETSImportingTYPE
HRASR00BLP_DATASET_TAB
IS_OKExportingTYPE
BOOLE_D
AUTHORIZEDUSERSChangingTYPE
HRASR00AUTHORIZEDUSER_TAB



Exceptions of Method CHECK_AUTHORIZATION

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRASR00_BLP_ADAPTER.
DATA: lv_AUTHORIZEDUSERS TYPE HRASR00AUTHORIZEDUSER_TAB,
lv_EFFECTIVE_BEGDA TYPE ASR_EFFECTIVE_DATE,
lv_EFFECTIVE_ENDDA TYPE ASR_EFFECTIVE_DATE,
lv_IS_OK TYPE BOOLE_D,
lv_LEVEL TYPE AUTHC_D,
lv_MESSAGE_HANDLER TYPE IF_HRPA_MESSAGE_HANDLER,
lv_PERNR TYPE PERNR_D,
lv_SERVICE_DATASETS TYPE HRASR00PAITF_DATASET_TAB,
lv_SERVICE_DATASETS TYPE HRASR00BLP_DATASET_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK_AUTHORIZATION(
EXPORTING
EFFECTIVE_BEGDA = lv_EFFECTIVE_BEGDA
EFFECTIVE_ENDDA = lv_EFFECTIVE_ENDDA
LEVEL = lv_LEVEL
MESSAGE_HANDLER = lv_MESSAGE_HANDLER
PERNR = lv_PERNR
SERVICE_DATASETS = lv_SERVICE_DATASETS
SERVICE_DATASETS = lv_SERVICE_DATASETS
IMPORTING
IS_OK = lv_IS_OK
CHANGING
AUTHORIZEDUSERS = lv_AUTHORIZEDUSERS ).

Links to Related Class(s)

IF_HRASR...
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!