on 02-01-2022 10:00 AM
Hello,
I would like to update Delivery Quantity using "WS_DELIVERY_UPDATE"
i have the following parameter filled but the delivery quantity not changed :
VBKOK_WA-VBELN_VL
VBKOK_WA-VBELN
VBPOK_TAB-VBELN_VL
VBPOK_TAB-VBELN
VBPOK_TAB-POSNR_VL
VBPOK_TAB-POSNN
VBPOK_TAB-VBTYP_N='J'
VBPOK_TAB-MATNR
VBPOK_TAB-LIANP='X'
VBPOK_TAB-LFIMG
please could any one help me which information missed
Thanks a lot
Hello,
You should also pass value to parameter COMMIT:
Best regards.
COMMIT = 'X'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has worked for me, could you give it a try?
* Structures, Tables for WS_DELIVERY_UPDATE_2
DATA: wa_vbkok TYPE vbkok,
wa_vbpok TYPE vbpok,
it_vbpok TYPE TABLE OF vbpok,
it_prot TYPE TABLE OF prott.
* Populate data objects
wa_vbkok-vbeln_vl = '0080755516'.
wa_vbpok-vbeln_vl = '0080755516'.
wa_vbpok-posnr_vl = '000010'.
wa_vbpok-lfimg = 6.
wa_vbpok-lianp = 'X'.
APPEND wa_vbpok TO it_vbpok.
* Function call
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
vbkok_wa = wa_vbkok
commit = 'X'
delivery = '0080755516'
TABLES
VBPOK_TAB = it_vbpok
PROT = it_prot
.
BREAK-POINT.
User | Count |
---|---|
103 | |
9 | |
7 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.