SAP EXIT_SAPLLMDE_005 Function Module for Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR)









EXIT_SAPLLMDE_005 is a standard exit sapllmde 005 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR) 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 exit sapllmde 005 FM, simply by entering the name EXIT_SAPLLMDE_005 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XLID
Program Name: SAPLXLID
Main Program:
Appliation area: L
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLLMDE_005 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 'EXIT_SAPLLMDE_005'"Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR)
EXPORTING
I_IDOC_CONTROL = "Control Record of Received IDOCs
X_SOLEX = "
X_PERNR = "
X_NOSPL = "
X_AUSFB = "
X_LGNUM = "Warehouse Number
X_BWLVS = "WMS Movement Type
X_BETYP = "Requirement Type
X_BENUM = "Requirement Tracking Number
X_LZNUM = "Additional Reference Number for Transport
X_NIDRU = "
X_DRUKZ = "Print Code
X_BNAME = "

IMPORTING
X_LGNUM = "Warehouse Number
X_PERNR = "
X_NOSPL = "
X_AUSFB = "
X_BWLVS = "WMS Movement Type
X_BETYP = "Requirement Type
X_BENUM = "Requirement Tracking Number
X_LZNUM = "Additional Reference Number for Transport
X_NIDRU = "
X_DRUKZ = "Print Code
X_BNAME = "
X_SOLEX = "

CHANGING
* C_KOMPL = "

TABLES
T_IDOC_DATA = "Data Records of Received IDOCs
T_LTORI = "
.



