SAP EHSB_RC_27_SCREEN_OPEN Function Module for NOTRANSL: EHS: Öffnen Popup für Prüfaussagen
EHSB_RC_27_SCREEN_OPEN is a standard ehsb rc 27 screen open 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: Öffnen Popup für Prüfaussagen 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 rc 27 screen open FM, simply by entering the name EHSB_RC_27_SCREEN_OPEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHSB_RC27
Program Name: SAPLEHSB_RC27
Main Program: SAPLEHSB_RC27
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EHSB_RC_27_SCREEN_OPEN 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_RC_27_SCREEN_OPEN'"NOTRANSL: EHS: Öffnen Popup für Prüfaussagen.
EXPORTING
IV_SUBST_CC_INT = "Substance Checked for Constraints (Internal Display Format)
* IV_SUBST_CONST_EXT = "Substance with Constraint
* IV_COMP_TYPE = "Composition Type
* IV_CONST_TYPE = "Constraint Type
IV_FOREIGNKEY_PROP_VAL = "Artificial Foreign Key in Specification Tables for BAPIs
IMPORTING Parameters details for EHSB_RC_27_SCREEN_OPEN
IV_SUBST_CC_INT - Substance Checked for Constraints (Internal Display Format)
Data type: EHSBE_RC_SUBST_CC_INTOptional: No
Call by Reference: Yes
IV_SUBST_CONST_EXT - Substance with Constraint
Data type: EHSBE_RC_SUBST_CONST_EXTOptional: Yes
Call by Reference: Yes
IV_COMP_TYPE - Composition Type
Data type: EHSBE_RC_COMPTYPOptional: Yes
Call by Reference: Yes
IV_CONST_TYPE - Constraint Type
Data type: EHSBE_RC_CONSTTYPEOptional: Yes
Call by Reference: Yes
IV_FOREIGNKEY_PROP_VAL - Artificial Foreign Key in Specification Tables for BAPIs
Data type: ESEFKEYOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EHSB_RC_27_SCREEN_OPEN 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_iv_subst_cc_int | TYPE EHSBE_RC_SUBST_CC_INT, " | |||
| lv_iv_subst_const_ext | TYPE EHSBE_RC_SUBST_CONST_EXT, " | |||
| lv_iv_comp_type | TYPE EHSBE_RC_COMPTYP, " | |||
| lv_iv_const_type | TYPE EHSBE_RC_CONSTTYPE, " | |||
| lv_iv_foreignkey_prop_val | TYPE ESEFKEY. " |
|   CALL FUNCTION 'EHSB_RC_27_SCREEN_OPEN' "NOTRANSL: EHS: Öffnen Popup für Prüfaussagen |
| EXPORTING | ||
| IV_SUBST_CC_INT | = lv_iv_subst_cc_int | |
| IV_SUBST_CONST_EXT | = lv_iv_subst_const_ext | |
| IV_COMP_TYPE | = lv_iv_comp_type | |
| IV_CONST_TYPE | = lv_iv_const_type | |
| IV_FOREIGNKEY_PROP_VAL | = lv_iv_foreignkey_prop_val | |
| . " EHSB_RC_27_SCREEN_OPEN | ||
ABAP code using 7.40 inline data declarations to call FM EHSB_RC_27_SCREEN_OPEN
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