‎2011 Nov 11 10:15 AM
Hi abapers,
can you please share any FM/BAPI for creating POD.
currently i tried to use WS_DELIVERY_UPDATE_2 But even here the POD status stays at "A". When/how is POD status in inbound delivery set to "C".
‎2011 Nov 13 3:07 AM
Please try the below code..
Regards,
Harikiran Katta
DATA: wa_vbkok TYPE vbkok.
DATA: t_vbpok TYPE TABLE OF vbpok,
v_deliv TYPE LIKP-VBELN,
t_VERPO TYPE TABLE OF TVPODVB.
v_deliv = '123456789'. "your delivery number
wa_vbkok-podat = sy-datum.
wa_vbkok-potim = sy-uzeit.
wa_vbkok-KZPOD = 'C'.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = wa_vbkok
COMMIT = 'X'
DELIVERY = v_deliv
TABLES
TVPOD_TAB = t_verpo .
‎2011 Dec 15 6:20 AM
‎2019 Dec 19 4:55 PM
It is important to note that both WS_DELIVERY_UPDATE or WS_DELIVERY_UPDATE_2 have never been officially released by SAP. Therefore, depending on your version / EHP, it might not work and is unsupported. I don't recommend building big developments around these functions.
‎2019 Dec 19 4:56 PM