Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic PGI - actual goods movement date issue

jctx15
Newcomer
0 Kudos
186

I had to write a program to automatically PGI deliveries. For shipments, automatic PGI is working correctly but I noticed that the "actual goods movement date" field VBKOK-WADAT_IST updates for the first delivery with the date of PGI. It does not do it for the rest of the deliveries. Any ideas why?

Basic logic is doing a loop for each delivery, setting the automatic PGI field (VBKOK-WABUC = 'X') and then calling the function module 'WS_DELIVERY_UPDATE'.

PGI is working perfectly but its the actual goods movement date field that is not updating for every delivery. Only the first one.

0 REPLIES 0