on 2017 Mar 07 10:40 AM
Dear Expert,
I want cancel outbound DN,When I call '/SCWM/DLV_ITEM_UPDATE_PAR' FM modify QTY(/SCWM/PRDO),but failed,return table
message type S '/SCDL/BO_ACTION 066' (Item locked successfully for processing),please help,thanks.
LOOP AT gt_item INTO gw_item.
ls_update-doccat = gw_item-doccat.
ls_update-docid = gw_item-docid.
ls_update-itemid = gw_item-itemid.
ls_update-prcode_qty-prcode = 'O001'.
ls_update-prcode_qty-qty_new = gw_item-qty.
ls_update-prcode_qty-uom = gw_item-uom.
APPEND ls_update TO lt_update.
CLEAR ls_update.
ENDLOOP.
CLEAR:lt_entries_ok[],lt_entries_failed[],lt_return[],lt_lock_errors[].
CALL FUNCTION '/SCWM/DLV_ITEM_UPDATE_PAR'
EXPORTING
iv_save = c_x
iv_synchronously = c_x "c_blank
iv_doccat = lv_doccat
iv_lockuser = lv_lockuser
iv_lockuservb = lv_lockuservb
it_item_update = lt_update
TABLES
et_entries_ok = lt_entries_ok
et_entries_failed = lt_entries_failed
et_return = lt_return
et_lock_errors = lt_lock_errors.
Request clarification before answering.
Solved,thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.