AUTH_CHECK_SHES_TRH SAP Method Add. Authorization Check for Authorization Object C_SHES_TRH









Below is documentation, parameters and attributes of ABAP Method AUTH_CHECK_SHES_TRH within SAP class IF_EX_BADI_EHSS_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_EX_BADI_EHSS_AUTH_CHECK 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 AUTH_CHECK_SHES_TRH can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method AUTH_CHECK_SHES_TRH

.

NameTypeData TypeDescriptionDefault Value
I_ACTVTImportingTYPE
ESP1_ACTVT_TYPE
SAP Activity
I_ACTYPEImportingTYPE
AKTYP
Activity
I_AUTHGRPImportingTYPE
ESEAUTHGRP
Authorization Group
I_AUTH_CHECKS_WITH_SUBCATImportingTYPE
ESEBOOLE
Authorization Groups with Specification Type Are Active
I_FLG_ACCEPT_EMPTY_AUTHGRPImportingTYPE
ESEBOOLE
= 'X': Empty Authorization Group Is Converted to DUMMY
I_FLG_DEL_SPECImportingTYPE
ESEBOOLE
Authorization Check 'Deletion of Specification' ('X' = Yes)
I_RECNTRHImportingTYPE
ESERECN
Sequence Number of Specification Header
I_SUBCATImportingTYPE
ESESUBCAT
Specification Type
X_FLG_AUTHChangingTYPE
ESEBOOLE
'X' = Authorization, ' ' = No Authorization



Exceptions of Method AUTH_CHECK_SHES_TRH

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_EHSS_AUTH_CHECK.
DATA: lv_I_ACTVT TYPE ESP1_ACTVT_TYPE,
lv_I_ACTYPE TYPE AKTYP,
lv_I_AUTHGRP TYPE ESEAUTHGRP,
lv_I_AUTH_CHECKS_WITH_SUBCAT TYPE ESEBOOLE,
lv_I_FLG_ACCEPT_EMPTY_AUTHGRP TYPE ESEBOOLE,
lv_I_FLG_DEL_SPEC TYPE ESEBOOLE,
lv_I_RECNTRH TYPE ESERECN,
lv_I_SUBCAT TYPE ESESUBCAT,
lv_X_FLG_AUTH TYPE ESEBOOLE,
lv_other TYPE c.

CALL METHOD lo_class=>AUTH_CHECK_SHES_TRH(
EXPORTING
I_ACTVT = lv_I_ACTVT
I_ACTYPE = lv_I_ACTYPE
I_AUTHGRP = lv_I_AUTHGRP
I_AUTH_CHECKS_WITH_SUBCAT = lv_I_AUTH_CHECKS_WITH_SUBCAT
I_FLG_ACCEPT_EMPTY_AUTHGRP = lv_I_FLG_ACCEPT_EMPTY_AUTHGRP
I_FLG_DEL_SPEC = lv_I_FLG_DEL_SPEC
I_RECNTRH = lv_I_RECNTRH
I_SUBCAT = lv_I_SUBCAT
CHANGING
X_FLG_AUTH = lv_X_FLG_AUTH ).

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



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!