Menu

SAP Function Module L_TO_CREATE_MOVE_SU

Create transfer order for moving storage units

The Function Module L_TO_CREATE_MOVE_SU (Create transfer order for moving storage units) is a standard Function Module in SAP ERP and is part of the function group L03B within the package LVS.

Technical Information

Function Module L_TO_CREATE_MOVE_SU
Short Text Create transfer order for moving storage units
Function Group L03B
Package LVS
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_BENUM LIKE LTAK-BENUM SPACE Bedarfsnummer
I_BETYP LIKE LTAK-BETYP SPACE Bedarfstyp
I_BNAME LIKE LTAK-BNAME SY-UNAME User who is generating the TO
I_BWLVS LIKE LTAK-BWLVS Movement type
I_COMMIT_WORK LIKE RL03B-COMIT 'X' Indicator whether COMMIT WORK in function module
I_DRUKZ LIKE T329F-DRUKZ SPACE Print code
I_LDEST LIKE LTAP-LDEST SPACE Printer
I_LENUM LIKE LEIN-LENUM Storage unit number
I_LETYP LIKE LTAP-LETYP SPACE Storage unit type
I_LZNUM LIKE LTAK-LZNUM SPACE Additional ref.number
I_NIDRU LIKE RL03A-NIDRU SPACE Do not print
I_NLBER LIKE LTAP-NLBER SPACE Destination storage section
I_NLPLA LIKE LTAP-NLPLA SPACE Destination storage bin
I_NLTYP LIKE LTAP-NLTYP SPACE Destination storage type
I_NPPOS LIKE LTAP-NPPOS SPACE Position in destionation storage bin
I_PERNR LIKE LTAK-PERNR 0 Personalnummer
I_SOLEX LIKE LTAK-SOLEX 0 Sollaufwand aus Fremdsystem
I_SQUIT LIKE RL03T-SQUIT SPACE Immed.confirmat.
I_UPDATE_TASK LIKE RL03A-VERBU SPACE Indicator: update via update task

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_NLBER LIKE LTAP-NLBER Destination storage section
E_NLPLA LIKE LTAP-NLPLA Destination storage bin
E_NLTYP LIKE LTAP-NLTYP Destination storage type
E_NPPOS LIKE LTAP-NPPOS Position in destionation storage bin
E_TANUM LIKE LTAK-TANUM Transfer order number

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_LTAK LIKE LTAK_VB Tabelle der erzeugten TA-Köpfe
T_LTAP_MOVE_SU LIKE LTAP_MOVE_SU Tabelle der Vorschlagsdaten für TA-Positionen
T_LTAP_VB LIKE LTAP_VB Tabelle der erzeugten TA-Positionen

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BETYP_WRONG Movement type requires req.type
BWLVS_WRONG Mov.type incorrect
DRUKZ_WRONG Print code does not exist
FOREIGN_LOCK An SAP block has been set by another user
LDEST_WRONG Printer does not exist
LENUM_WRONG LE-Nummer kann nicht konvertiert werden
LGBER_WRONG Stor.section does not exist
LTAP_MOVE_SU_WRONG Tabelle der Vorschlagsdaten stimmt nicht überein mit den Quants der Lagereinh.
NLPLA_MISSING Dest.storage bin for item missing
NLPLA_WRONG Dest.storage bin does not match mov.type
NLTYP_MISSING Dest.storage bin required if bin is set
NLTYP_WRONG Destination storage type contradicts movement type
NOT_CONFIRMED_TO Open TOs for storage unit
NO_AUTHORITY No authorization
NO_STOCK_ON_SU Storage unit does not have stock
SQUIT_FORBIDDEN Immediate conf.not allowed for movement type
SU_NOT_FOUND Storage unit does not exist
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
XFELD_WRONG Incorrect value for checkbox