SAP EHS00_LB20_POH_CHECK_AUTH Function Module for
EHS00_LB20_POH_CHECK_AUTH is a standard ehs00 lb20 poh 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 poh check auth FM, simply by entering the name EHS00_LB20_POH_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_POH_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_POH_CHECK_AUTH'".
EXPORTING
I_ACTYPE = "
I_OBJECT = "
* I_HEALTHCENTRE = "
* I_READ_HEACENT_FLG = ESP1_FALSE "
* I_READ_HEACENT_FROM = "
* I_INTPERNR = "
* I_SRVNUMBER = "
* I_HEACENT_DUMMY_FLG = ESP1_FALSE "
* I_ACTVT = "
EXCEPTIONS
NO_AUTHORITY = 1 PARAMETER_ERROR = 2
IMPORTING Parameters details for EHS00_LB20_POH_CHECK_AUTH
I_ACTYPE -
Data type: RCGDIALCTR-ACTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJECT -
Data type: EHS00_OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
I_HEALTHCENTRE -
Data type: EHS00_HEALTHCENTREOptional: Yes
Call by Reference: No ( called with pass by value option)
I_READ_HEACENT_FLG -
Data type: ESP1_BOOLEANDefault: ESP1_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_READ_HEACENT_FROM -
Data type: EHS00_HC_FROMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_INTPERNR -
Data type: EHS00_PERNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_SRVNUMBER -
Data type: EHS00_SRVNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_HEACENT_DUMMY_FLG -
Data type: ESP1_BOOLEANDefault: ESP1_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTVT -
Data type: ESP1_ACTVT_TYPEOptional: 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_POH_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_object | TYPE EHS00_OBJECT, " | |||
lv_parameter_error | TYPE EHS00_OBJECT, " | |||
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_intpernr | TYPE EHS00_PERNR, " | |||
lv_i_srvnumber | TYPE EHS00_SRVNUMBER, " | |||
lv_i_heacent_dummy_flg | TYPE ESP1_BOOLEAN, " ESP1_FALSE | |||
lv_i_actvt | TYPE ESP1_ACTVT_TYPE. " |
  CALL FUNCTION 'EHS00_LB20_POH_CHECK_AUTH' " |
EXPORTING | ||
I_ACTYPE | = lv_i_actype | |
I_OBJECT | = lv_i_object | |
I_HEALTHCENTRE | = lv_i_healthcentre | |
I_READ_HEACENT_FLG | = lv_i_read_heacent_flg | |
I_READ_HEACENT_FROM | = lv_i_read_heacent_from | |
I_INTPERNR | = lv_i_intpernr | |
I_SRVNUMBER | = lv_i_srvnumber | |
I_HEACENT_DUMMY_FLG | = lv_i_heacent_dummy_flg | |
I_ACTVT | = lv_i_actvt | |
EXCEPTIONS | ||
NO_AUTHORITY = 1 | ||
PARAMETER_ERROR = 2 | ||
. " EHS00_LB20_POH_CHECK_AUTH |
ABAP code using 7.40 inline data declarations to call FM EHS00_LB20_POH_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_heacent_flg) | = ESP1_FALSE. | |||
DATA(ld_i_heacent_dummy_flg) | = ESP1_FALSE. | |||
Search for further information about these or an SAP related objects