SAP DGEXH_LB01_EXC_DIALOG_CHECK Function Module for NOTRANSL: EHS-DG: Dialogprüfungen für Ausnahmen
DGEXH_LB01_EXC_DIALOG_CHECK is a standard dgexh lb01 exc dialog check 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-DG: Dialogprüfungen für Ausnahmen 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 dgexh lb01 exc dialog check FM, simply by entering the name DGEXH_LB01_EXC_DIALOG_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: DGEXH_LB01
Program Name: SAPLDGEXH_LB01
Main Program: SAPLDGEXH_LB01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DGEXH_LB01_EXC_DIALOG_CHECK 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 'DGEXH_LB01_EXC_DIALOG_CHECK'"NOTRANSL: EHS-DG: Dialogprüfungen für Ausnahmen.
EXPORTING
I_VALDAT = "Key Date
* I_MATNR = "Material Number
* I_NO_HAZ_MAT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DGNU = "Identification Number
* I_TKUI = "Identification Number Type
* I_PGRO = "Packing Group
I_LWDG = "Dangerous Goods Regulation
I_EXCEPTID01 = "Exception to Dangerous Goods Regulations
I_EXCEPTID02 = "Exception to Dangerous Goods Regulations
I_EXCEPTID03 = "Exception to Dangerous Goods Regulations
I_EXCEPTID04 = "Exception to Dangerous Goods Regulations
I_EXCEPTID05 = "Exception to Dangerous Goods Regulations
I_FLG_CALL_HEAD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_FLG_CALL_POS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for DGEXH_LB01_EXC_DIALOG_CHECK
I_VALDAT - Key Date
Data type: ESEDIAGVDOptional: No
Call by Reference: Yes
I_MATNR - Material Number
Data type: MATNROptional: Yes
Call by Reference: Yes
I_NO_HAZ_MAT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ESP1_BOOLEANOptional: Yes
Call by Reference: Yes
I_DGNU - Identification Number
Data type: THME_DGNUOptional: Yes
Call by Reference: Yes
I_TKUI - Identification Number Type
Data type: THME_TKUIOptional: Yes
Call by Reference: Yes
I_PGRO - Packing Group
Data type: THME_PGROOptional: Yes
Call by Reference: Yes
I_LWDG - Dangerous Goods Regulation
Data type: THME_LWDGOptional: No
Call by Reference: Yes
I_EXCEPTID01 - Exception to Dangerous Goods Regulations
Data type: ADGE_EXCEPTIDOptional: No
Call by Reference: Yes
I_EXCEPTID02 - Exception to Dangerous Goods Regulations
Data type: ADGE_EXCEPTIDOptional: No
Call by Reference: Yes
I_EXCEPTID03 - Exception to Dangerous Goods Regulations
Data type: ADGE_EXCEPTIDOptional: No
Call by Reference: Yes
I_EXCEPTID04 - Exception to Dangerous Goods Regulations
Data type: ADGE_EXCEPTIDOptional: No
Call by Reference: Yes
I_EXCEPTID05 - Exception to Dangerous Goods Regulations
Data type: ADGE_EXCEPTIDOptional: No
Call by Reference: Yes
I_FLG_CALL_HEAD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ESP1_BOOLEANOptional: No
Call by Reference: Yes
I_FLG_CALL_POS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ESP1_BOOLEANOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for DGEXH_LB01_EXC_DIALOG_CHECK 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_valdat | TYPE ESEDIAGVD, " | |||
| lv_i_matnr | TYPE MATNR, " | |||
| lv_i_no_haz_mat | TYPE ESP1_BOOLEAN, " | |||
| lv_i_dgnu | TYPE THME_DGNU, " | |||
| lv_i_tkui | TYPE THME_TKUI, " | |||
| lv_i_pgro | TYPE THME_PGRO, " | |||
| lv_i_lwdg | TYPE THME_LWDG, " | |||
| lv_i_exceptid01 | TYPE ADGE_EXCEPTID, " | |||
| lv_i_exceptid02 | TYPE ADGE_EXCEPTID, " | |||
| lv_i_exceptid03 | TYPE ADGE_EXCEPTID, " | |||
| lv_i_exceptid04 | TYPE ADGE_EXCEPTID, " | |||
| lv_i_exceptid05 | TYPE ADGE_EXCEPTID, " | |||
| lv_i_flg_call_head | TYPE ESP1_BOOLEAN, " | |||
| lv_i_flg_call_pos | TYPE ESP1_BOOLEAN. " |
|   CALL FUNCTION 'DGEXH_LB01_EXC_DIALOG_CHECK' "NOTRANSL: EHS-DG: Dialogprüfungen für Ausnahmen |
| EXPORTING | ||
| I_VALDAT | = lv_i_valdat | |
| I_MATNR | = lv_i_matnr | |
| I_NO_HAZ_MAT | = lv_i_no_haz_mat | |
| I_DGNU | = lv_i_dgnu | |
| I_TKUI | = lv_i_tkui | |
| I_PGRO | = lv_i_pgro | |
| I_LWDG | = lv_i_lwdg | |
| I_EXCEPTID01 | = lv_i_exceptid01 | |
| I_EXCEPTID02 | = lv_i_exceptid02 | |
| I_EXCEPTID03 | = lv_i_exceptid03 | |
| I_EXCEPTID04 | = lv_i_exceptid04 | |
| I_EXCEPTID05 | = lv_i_exceptid05 | |
| I_FLG_CALL_HEAD | = lv_i_flg_call_head | |
| I_FLG_CALL_POS | = lv_i_flg_call_pos | |
| . " DGEXH_LB01_EXC_DIALOG_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM DGEXH_LB01_EXC_DIALOG_CHECK
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