SAP EHS00_LB20_PER_CHECK_AUTH Function Module for









EHS00_LB20_PER_CHECK_AUTH is a standard ehs00 lb20 per check auth SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ehs00 lb20 per check auth FM, simply by entering the name EHS00_LB20_PER_CHECK_AUTH into the relevant SAP transaction such as SE37 or SE38.

Function Group: EHS00_LB20
Program Name: SAPLEHS00_LB20
Main Program: SAPLEHS00_LB20
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EHS00_LB20_PER_CHECK_AUTH pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EHS00_LB20_PER_CHECK_AUTH'"
EXPORTING
I_ACTYPE = "
* I_READ_ORGDATA_FLG = FALSE "
* I_FLG_NO_AUTH_CHECK = TRUE "
* I_INTPERNR = "
* I_PERSON_ID = "
* I_PERSON_FLAG = "
* I_VDSK1 = "
* I_PERSA = "
* I_BTRTL = "
* I_GROUP = "
* I_SUBGROUP = "

EXCEPTIONS
NO_AUTHORITY = 1 PARAMETER_ERROR = 2
.



IMPORTING Parameters details for EHS00_LB20_PER_CHECK_AUTH

I_ACTYPE -

Data type: RCGDIALCTR-ACTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_READ_ORGDATA_FLG -

Data type: ESP1_BOOLEAN
Default: FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_NO_AUTH_CHECK -

Data type: ESP1_BOOLEAN
Default: TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INTPERNR -

Data type: T7EHS00_SERVICE-PERNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PERSON_ID -

Data type: EHS00_PERID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PERSON_FLAG -

Data type: EHS00_PERSFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VDSK1 -

Data type: VDSK1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PERSA -

Data type: PERSA
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BTRTL -

Data type: BTRTL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GROUP -

Data type: EHS00_GROUP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SUBGROUP -

Data type: EHS00_SUBGROUP
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PARAMETER_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EHS00_LB20_PER_CHECK_AUTH Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_actype  TYPE RCGDIALCTR-ACTYPE, "   
lv_no_authority  TYPE RCGDIALCTR, "   
lv_i_read_orgdata_flg  TYPE ESP1_BOOLEAN, "   FALSE
lv_i_flg_no_auth_check  TYPE ESP1_BOOLEAN, "   TRUE
lv_i_intpernr  TYPE T7EHS00_SERVICE-PERNR, "   
lv_parameter_error  TYPE T7EHS00_SERVICE, "   
lv_i_person_id  TYPE EHS00_PERID, "   
lv_i_person_flag  TYPE EHS00_PERSFLAG, "   
lv_i_vdsk1  TYPE VDSK1, "   
lv_i_persa  TYPE PERSA, "   
lv_i_btrtl  TYPE BTRTL, "   
lv_i_group  TYPE EHS00_GROUP, "   
lv_i_subgroup  TYPE EHS00_SUBGROUP. "   

  CALL FUNCTION 'EHS00_LB20_PER_CHECK_AUTH'  "
    EXPORTING
         I_ACTYPE = lv_i_actype
         I_READ_ORGDATA_FLG = lv_i_read_orgdata_flg
         I_FLG_NO_AUTH_CHECK = lv_i_flg_no_auth_check
         I_INTPERNR = lv_i_intpernr
         I_PERSON_ID = lv_i_person_id
         I_PERSON_FLAG = lv_i_person_flag
         I_VDSK1 = lv_i_vdsk1
         I_PERSA = lv_i_persa
         I_BTRTL = lv_i_btrtl
         I_GROUP = lv_i_group
         I_SUBGROUP = lv_i_subgroup
    EXCEPTIONS
        NO_AUTHORITY = 1
        PARAMETER_ERROR = 2
. " EHS00_LB20_PER_CHECK_AUTH




ABAP code using 7.40 inline data declarations to call FM EHS00_LB20_PER_CHECK_AUTH

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single ACTYPE FROM RCGDIALCTR INTO @DATA(ld_i_actype).
 
 
DATA(ld_i_read_orgdata_flg) = FALSE.
 
DATA(ld_i_flg_no_auth_check) = TRUE.
 
"SELECT single PERNR FROM T7EHS00_SERVICE INTO @DATA(ld_i_intpernr).
 
 
 
 
 
 
 
 
 


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!