Menu

SAP Function Module LEINT_TO_SINGLE_CREATE

Create a transfer order with one item

The Function Module LEINT_TO_SINGLE_CREATE (Create a transfer order with one item) is a standard Function Module in SAP ERP and is part of the function group LEINT_LVSRV within the package LEINT.

Technical Information

Function Module LEINT_TO_SINGLE_CREATE
Short Text Create a transfer order with one item
Function Group LEINT_LVSRV
Package LEINT
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_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_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_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_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 SY-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 SY-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

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

This function module does not define any TABLE parameters.

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
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
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