The Function Module L_TO_CREATE_DN (Create a transfer order for delivery note) is a standard Function Module in SAP ERP and is part of the function group L03B within the package LVS.
Function Module | L_TO_CREATE_DN |
Short Text | Create a transfer order for delivery note |
Function Group | L03B |
Package | LVS |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
IT_DELIT | TYPE | L03B_DELIT_T | Partial creation: 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_EINLM | LIKE | RL03T-EINLM | SPACE | Copy putaway quantities into delivery / post GR |
I_EINTA | TYPE | RL03T-EINTA | SPACE | Processing for putaway transfer order |
I_KOMIM | LIKE | RL03T-KOMIM | SPACE | Copy pick quantities into delivery / Post GI |
I_LDEST | LIKE | LTAP-LDEST | SPACE | Printer |
I_LGNUM | LIKE | LTAK-LGNUM | Warehouse number | |
I_NIDRU | LIKE | RL03A-NIDRU | SPACE | Do not print |
I_NOSPL | LIKE | RL03A-NOSPL | SPACE | No TO split |
I_PERNR | LIKE | LTAK-PERNR | 0 | Personnel Number |
I_REFNR | LIKE | LTAK-REFNR | SPACE | Reference number |
I_SOLEX | LIKE | LTAK-SOLEX | 0 | Planned transfer order processing time from external system |
I_SQUIT | LIKE | RL03T-SQUIT | SPACE | Immed.confirmat. |
I_TEILK | LIKE | T340D-TEILV | SPACE | Partial picking allowed |
I_UPDATE_TASK | LIKE | RL03A-VERBU | SPACE | Indicator: update via update task |
I_VBELN | LIKE | LTAK-VBELN | Delivery note no. |
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 | Partial pick executed |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
T_LTAK | LIKE | LTAK_VB | Table of created TO headers | |
T_LTAP_VB | LIKE | LTAP_VB | Table of created TO items |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DN_COMPLETED | Delivery note does not contain any open items |
DN_HU_NOT_CHOOSABLE | TO for delivery items or HU not clear |
DN_WRONG | Delivery note does not exist |
DRUKZ_WRONG | Print code does not exist |
FOREIGN_LOCK | An SAP block has been set by another user |
INPUT_ERROR | Missing item entry |
LDEST_WRONG | Printer does not exist |
NO_AUTHORITY | No authorization |
NO_PICKING_ALLOWED | Picking not allowed |
NO_TO_CREATED | No TO generated |
PARTIAL_DELIVERY_FORBIDDEN | Delivery note must be picked for entire qty |
SQUIT_FORBIDDEN | Immediate conf.not allowed for movement type |
TEILK_WRONG | Partial picking not allowed in warehouse |
UPDATE_WITHOUT_COMMIT | Update via update task only using Commit |
XFELD_WRONG | Incorrect value for checkbox |