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









EXIT_SAPLLMDE_004 is a standard exit sapllmde 004 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 004 FM, simply by entering the name EXIT_SAPLLMDE_004 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_004 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_004'"Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR)
EXPORTING
I_IDOC_CONTROL = "Control Record of Received IDOCs
X_PERNR = "
X_NO_PRINT = "Do Not Print
X_LTAP_CR = "Transfer Order Item Data
X_AUSFB = "
I_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_CUSER = "User Name for Transfer Order Creation
X_DRUKZ = "Print Code
X_SOLEX = "

IMPORTING
X_BWLVS = "WMS Movement Type
X_LTAP_CR = "Transfer Order Item Data
X_AUSFB = "
X_BETYP = "Requirement Type
X_BENUM = "Requirement Tracking Number
X_LZNUM = "Additional Reference Number for Transport
X_CUSER = "User Name for Transfer Order Creation
X_SOLEX = "
X_PERNR = "
X_DRUKZ = "Print Code
X_NO_PRINT = "Do Not Print

CHANGING
* C_KOMPL = "

TABLES
T_IDOC_DATA = "Data Records of Received IDOCs
.



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_004

I_IDOC_CONTROL - Control Record of Received IDOCs

Data type: EDIDC
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_NO_PRINT - Do Not Print

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

X_LTAP_CR - Transfer Order Item Data

Data type: LTAP_CR
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)

I_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_CUSER - User Name for Transfer Order Creation

Data type: LTAK-BNAME
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_SOLEX -

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

EXPORTING Parameters details for EXIT_SAPLLMDE_004

X_BWLVS - WMS Movement Type

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

X_LTAP_CR - Transfer Order Item Data

Data type: LTAP_CR
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_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_CUSER - User Name for Transfer Order Creation

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)

X_PERNR -

Data type: LTAK-PERNR
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_NO_PRINT - Do Not Print

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

CHANGING Parameters details for EXIT_SAPLLMDE_004

C_KOMPL -

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

TABLES Parameters details for EXIT_SAPLLMDE_004

T_IDOC_DATA - Data Records of Received IDOCs

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

Copy and paste ABAP code example for EXIT_SAPLLMDE_004 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_bwlvs  TYPE LTAK-BWLVS, "   
lt_t_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lv_i_idoc_control  TYPE EDIDC, "   
lv_x_pernr  TYPE LTAK-PERNR, "   
lv_x_ltap_cr  TYPE LTAP_CR, "   
lv_x_ausfb  TYPE LTAK-AUSFB, "   
lv_x_no_print  TYPE RL03A-NIDRU, "   
lv_x_ltap_cr  TYPE LTAP_CR, "   
lv_x_ausfb  TYPE LTAK-AUSFB, "   
lv_i_lgnum  TYPE LTAK-LGNUM, "   
lv_x_betyp  TYPE LTAK-BETYP, "   
lv_x_benum  TYPE LTAK-BENUM, "   
lv_x_bwlvs  TYPE LTAK-BWLVS, "   
lv_x_betyp  TYPE LTAK-BETYP, "   
lv_x_lznum  TYPE LTAK-LZNUM, "   
lv_x_benum  TYPE LTAK-BENUM, "   
lv_x_cuser  TYPE LTAK-BNAME, "   
lv_x_lznum  TYPE LTAK-LZNUM, "   
lv_x_solex  TYPE LTAK-SOLEX, "   
lv_x_cuser  TYPE LTAK-BNAME, "   
lv_x_pernr  TYPE LTAK-PERNR, "   
lv_x_drukz  TYPE LTAK-DRUKZ, "   
lv_x_drukz  TYPE LTAK-DRUKZ, "   
lv_x_solex  TYPE LTAK-SOLEX, "   
lv_x_no_print  TYPE RL03A-NIDRU. "   

  CALL FUNCTION 'EXIT_SAPLLMDE_004'  "Exit for Message WMTORD (Generate TO) on Receipt (MDE/LSR)
    EXPORTING
         I_IDOC_CONTROL = lv_i_idoc_control
         X_PERNR = lv_x_pernr
         X_NO_PRINT = lv_x_no_print
         X_LTAP_CR = lv_x_ltap_cr
         X_AUSFB = lv_x_ausfb
         I_LGNUM = lv_i_lgnum
         X_BWLVS = lv_x_bwlvs
         X_BETYP = lv_x_betyp
         X_BENUM = lv_x_benum
         X_LZNUM = lv_x_lznum
         X_CUSER = lv_x_cuser
         X_DRUKZ = lv_x_drukz
         X_SOLEX = lv_x_solex
    IMPORTING
         X_BWLVS = lv_x_bwlvs
         X_LTAP_CR = lv_x_ltap_cr
         X_AUSFB = lv_x_ausfb
         X_BETYP = lv_x_betyp
         X_BENUM = lv_x_benum
         X_LZNUM = lv_x_lznum
         X_CUSER = lv_x_cuser
         X_SOLEX = lv_x_solex
         X_PERNR = lv_x_pernr
         X_DRUKZ = lv_x_drukz
         X_NO_PRINT = lv_x_no_print
    CHANGING
         C_KOMPL = lv_c_kompl
    TABLES
         T_IDOC_DATA = lt_t_idoc_data
. " EXIT_SAPLLMDE_004




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLLMDE_004

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 BWLVS FROM LTAK INTO @DATA(ld_x_bwlvs).
 
 
 
"SELECT single PERNR FROM LTAK INTO @DATA(ld_x_pernr).
 
 
"SELECT single AUSFB FROM LTAK INTO @DATA(ld_x_ausfb).
 
"SELECT single NIDRU FROM RL03A INTO @DATA(ld_x_no_print).
 
 
"SELECT single AUSFB FROM LTAK INTO @DATA(ld_x_ausfb).
 
"SELECT single LGNUM FROM LTAK INTO @DATA(ld_i_lgnum).
 
"SELECT single BETYP FROM LTAK INTO @DATA(ld_x_betyp).
 
"SELECT single BENUM FROM LTAK INTO @DATA(ld_x_benum).
 
"SELECT single BWLVS FROM LTAK INTO @DATA(ld_x_bwlvs).
 
"SELECT single BETYP FROM LTAK INTO @DATA(ld_x_betyp).
 
"SELECT single LZNUM FROM LTAK INTO @DATA(ld_x_lznum).
 
"SELECT single BENUM FROM LTAK INTO @DATA(ld_x_benum).
 
"SELECT single BNAME FROM LTAK INTO @DATA(ld_x_cuser).
 
"SELECT single LZNUM FROM LTAK INTO @DATA(ld_x_lznum).
 
"SELECT single SOLEX FROM LTAK INTO @DATA(ld_x_solex).
 
"SELECT single BNAME FROM LTAK INTO @DATA(ld_x_cuser).
 
"SELECT single PERNR FROM LTAK INTO @DATA(ld_x_pernr).
 
"SELECT single DRUKZ FROM LTAK INTO @DATA(ld_x_drukz).
 
"SELECT single DRUKZ FROM LTAK INTO @DATA(ld_x_drukz).
 
"SELECT single SOLEX FROM LTAK INTO @DATA(ld_x_solex).
 
"SELECT single NIDRU FROM RL03A INTO @DATA(ld_x_no_print).
 

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!