cancel
Showing results for 
Search instead for 
Did you mean: 

Change POD Status (PDSTK )?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member


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.