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

L_TO_CREATE_MOVE_SU Create Transfer Order to Move Storage Unit

Creates a transfer order that moves a complete storage unit to another bin, like LT09; the destination can be given or found by putaway strategy. It is used in RF programs for pallet moves in warehouses with storage unit management. Read the determined destination from E_NLTYP and E_NLPLA, and expect NOT_CONFIRMED_TO when the unit still has open transfer orders.

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

Importing parameters

ParameterTypeDescriptionRequired
I_LENUMLEIN-LENUMStorage unit numberYes
I_BWLVSLTAK-BWLVSWM movement typeYes
I_NLTYPLTAP-NLTYPDestination storage type—
I_NLBERLTAP-NLBERDestination storage section—
I_NLPLALTAP-NLPLADestination storage bin—
I_SQUITRL03T-SQUITConfirm immediately—
I_COMMIT_WORKRL03B-COMITCommit inside the function—

Exporting parameters

ParameterTypeDescription
E_TANUMLTAK-TANUMCreated transfer order number
E_NLTYPLTAP-NLTYPDestination storage type
E_NLBERLTAP-NLBERDestination storage section
E_NLPLALTAP-NLPLADestination storage bin
E_NPPOSLTAP-NPPOSPosition in the destination bin

Tables parameters

ParameterTypeDescriptionRequired
T_LTAP_MOVE_SULTAP_MOVE_SUStorage unit move details—

Exceptions

  • BENUM_REQUIRED — Requirement number required
  • BETYP_WRONG — Invalid requirement type
  • BWLVS_WRONG — Invalid WM movement type
  • SU_NOT_FOUND — Storage unit not found
  • FOREIGN_LOCK — Object locked by another user
  • LDEST_WRONG — Invalid printer
  • LENUM_WRONG — Invalid storage unit number
  • LGBER_WRONG — Invalid storage section
  • LTAP_MOVE_SU_WRONG — Invalid storage unit move details
  • NLPLA_MISSING — Destination storage bin missing
  • NLPLA_WRONG — Invalid destination storage bin
  • NLTYP_MISSING — Destination storage type missing
  • NLTYP_WRONG — Invalid destination storage type
  • NOT_CONFIRMED_TO — Storage unit has unconfirmed transfer orders
  • NO_AUTHORITY — No authorization
  • NO_STOCK_ON_SU — No stock on the storage unit
  • SQUIT_FORBIDDEN — Immediate confirmation not allowed

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_CREATE_MOVE_SU'
  EXPORTING
    i_lenum = lv_i_lenum
    i_bwlvs = lv_i_bwlvs
  IMPORTING
    e_tanum = lv_e_tanum
    e_nltyp = lv_e_nltyp
    e_nlber = lv_e_nlber
    e_nlpla = lv_e_nlpla
    e_nppos = lv_e_nppos
  TABLES
    t_ltap_move_su = lt_t_ltap_move_su
  EXCEPTIONS
    benum_required = 1
    betyp_wrong = 2
    bwlvs_wrong = 3
    su_not_found = 4
    foreign_lock = 5
    ldest_wrong = 6
    lenum_wrong = 7
    lgber_wrong = 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