Menu

SAP Function Module L_TO_CREATE_TR

Create a transfer order for transfer requirement

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module L_TO_CREATE_TR (Create a transfer order for transfer requirement) 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_TR
Short Text Create a transfer order for transfer requirement
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
IT_TRITE TYPE L03B_TRITE_T Teil-Erzeugung: Details
I_BNAME LIKE LTAK-BNAME SY-UNAME User who is generating the TO
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_LDEST_LANG LIKE TSP03L-LNAME SPACE Spool: lange Gerätenamen
I_LGNUM LIKE LTAK-LGNUM Warehouse number
I_NIDRU LIKE RL03A-NIDRU SPACE Do not print
I_NOSPL LIKE RL03A-NOSPL SPACE Kein TA-Split
I_PERNR LIKE LTAK-PERNR 0 Personalnummer
I_REFNR LIKE LTAK-REFNR SPACE Reference number
I_RSNUM LIKE LTAK-RSNUM SPACE Reservierung
I_SOLEX LIKE LTAK-SOLEX 0 Sollaufwand aus Fremdsystem
I_SQUIT LIKE RL03T-SQUIT SPACE Immed.confirmat.
I_TBELI LIKE RL03T-TBELI SPACE TB auf endgeliefert setzen / abschließen
I_TBNUM LIKE LTAK-TBNUM Transfer requirement number
I_TEILK LIKE T340D-TEILV SPACE Partial picking allowed
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_TANUM LIKE LTAK-TANUM Transfer order number
E_TEILK LIKE T340D-TEILV Teilkommmissionierung hat stattgefunden

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
DRUKZ_WRONG Print code does not exist
FOREIGN_LOCK An SAP block has been set by another user
INPUT_ERROR Fehlerhafte Positionsvorgaben
LDEST_WRONG Printer does not exist
NO_AUTHORITY No authorization
NO_TO_CREATED No TO generated
PARTIAL_TRANSFER_REQ_FORBIDDEN Teilkommi für TB aus PP-Kommiteilen nicht erl.
PREALLOCATED_STOCK Material is pre-allocated
QM_RELEVANT TR is resevant for QSS
SQUIT_FORBIDDEN Immediate conf.not allowed for movement type
TR_COMPLETED TR is already fully supplied
TR_WRONG TR does not exist
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
XFELD_WRONG Incorrect value for checkbox