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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
ACTIVITYImportingTYPE
ASR_ACTIVITY
Activities - 'S', 'D', 'R', 'X'
APPLICATIONImportingTYPE
ASR_APPLICATION
Application Type Representing the Object Type
MESSAGE_HANDLERImportingTYPE REF TO
IF_HRBAS_MESSAGE_HANDLER
HR-PD Infotypes: Messages
OBJECT_KEYImportingTYPE
ASR_OBJECT_KEY
Object Key
OBJECT_TYPEImportingTYPE
ASR_OTYPE
Object Type
PROCESS_GUIDImportingTYPE
ASR_GUID
Process GUID
PROCESS_NAMEImportingTYPE
ASR_PROCESS
Process
IS_OKExportingTYPE
BOOLE_D
Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
AUTHORIZEDUSERSChangingTYPE
HRASR00AUTHORIZEDUSER_TAB
Authorized Users



Exceptions of Method CHECK_PROCESS_AUTH_USER

This method does not have any exceptions

Example 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



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!