SAP LE_DSP_DIALOG Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION
LE_DSP_DIALOG is a standard le dsp dialog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION 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 le dsp dialog FM, simply by entering the name LE_DSP_DIALOG into the relevant SAP transaction such as SE37 or SE38.
Function Group: V53SD
Program Name: SAPLV53SD
Main Program: SAPLV53SD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LE_DSP_DIALOG 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 'LE_DSP_DIALOG'"DE-EN-LANG-SWITCH-NO-TRANSLATION.
EXPORTING
* IT_VTRLK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_VTRLP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_LIPOV = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_HU = "Key for Reading a Handling Unit (Internally or Externally)
* IS_SPLIT_BOUNDARY_FIRST = "Upper Limit for Subsequent Delivery Split
* IS_SPLIT_BOUNDARY = "Upper Limit for Subsequent Delivery Split
* IT_TKNUM = "Table of Shipments to be Updated by Initiator
* IT_LOCKED_VPOBJ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IS_DIA_PARAM = "Subsequent Delivery Split: Dialog Control Parameters
IMPORTING
ET_VTRLK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_VTRLP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_LIPOV = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_SHPMT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CHANGING
CS_DIALOG_MEMORY = "Delivery Split Dialog: Transaction Memory
CS_SPLIT_WA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
PARAMETER_ERROR = 1 INTERNAL_ERROR = 2 INIT_ERROR = 3
IMPORTING Parameters details for LE_DSP_DIALOG
IT_VTRLK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_VTRLKOptional: Yes
Call by Reference: Yes
IT_VTRLP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_VTRLPOptional: Yes
Call by Reference: Yes
IT_LIPOV - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_LIPOVOptional: Yes
Call by Reference: Yes
IT_HU - Key for Reading a Handling Unit (Internally or Externally)
Data type: HUM_HUKEY_TOptional: Yes
Call by Reference: Yes
IS_SPLIT_BOUNDARY_FIRST - Upper Limit for Subsequent Delivery Split
Data type: LEDSPD_BOUNDARYOptional: Yes
Call by Reference: Yes
IS_SPLIT_BOUNDARY - Upper Limit for Subsequent Delivery Split
Data type: LEDSPD_BOUNDARYOptional: Yes
Call by Reference: Yes
IT_TKNUM - Table of Shipments to be Updated by Initiator
Data type: LEDSPD_T_CALL_TKNUMOptional: Yes
Call by Reference: Yes
IT_LOCKED_VPOBJ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_LC_ALLOptional: Yes
Call by Reference: Yes
IS_DIA_PARAM - Subsequent Delivery Split: Dialog Control Parameters
Data type: LEDSPD_DIA_PARAMOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LE_DSP_DIALOG
ET_VTRLK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_VTRLKOptional: No
Call by Reference: Yes
ET_VTRLP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_VTRLPOptional: No
Call by Reference: Yes
ET_LIPOV - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_T_LIPOVOptional: No
Call by Reference: Yes
ET_SHPMT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_SHPMTOptional: No
Call by Reference: Yes
CHANGING Parameters details for LE_DSP_DIALOG
CS_DIALOG_MEMORY - Delivery Split Dialog: Transaction Memory
Data type: LEDSPD_DIALOG_MEMORYOptional: No
Call by Reference: Yes
CS_SPLIT_WA - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LEDSP_ALLOptional: No
Call by Reference: Yes
EXCEPTIONS details
PARAMETER_ERROR - Parameter missing
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INIT_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LE_DSP_DIALOG 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_vtrlk | TYPE LEDSP_T_VTRLK, " | |||
| lv_it_vtrlk | TYPE LEDSP_T_VTRLK, " | |||
| lv_parameter_error | TYPE LEDSP_T_VTRLK, " | |||
| lv_cs_dialog_memory | TYPE LEDSPD_DIALOG_MEMORY, " | |||
| lv_et_vtrlp | TYPE LEDSP_T_VTRLP, " | |||
| lv_it_vtrlp | TYPE LEDSP_T_VTRLP, " | |||
| lv_cs_split_wa | TYPE LEDSP_ALL, " | |||
| lv_internal_error | TYPE LEDSP_ALL, " | |||
| lv_et_lipov | TYPE LEDSP_T_LIPOV, " | |||
| lv_it_lipov | TYPE LEDSP_T_LIPOV, " | |||
| lv_init_error | TYPE LEDSP_T_LIPOV, " | |||
| lv_it_hu | TYPE HUM_HUKEY_T, " | |||
| lv_et_shpmt | TYPE LEDSP_SHPMT, " | |||
| lv_is_split_boundary_first | TYPE LEDSPD_BOUNDARY, " | |||
| lv_is_split_boundary | TYPE LEDSPD_BOUNDARY, " | |||
| lv_it_tknum | TYPE LEDSPD_T_CALL_TKNUM, " | |||
| lv_it_locked_vpobj | TYPE LEDSP_T_LC_ALL, " | |||
| lv_is_dia_param | TYPE LEDSPD_DIA_PARAM. " |
|   CALL FUNCTION 'LE_DSP_DIALOG' "DE-EN-LANG-SWITCH-NO-TRANSLATION |
| EXPORTING | ||
| IT_VTRLK | = lv_it_vtrlk | |
| IT_VTRLP | = lv_it_vtrlp | |
| IT_LIPOV | = lv_it_lipov | |
| IT_HU | = lv_it_hu | |
| IS_SPLIT_BOUNDARY_FIRST | = lv_is_split_boundary_first | |
| IS_SPLIT_BOUNDARY | = lv_is_split_boundary | |
| IT_TKNUM | = lv_it_tknum | |
| IT_LOCKED_VPOBJ | = lv_it_locked_vpobj | |
| IS_DIA_PARAM | = lv_is_dia_param | |
| IMPORTING | ||
| ET_VTRLK | = lv_et_vtrlk | |
| ET_VTRLP | = lv_et_vtrlp | |
| ET_LIPOV | = lv_et_lipov | |
| ET_SHPMT | = lv_et_shpmt | |
| CHANGING | ||
| CS_DIALOG_MEMORY | = lv_cs_dialog_memory | |
| CS_SPLIT_WA | = lv_cs_split_wa | |
| EXCEPTIONS | ||
| PARAMETER_ERROR = 1 | ||
| INTERNAL_ERROR = 2 | ||
| INIT_ERROR = 3 | ||
| . " LE_DSP_DIALOG | ||
ABAP code using 7.40 inline data declarations to call FM LE_DSP_DIALOG
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