WM Function module RFC Used the same way in S/4HANA

L_TO_CONFIRM Confirm Transfer Order

Confirms a transfer order completely or item by item, like LT12, including differences, handling units and separate pick and transfer confirmation. It is the core function behind RF confirmation screens and interfaces from automated warehouses. Pass the items in T_LTAP_CONF or use I_SQUIT for confirmation with requested quantities, and handle the exceptions because many checks are reported that way.

Function group
L03B
Remote-enabled (RFC)
Yes
Type
Function module

Importing parameters

ParameterTypeDescriptionRequired
I_LGNUMLTAK-LGNUMWarehouse numberYes
I_TANUMLTAK-TANUMTransfer order numberYes
I_SQUITRL03T-SQUITConfirm with actual = requested quantity—
I_QUKNZRL03T-QUKNZConfirmation type (pick/transfer)—
I_SUBSTRL03T-SUBSTInclude subsystem items—
I_QNAMELTAP-QNAMEUser performing the confirmation—
I_UPDATE_TASKRL03A-VERBUUpdate via update task—
I_COMMIT_WORKRL03B-COMITCommit inside the function—

Tables parameters

ParameterTypeDescriptionRequired
T_LTAP_CONFLTAP_CONFItems to confirmYes
T_LTAP_CONF_HULTAP_CONF_HUHandling unit data for confirmation—

Exceptions

  • TO_CONFIRMED — Transfer order already confirmed
  • TO_DOESNT_EXIST — Transfer order does not exist
  • ITEM_CONFIRMED — Item already confirmed
  • ITEM_DOESNT_EXIST — Item does not exist
  • FOREIGN_LOCK — Object locked by another user
  • NOTHING_TO_DO — Nothing to process
  • QUANTITY_WRONG — Invalid quantity
  • SQUIT_OR_QUANTITIES — Pass either immediate confirmation or quantities
  • NO_DIFFERENCES_ALLOWED — Differences not allowed
  • NO_NEGATIVE_QUANTITIES — Negative quantities not allowed
  • CHARG_MISSING — Batch missing
  • NLPLA_WRONG — Invalid destination storage bin
  • SU_NOT_FOUND — Storage unit not found
  • HU_NOT_FOUND — Handling unit not found
  • NOT_ENOUGH_STOCK_IN_HU — Not enough stock in the handling unit
  • TWO_STEP_CONFIRMATION_REQUIRED — Two-step confirmation required
  • PICK_CONFIRMATION_MISSING — Pick confirmation missing
  • INPUT_WRONG — Invalid input
  • NO_AUTHORITY — No authorization
  • UPDATE_WITHOUT_COMMIT — Update task used without commit

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'L_TO_CONFIRM'
  EXPORTING
    i_lgnum = lv_i_lgnum
    i_tanum = lv_i_tanum
  TABLES
    t_ltap_conf = lt_t_ltap_conf
    t_ltap_conf_hu = lt_t_ltap_conf_hu
  EXCEPTIONS
    to_confirmed = 1
    to_doesnt_exist = 2
    item_confirmed = 3
    item_doesnt_exist = 4
    foreign_lock = 5
    nothing_to_do = 6
    quantity_wrong = 7
    squit_or_quantities = 8
    OTHERS = 9.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report