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
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_LENUM | LEIN-LENUM | Storage unit number | Yes |
| I_BWLVS | LTAK-BWLVS | WM movement type | Yes |
| I_NLTYP | LTAP-NLTYP | Destination storage type | — |
| I_NLBER | LTAP-NLBER | Destination storage section | — |
| I_NLPLA | LTAP-NLPLA | Destination storage bin | — |
| I_SQUIT | RL03T-SQUIT | Confirm immediately | — |
| I_COMMIT_WORK | RL03B-COMIT | Commit inside the function | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| E_TANUM | LTAK-TANUM | Created transfer order number |
| E_NLTYP | LTAP-NLTYP | Destination storage type |
| E_NLBER | LTAP-NLBER | Destination storage section |
| E_NLPLA | LTAP-NLPLA | Destination storage bin |
| E_NPPOS | LTAP-NPPOS | Position in the destination bin |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| T_LTAP_MOVE_SU | LTAP_MOVE_SU | Storage 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.