CHECK_PROCESS_AUTH_USER SAP Method Check Authorization for Process for Activity
Below is documentation, parameters and attributes of ABAP Method CHECK_PROCESS_AUTH_USER within SAP class IF_HRASR00_POBJ_AUTH_CHECK. 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_POBJ_AUTH_CHECK into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CHECK_PROCESS_AUTH_USER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_PROCESS_AUTH_USER
.| Name | Type | Data Type | Description | Default Value |
| ACTIVITY | Importing | TYPE ASR_ACTIVITY | Activities - 'S', 'D', 'R', 'X' | |
| APPLICATION | Importing | TYPE ASR_APPLICATION | Application Type Representing the Object Type | |
| MESSAGE_HANDLER | Importing | TYPE REF TO IF_HRBAS_MESSAGE_HANDLER | HR-PD Infotypes: Messages | |
| OBJECT_KEY | Importing | TYPE ASR_OBJECT_KEY | Object Key | |
| OBJECT_TYPE | Importing | TYPE ASR_OTYPE | Object Type | |
| PROCESS_GUID | Importing | TYPE ASR_GUID | Process GUID | |
| PROCESS_NAME | Importing | TYPE ASR_PROCESS | Process | |
| IS_OK | Exporting | TYPE BOOLE_D | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| AUTHORIZEDUSERS | Changing | TYPE HRASR00AUTHORIZEDUSER_TAB | Authorized Users |
Exceptions of Method CHECK_PROCESS_AUTH_USER
This method does not have any exceptionsExample ABAP coding
DATA: lv_ACTIVITY TYPE ASR_ACTIVITY,
lv_APPLICATION TYPE ASR_APPLICATION,
lv_AUTHORIZEDUSERS TYPE HRASR00AUTHORIZEDUSER_TAB,
lv_IS_OK TYPE BOOLE_D,
lv_MESSAGE_HANDLER TYPE IF_HRBAS_MESSAGE_HANDLER,
lv_OBJECT_KEY TYPE ASR_OBJECT_KEY,
lv_OBJECT_TYPE TYPE ASR_OTYPE,
lv_PROCESS_GUID TYPE ASR_GUID,
lv_PROCESS_NAME TYPE ASR_PROCESS,
lv_other TYPE c.
CALL METHOD IF_HRASR00_POBJ_AUTH_CHECK=>CHECK_PROCESS_AUTH_USER(
EXPORTING
ACTIVITY = lv_ACTIVITY
APPLICATION = lv_APPLICATION
MESSAGE_HANDLER = lv_MESSAGE_HANDLER
OBJECT_KEY = lv_OBJECT_KEY
OBJECT_TYPE = lv_OBJECT_TYPE
PROCESS_GUID = lv_PROCESS_GUID
PROCESS_NAME = lv_PROCESS_NAME
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