SAP EHS00_LB20_PERS_OBJ_CHECK_AUTH Function Module for









EHS00_LB20_PERS_OBJ_CHECK_AUTH is a standard ehs00 lb20 pers obj 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 pers obj check auth FM, simply by entering the name EHS00_LB20_PERS_OBJ_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:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EHS00_LB20_PERS_OBJ_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_PERS_OBJ_CHECK_AUTH'"
EXPORTING
I_ACTYPE_PER = "
* I_BTRTL = "
* I_GROUP = "
* I_SUBGROUP = "
* I_READ_ORGDATA_FLG = ESP1_FALSE "
* I_HEALTHCENTRE = "
* I_READ_HEACENT_FLG = ESP1_FALSE "
* I_READ_HEACENT_FROM = "
* I_SRVNUMBER = "
* I_HEACENT_DUMMY_FLG = ESP1_FALSE "
I_ACTYPE_OBJ = "
* I_ACTVT_OBJ = "
I_OBJECT = "
* I_INTPERNR = "
* I_PERSON_ID = "
* I_PERSON_FLAG = "
* I_VDSK1 = "
* I_PERSA = "

EXCEPTIONS
NO_AUTHORITY = 1 PARAMETER_ERROR = 2
.



IMPORTING Parameters details for EHS00_LB20_PERS_OBJ_CHECK_AUTH

I_ACTYPE_PER -

Data type: RCGDIALCTR-ACTYPE
Optional: No
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)

I_READ_ORGDATA_FLG -

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

I_HEALTHCENTRE -

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

I_READ_HEACENT_FLG -

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

I_READ_HEACENT_FROM -

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

I_SRVNUMBER -

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

I_HEACENT_DUMMY_FLG -

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

I_ACTYPE_OBJ -

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

I_ACTVT_OBJ -

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

I_OBJECT -

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

I_INTPERNR -

Data type: EHS00_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)

EXCEPTIONS details

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

PARAMETER_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EHS00_LB20_PERS_OBJ_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_per  TYPE RCGDIALCTR-ACTYPE, "   
lv_no_authority  TYPE RCGDIALCTR, "   
lv_i_btrtl  TYPE BTRTL, "   
lv_i_group  TYPE EHS00_GROUP, "   
lv_i_subgroup  TYPE EHS00_SUBGROUP, "   
lv_i_read_orgdata_flg  TYPE ESP1_BOOLEAN, "   ESP1_FALSE
lv_i_healthcentre  TYPE EHS00_HEALTHCENTRE, "   
lv_i_read_heacent_flg  TYPE ESP1_BOOLEAN, "   ESP1_FALSE
lv_i_read_heacent_from  TYPE EHS00_HC_FROM, "   
lv_i_srvnumber  TYPE EHS00_SRVNUMBER, "   
lv_i_heacent_dummy_flg  TYPE ESP1_BOOLEAN, "   ESP1_FALSE
lv_i_actype_obj  TYPE RCGDIALCTR-ACTYPE, "   
lv_parameter_error  TYPE RCGDIALCTR, "   
lv_i_actvt_obj  TYPE ESP1_ACTVT_TYPE, "   
lv_i_object  TYPE EHS00_OBJECT, "   
lv_i_intpernr  TYPE EHS00_PERNR, "   
lv_i_person_id  TYPE EHS00_PERID, "   
lv_i_person_flag  TYPE EHS00_PERSFLAG, "   
lv_i_vdsk1  TYPE VDSK1, "   
lv_i_persa  TYPE PERSA. "   

  CALL FUNCTION 'EHS00_LB20_PERS_OBJ_CHECK_AUTH'  "
    EXPORTING
         I_ACTYPE_PER = lv_i_actype_per
         I_BTRTL = lv_i_btrtl
         I_GROUP = lv_i_group
         I_SUBGROUP = lv_i_subgroup
         I_READ_ORGDATA_FLG = lv_i_read_orgdata_flg
         I_HEALTHCENTRE = lv_i_healthcentre
         I_READ_HEACENT_FLG = lv_i_read_heacent_flg
         I_READ_HEACENT_FROM = lv_i_read_heacent_from
         I_SRVNUMBER = lv_i_srvnumber
         I_HEACENT_DUMMY_FLG = lv_i_heacent_dummy_flg
         I_ACTYPE_OBJ = lv_i_actype_obj
         I_ACTVT_OBJ = lv_i_actvt_obj
         I_OBJECT = lv_i_object
         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
    EXCEPTIONS
        NO_AUTHORITY = 1
        PARAMETER_ERROR = 2
. " EHS00_LB20_PERS_OBJ_CHECK_AUTH




ABAP code using 7.40 inline data declarations to call FM EHS00_LB20_PERS_OBJ_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_per).
 
 
 
 
 
DATA(ld_i_read_orgdata_flg) = ESP1_FALSE.
 
 
DATA(ld_i_read_heacent_flg) = ESP1_FALSE.
 
 
 
DATA(ld_i_heacent_dummy_flg) = ESP1_FALSE.
 
"SELECT single ACTYPE FROM RCGDIALCTR INTO @DATA(ld_i_actype_obj).
 
 
 
 
 
 
 
 
 


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!