AUTH_CHECK_SHES_TST SAP Method Add. Authorization Check for Authorization Object C_SHES_TST









Below is documentation, parameters and attributes of ABAP Method AUTH_CHECK_SHES_TST 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_TST can also be found below:

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


Parameters of Method AUTH_CHECK_SHES_TST

.

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_RECNTRHImportingTYPE
ESERECN
Sequence Number of Specification Header
I_RVLIDImportingTYPE
ESERVLID
Validity Area
I_SUBCATImportingTYPE
ESESUBCAT
Specification Type
I_SUBSTATImportingTYPE
EHSBE_STATUS
Status
I_SUBSTAT_SUCCImportingTYPE
EHSBE_STATUS
Next Status
I_VACLIDImportingTYPE
ESEVACLID
Classification
X_FLG_AUTHChangingTYPE
ESEBOOLE
'X' = Authorization, ' ' = No Authorization



Exceptions of Method AUTH_CHECK_SHES_TST

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_RECNTRH TYPE ESERECN,
lv_I_RVLID TYPE ESERVLID,
lv_I_SUBCAT TYPE ESESUBCAT,
lv_I_SUBSTAT TYPE EHSBE_STATUS,
lv_I_SUBSTAT_SUCC TYPE EHSBE_STATUS,
lv_I_VACLID TYPE ESEVACLID,
lv_X_FLG_AUTH TYPE ESEBOOLE,
lv_other TYPE c.

CALL METHOD lo_class=>AUTH_CHECK_SHES_TST(
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_RECNTRH = lv_I_RECNTRH
I_RVLID = lv_I_RVLID
I_SUBCAT = lv_I_SUBCAT
I_SUBSTAT = lv_I_SUBSTAT
I_SUBSTAT_SUCC = lv_I_SUBSTAT_SUCC
I_VACLID = lv_I_VACLID
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!