on ‎2020 Aug 14 7:29 AM
Hello experts,
I am trying to use WS_DELIVERY_UPDATE_2 FM for updating vendor batch in inbound delivery. But it's not updating the value, although there are no errors.
I am passing the vendor batch value in VBPOK-LICHN.
Request clarification before answering.
Need to fill the field VBPOK-SPE_INB_ITM_UPD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to pass import parameter COMMIT as 'X'.
Also, try calling BAPI_TRANSACTION_COMMIT as 'X'
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
I am passing commit flag and passing the supplier batch number to lichn of vbpok_tab.
CALL FUNCTION 'WS_DELIVERY_UPDATE_2' "#EC CI_SUBRC
EXPORTING
vbkok_wa = lv_vbkok
delivery = lv_vbeln
if_error_messages_send = abap_true
nicht_sperren_1 = abap_true
synchron = abap_true
commit = abap_true
IMPORTING
ef_error_any = lv_error
ef_error_in_item_deletion = lv_err1
ef_error_in_pod_update = lv_err2
ef_error_in_interface = lv_err3
ef_error_in_goods_issue = lv_err4
ef_error_in_final_check = lv_err5
ef_error_partner_update = lv_err6
ef_error_sernr_update = lv_err7
TABLES
vbpok_tab = lt_vbpok
prot = lt_prot.
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 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.