Skip to Content
0
Former Member
Jun 20, 2011 at 06:12 AM

Change POD Status (PDSTK )?

1455 Views

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