Related IDocs

Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.
L_IDOC_INPUT_WMINFO - SAP IDoc WMINID01
L_IDOC_INPUT_WMINVE - SAP IDoc WMIVID01
L_IDOC_INPUT_WMMBXY - SAP IDoc WMMBID01
L_IDOC_INPUT_WMMBXY - SAP IDoc WMMBID02
L_IDOC_INPUT_WMTORD - SAP IDoc /CWM/WMTOID02
L_IDOC_INPUT_WMTORD - SAP IDoc WMTOID01
L_IDOC_INPUT_WMTORD_MULTIPLE - SAP IDoc WMTOID01

Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
LTESTER_IDOC_PROCESS NOTRANSL: Test-FB, der per aRFC ankommende Sätze nur rausschreibt.
L_BLOCK_AISLE NOTRANSL: Gang durch automatische Lagersteuerung sperren
L_INV_COUNT NOTRANSL: Erfassung von Zähldaten zur Inventur (auch für Fremdsystem-Schni

IMPORTING Parameters details for EXIT_SAPLLMDE_005

I_IDOC_CONTROL - Control Record of Received IDOCs

Data type: EDIDC
Optional: No
Call by Reference: No ( called with pass by value option)

X_SOLEX -

Data type: LTAK-SOLEX
Optional: No
Call by Reference: No ( called with pass by value option)

X_PERNR -

Data type: LTAK-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

X_NOSPL -

Data type: RL03A-NOSPL
Optional: No
Call by Reference: No ( called with pass by value option)

X_AUSFB -

Data type: LTAK-AUSFB
Optional: No
Call by Reference: No ( called with pass by value option)

X_LGNUM - Warehouse Number

Data type: LTAK-LGNUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_BWLVS - WMS Movement Type

Data type: LTAK-BWLVS
Optional: No
Call by Reference: No ( called with pass by value option)

X_BETYP - Requirement Type

Data type: LTAK-BETYP
Optional: No
Call by Reference: No ( called with pass by value option)

X_BENUM - Requirement Tracking Number

Data type: LTAK-BENUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_LZNUM - Additional Reference Number for Transport

Data type: LTAK-LZNUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_NIDRU -

Data type: RL03A-NIDRU
Optional: No
Call by Reference: No ( called with pass by value option)

X_DRUKZ - Print Code

Data type: LTAK-DRUKZ
Optional: No
Call by Reference: No ( called with pass by value option)

X_BNAME -

Data type: LTAK-BNAME
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EXIT_SAPLLMDE_005

X_LGNUM - Warehouse Number

Data type: LTAK-LGNUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_PERNR -

Data type: LTAK-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

X_NOSPL -

Data type: RL03A-NOSPL
Optional: No
Call by Reference: No ( called with pass by value option)

X_AUSFB -

Data type: LTAK-AUSFB
Optional: No
Call by Reference: No ( called with pass by value option)

X_BWLVS - WMS Movement Type

Data type: LTAK-BWLVS
Optional: No
Call by Reference: No ( called with pass by value option)

X_BETYP - Requirement Type

Data type: LTAK-BETYP
Optional: No
Call by Reference: No ( called with pass by value option)

X_BENUM - Requirement Tracking Number

Data type: LTAK-BENUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_LZNUM - Additional Reference Number for Transport

Data type: LTAK-LZNUM
Optional: No
Call by Reference: No ( called with pass by value option)

X_NIDRU -

Data type: RL03A-NIDRU
Optional: No
Call by Reference: No ( called with pass by value option)

X_DRUKZ - Print Code

Data type: LTAK-DRUKZ
Optional: No
Call by Reference: No ( called with pass by value option)

X_BNAME -

Data type: LTAK-BNAME
Optional: No
Call by Reference: No ( called with pass by value option)

X_SOLEX -

Data type: LTAK-SOLEX
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for EXIT_SAPLLMDE_005

C_KOMPL -

Data type: RL03B-KOMPL
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for EXIT_SAPLLMDE_005

T_IDOC_DATA - Data Records of Received IDOCs

Data type: EDIDD
Optional: No
Call by Reference: No ( called with pass by value option)

T_LTORI -

Data type: LTAP_CREAT
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_SAPLLMDE_005 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_c_kompl  TYPE RL03B-KOMPL, "   
lv_x_lgnum  TYPE LTAK-LGNUM, "   
lt_t_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lv_i_idoc_control  TYPE EDIDC, "   
lv_x_pernr  TYPE LTAK-PERNR, "   
lv_x_solex  TYPE LTAK-SOLEX, "   
lv_x_nospl  TYPE RL03A-NOSPL, "   
lv_x_pernr  TYPE LTAK-PERNR, "   
lv_x_ausfb  TYPE LTAK-AUSFB, "   
lv_x_nospl  TYPE RL03A-NOSPL, "   
lv_x_ausfb  TYPE LTAK-AUSFB, "   
lt_t_ltori  TYPE STANDARD TABLE OF LTAP_CREAT, "   
lv_x_bwlvs  TYPE LTAK-BWLVS, "   
lv_x_lgnum  TYPE LTAK-LGNUM, "   
lv_x_betyp  TYPE LTAK-BETYP, "   
lv_x_bwlvs  TYPE LTAK-BWLVS, "   
lv_x_benum  TYPE LTAK-BENUM, "   
lv_x_betyp  TYPE LTAK-BETYP, "   
lv_x_benum  TYPE LTAK-BENUM, "   
lv_x_lznum  TYPE LTAK-LZNUM, "   
lv_x_lznum  TYPE LTAK-LZNUM, "   
lv_x_nidru  TYPE RL03A-NIDRU, "   
lv_x_drukz  TYPE LTAK-DRUKZ, "   
lv_x_nidru  TYPE RL03A-NIDRU, "   
lv_x_bname  TYPE LTAK-BNAME, "   
lv_x_drukz  TYPE LTAK-DRUKZ, "   
lv_x_bname  TYPE LTAK-BNAME, "   
lv_x_solex  TYPE LTAK-SOLEX. "   

  CALL FUNCTION 'EXIT_SAPLLMDE_005'  "Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR)
    EXPORTING
         I_IDOC_CONTROL = lv_i_idoc_control
         X_SOLEX = lv_x_solex
         X_PERNR = lv_x_pernr
         X_NOSPL = lv_x_nospl
         X_AUSFB = lv_x_ausfb
         X_LGNUM = lv_x_lgnum
         X_BWLVS = lv_x_bwlvs
         X_BETYP = lv_x_betyp
         X_BENUM = lv_x_benum
         X_LZNUM = lv_x_lznum
         X_NIDRU = lv_x_nidru
         X_DRUKZ = lv_x_drukz
         X_BNAME = lv_x_bname
    IMPORTING
         X_LGNUM = lv_x_lgnum
         X_PERNR = lv_x_pernr
         X_NOSPL = lv_x_nospl
         X_AUSFB = lv_x_ausfb
         X_BWLVS = lv_x_bwlvs
         X_BETYP = lv_x_betyp
         X_BENUM = lv_x_benum
         X_LZNUM = lv_x_lznum
         X_NIDRU = lv_x_nidru
         X_DRUKZ = lv_x_drukz
         X_BNAME = lv_x_bname
         X_SOLEX = lv_x_solex
    CHANGING
         C_KOMPL = lv_c_kompl
    TABLES
         T_IDOC_DATA = lt_t_idoc_data
         T_LTORI = lt_t_ltori
. " EXIT_SAPLLMDE_005




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLLMDE_005

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 KOMPL FROM RL03B INTO @DATA(ld_c_kompl).
 
"SELECT single LGNUM FROM LTAK INTO @DATA(ld_x_lgnum).
 
 
 
"SELECT single PERNR FROM LTAK INTO @DATA(ld_x_pernr).
 
"SELECT single SOLEX FROM LTAK INTO @DATA(ld_x_solex).
 
"SELECT single NOSPL FROM RL03A INTO @DATA(ld_x_nospl).
 
"SELECT single PERNR FROM LTAK INTO @DATA(ld_x_pernr).
 
"SELECT single AUSFB FROM LTAK INTO @DATA(ld_x_ausfb).
 
"SELECT single NOSPL FROM RL03A INTO @DATA(ld_x_nospl).
 
"SELECT single AUSFB FROM LTAK INTO @DATA(ld_x_ausfb).
 
 
"SELECT single BWLVS FROM LTAK INTO @DATA(ld_x_bwlvs).
 
"SELECT single LGNUM FROM LTAK INTO @DATA(ld_x_lgnum).
 
"SELECT single BETYP FROM LTAK INTO @DATA(ld_x_betyp).
 
"SELECT single BWLVS FROM LTAK INTO @DATA(ld_x_bwlvs).
 
"SELECT single BENUM FROM LTAK INTO @DATA(ld_x_benum).
 
"SELECT single BETYP FROM LTAK INTO @DATA(ld_x_betyp).
 
"SELECT single BENUM FROM LTAK INTO @DATA(ld_x_benum).
 
"SELECT single LZNUM FROM LTAK INTO @DATA(ld_x_lznum).
 
"SELECT single LZNUM FROM LTAK INTO @DATA(ld_x_lznum).
 
"SELECT single NIDRU FROM RL03A INTO @DATA(ld_x_nidru).
 
"SELECT single DRUKZ FROM LTAK INTO @DATA(ld_x_drukz).
 
"SELECT single NIDRU FROM RL03A INTO @DATA(ld_x_nidru).
 
"SELECT single BNAME FROM LTAK INTO @DATA(ld_x_bname).
 
"SELECT single DRUKZ FROM LTAK INTO @DATA(ld_x_drukz).
 
"SELECT single BNAME FROM LTAK INTO @DATA(ld_x_bname).
 
"SELECT single SOLEX FROM LTAK INTO @DATA(ld_x_solex).
 

See full list of SAP IDocs

See full list of SAP Function Modules



Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!