Menu

SAP Function Module L_TO_CREATE_SINGLE

Create a transfer order with one item

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module L_TO_CREATE_SINGLE (Create a transfer order with one item) 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_SINGLE
Short Text Create a transfer order with one item
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_ABLAD LIKE LTAP-ABLAD SPACE Unload.point
I_ALTME LIKE LTAP-ALTME Unit of measure
I_ANFME LIKE RL03T-ANFME Requested qty.
I_AUSFB LIKE LTAK-AUSFB SPACE Bemerkung zur Ausführung
I_BENUM LIKE LTAK-BENUM SPACE Requirement number
I_BESTQ LIKE LTAP-BESTQ SPACE Stock category
I_BETYP LIKE LTAK-BETYP SPACE Requirement type
I_BNAME LIKE LTAK-BNAME SY-UNAME User who is generating the TO
I_BWLVS LIKE LTAK-BWLVS Movement type
I_CHARG LIKE LTAP-CHARG SPACE Batch
I_COMMIT_WORK LIKE RL03B-COMIT 'X' Indicator whether COMMIT WORK in function module
I_DRUKZ LIKE T329F-DRUKZ SPACE Print code
I_KOMPL LIKE RL03B-KOMPL 'X' Only generate TO if requested amount supplied
I_LDEST LIKE LTAP-LDEST SPACE Printer
I_LETYP LIKE LTAP-LETYP SPACE Storage unit type
I_LGNUM LIKE LTAK-LGNUM Warehouse number
I_LGORT LIKE LTAP-LGORT SPACE Lagerort
I_LZNUM LIKE LTAK-LZNUM SPACE Additional ref.number
I_MATNR LIKE LTAP-MATNR Material no.
I_NIDRU LIKE RL03A-NIDRU SPACE Do not print
I_NLBER LIKE LTAP-NLBER SPACE Destination storage section
I_NLENR LIKE LTAP-NLENR SPACE Dest.storage unit
I_NLPLA LIKE LTAP-NLPLA SPACE Destination storage bin
I_NLQNR LIKE LTAP-NLQNR SPACE Dest.quant
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_RLBER LIKE LTAP-RLBER SPACE Return storage area
I_RLPLA LIKE LTAP-RLPLA SPACE Return storage bin
I_RLQNR LIKE LTAP-RLQNR SPACE Return quant
I_RLTYP LIKE LTAP-RLTYP SPACE Return storage type
I_SOBKZ LIKE LTAP-SOBKZ SPACE Special stock indicator
I_SOLEX LIKE LTAK-SOLEX 0 Sollaufwand aus Fremdsystem
I_SONUM LIKE LTAP-SONUM SPACE Special stock number
I_SQUIT LIKE RL03T-SQUIT SPACE Immed.confirmat.
I_UPDATE_TASK LIKE RL03A-VERBU SPACE Indicator: update via update task
I_VFDAT LIKE LTAP-VFDAT INIT_DATUM Expiration date
I_VLBER LIKE LTAP-VLBER SPACE Source storage section
I_VLENR LIKE LTAP-VLENR SPACE Source storage unit
I_VLPLA LIKE LTAP-VLPLA SPACE Source storage bin
I_VLQNR LIKE LTAP-VLQNR SPACE Src.quant
I_VLTYP LIKE LTAP-VLTYP SPACE Source storage type
I_VPPOS LIKE LTAP-VPPOS SPACE Item in source storage bin
I_WDATU LIKE LTAP-WDATU INIT_DATUM Goods receipt date
I_WEMPF LIKE LTAP-WEMPF SPACE Consignee
I_WERKS LIKE LTAP-WERKS Plant
I_ZEUGN LIKE LTAP-ZEUGN SPACE Certificate number
YYT_NACHSCHUB TYPE CHECK_BOX SPACE TA für Merck-eigene Nachschubsteuerung
YYT_VORSCHLAG TYPE CHECK_BOX SPACE Vorgegebene Charge ist Vorschlag

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_LTAP LIKE LTAP Transfer order item
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_VB LIKE LTAP_VB Tabelle der erzeugten TA-Positionen

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BENUM_MISSING Req.number missing
BESTQ_WRONG Stock category does not exist
BETYP_MISSING Req.type missing
BETYP_WRONG Req.type does not match movement type
BWLVS_WRONG Mov.type incorrect
DATE_WRONG Incorrect date specification
DRUKZ_WRONG Print code does not exist
FOREIGN_LOCK An SAP block has been set by another user
KEINE_CHARGE_GEFUNDEN Keine Charge gefunden
KEIN_VORRAT_DA Kein Bestand im Übervorrat
LDEST_WRONG Printer does not exist
LENUM_WRONG SU number cannot be converted
LETYP_WRONG Storage unit type does not exist
LGBER_WRONG Stor.section does not exist
MANUAL_TO_FORBIDDEN Manual transfer order not allowed
MATERIAL_NOT_FOUND Material not maintained for this process
NLPLA_MISSING Dest.storage bin for item missing
NLPLA_WRONG Dest.storage bin does not match movement type
NLTYP_MISSING Dest.storage bin required if bin is set
NLTYP_WRONG Dest.storage type does not match movement type
NOTHING_FOUND Kein verfügbarer Bestand vorhanden
NO_AUTHORITY No authorization
NO_TO_CREATED No TO generated
RLPLA_WRONG Ret.storage bin does not match movement type
RLTYP_MISSING Ret.storage type required if bin is set
RLTYP_WRONG Return storage type does not match mov.type
SOBKZ_MISSING Special stock indicator missing
SOBKZ_WRONG Special stock indicator does not exist
SONUM_MISSING Special stock number is missing
SQUIT_FORBIDDEN Immediate conf.not allowed for movement type
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
VLPLA_MISSING Src.storage bin for item missing
VLPLA_WRONG Src.storage bin does not match movement type
VLTYP_MISSING Src.storage type required if bin is set
VLTYP_WRONG Src.storage type does not match movement type
XFELD_WRONG Incorrect value for checkbox