SAP EHSB_RC01_CMPLCHK_ENTRY Function Module for NOTRANSL: EHS: Einstieg in Vorgabenprüfung
EHSB_RC01_CMPLCHK_ENTRY is a standard ehsb rc01 cmplchk entry SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: Einstieg in Vorgabenprüfung processing and below is the pattern details for this FM, 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 ehsb rc01 cmplchk entry FM, simply by entering the name EHSB_RC01_CMPLCHK_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHSB_RC01
Program Name: SAPLEHSB_RC01
Main Program: SAPLEHSB_RC01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EHSB_RC01_CMPLCHK_ENTRY 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 'EHSB_RC01_CMPLCHK_ENTRY'"NOTRANSL: EHS: Einstieg in Vorgabenprüfung.
EXPORTING
IV_KEYDATE = "Key Date
* IV_CHANGE_NUMBER_FOR_RESULT = "Change Number
IT_LEADING_OBJECT = "Leading Object (Including Additional Information)
* IT_PARAM_TAB = "EHS: Parameter Table for Calling EH&S Expert
IMPORTING
ET_ERROR = "
IMPORTING Parameters details for EHSB_RC01_CMPLCHK_ENTRY
IV_KEYDATE - Key Date
Data type: EHSBE_RC_KEYDATEOptional: No
Call by Reference: Yes
IV_CHANGE_NUMBER_FOR_RESULT - Change Number
Data type: AENNROptional: Yes
Call by Reference: Yes
IT_LEADING_OBJECT - Leading Object (Including Additional Information)
Data type: EHSB_TS_RC_LEADING_OBJECTOptional: No
Call by Reference: Yes
IT_PARAM_TAB - EHS: Parameter Table for Calling EH&S Expert
Data type: EHSB_TS_RC_PARAM_TABOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for EHSB_RC01_CMPLCHK_ENTRY
ET_ERROR -
Data type: ESPAP_EXTERROR_TAB_TYPEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EHSB_RC01_CMPLCHK_ENTRY 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_et_error | TYPE ESPAP_EXTERROR_TAB_TYPE, " | |||
| lv_iv_keydate | TYPE EHSBE_RC_KEYDATE, " | |||
| lv_iv_change_number_for_result | TYPE AENNR, " | |||
| lv_it_leading_object | TYPE EHSB_TS_RC_LEADING_OBJECT, " | |||
| lv_it_param_tab | TYPE EHSB_TS_RC_PARAM_TAB. " |
|   CALL FUNCTION 'EHSB_RC01_CMPLCHK_ENTRY' "NOTRANSL: EHS: Einstieg in Vorgabenprüfung |
| EXPORTING | ||
| IV_KEYDATE | = lv_iv_keydate | |
| IV_CHANGE_NUMBER_FOR_RESULT | = lv_iv_change_number_for_result | |
| IT_LEADING_OBJECT | = lv_it_leading_object | |
| IT_PARAM_TAB | = lv_it_param_tab | |
| IMPORTING | ||
| ET_ERROR | = lv_et_error | |
| . " EHSB_RC01_CMPLCHK_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM EHSB_RC01_CMPLCHK_ENTRY
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.Search for further information about these or an SAP related objects