Menu

SAP Function Module L_TO_CREATE_POSTING_CHANGE

Create transfer order for posting change

The Function Module L_TO_CREATE_POSTING_CHANGE (Create transfer order for posting change) 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_POSTING_CHANGE
Short Text Create transfer order for posting change
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_BNAME LIKE LTAK-BNAME SY-UNAME User who creates 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_LGNUM LIKE LTAK-LGNUM Whse number
I_LUBUI LIKE LUBUI SPACE Posting chnge notice
I_NIDRU LIKE RL03A-NIDRU SPACE Do not print
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_UBNUM LIKE LTAK-UBNUM SPACE Posting change number
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

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
T_LUBQU LIKE LUBQU Table of quants for posting change

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BESTQ_WRONG Stock category does not exist
BWLVS_WRONG Mov.type incorrect
CONVERSION_NOT_FOUND Conversion for units of measure not defined
DATE_WRONG Incorrect date specification
DOUBLE_QUANT Quant may only be in Table T_LUBQU once
DRUKZ_WRONG Print code does not exist
FOREIGN_LOCK SAP block by other user
I_UBNUM_OR_I_LUBU Posting change number or implicit posting change notice
KZUAP_OR_BIN_LOCATION Posting change either at bin or destination storage bin
LDEST_WRONG Printer does not exist
LENUM_WRONG SU number cannot be converted
LE_BULK_QUANT_NOT_SELECTABLE Block storage quants not allowed for posting change
LGBER_WRONG Stor.section does not exist
LOCK_EXISTS SAP block by other user
MANUAL_TO_FORBIDDEN Manual transfer order not allowed
MATERIAL_NOT_FOUND Material not maintained for this process
MEINS_WRONG Base unit of measure incorrect
MENGE_TO_BIG Posting change quantity is too large
MENGE_WRONG Posting change quantity does not correspond to quants
NLPLA_MISSING Destination storage bin is missing
NLTYP_MISSING Destination storage type is missing
NO_AUTHORITY No authorization
NO_QUANTS No quants exist for posting changes
NO_TO_CREATED No TO generated
OPEN_TR_KZUAP With open TRs, posting change must take place in bin
QUANTITY_WRONG Quantity for posting change is incorrect
QUANTNUMBER_INITIAL Quant number must not have initial value
QUANT_NOT_SELECTABLE Quant not allowed for posting change
SOBKZ_MISSING Special stock indicator missing
SOBKZ_WRONG Special stock indicator does not exist
SQUIT_FORBIDDEN Immediate conf.not allowed for movement type
TP_COMPLETED Posting change already executed for posting change notice
TP_WRONG Posting change notice does not exist
T_LUBQU_REQUIRED Table T_LUBUQ must be passed on
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
XFELD_WRONG Incorrect value for checkbox