on 06-20-2011 7:12 AM
Hi all,
I am using bapi WS_DELIVERY_UPDATE_2 to change POD status 'A' to 'C'. But it is not updating in VLPOD Transaction.
I am updating like this...
Now i tried below it is updating POD date and TIME but not updating STATUS..
DATA: lw_vbkok TYPE vbkok.
lw_vbkok-KZPOD = 'B'.
DATA: lt_vbpok TYPE TABLE OF vbpok ,
del TYPE LIKP-VBELN,
VERPO_TAB TYPE TABLE OF TVPODVB.
del = '0406200358'.
lw_vbkok-podat = '20110609'.
lw_vbkok-potim = '1245'.
lw_vbkok-KZPOD = 'B'.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = lw_vbkok
COMMIT = 'X'
DELIVERY = del
TABLES
TVPOD_TAB = VERPO_TAB .
thanks,
Venkat.
Edited by: venkat1011 on Jun 20, 2011 11:40 AM
Hi ,
Even I have the same problem and I have been searching for the solution for a week.
Finally i got the solution,so want to share here in order to help some one
We have to pass Quantity fields to "WS_DELIVERY_UPDATE".
lw_vbpok
-vbeln = ''.
lw_vbpok-vbeln_vl = lw_lips-vbeln.
lw_vbpok-posnr_vl = lw_lips-posnr.
lw_vbpok-lianp = 'X'.
lw_vbpok-lfimg = lw_lips-lfimg.
lw_vbpok-lgmng = lw_lips-lgmng.
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 |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.