Application Development 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: 

TVPOD before exit in VLPOD

supremaecy
Explorer
0 Kudos

Hi Experts,

I have a requirement in VLPOD to automatically create material document (MIGO) upon clicking SAVE. I have no problem creating this when the POD line item is already created.

My inquiry is how to fetch the value from table TVPOD, as the value gets stored there only after delivery save, but I require the value before delivery save.

Thanks,

Maecy

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

You coult trigger the good movement/delivery in a Background task, so executed after database update. Which method/event did you use, some after save or before commit ?

Regards,

Raymond

supremaecy
Explorer
0 Kudos

I'm using IF_EX_LE_SHP_DELIVERY_PROC~SAVE_DOCUMENT_PREPARE. This is working fine in Change mode, but if the delivery is not yet saved, the table TVPOD is blank.. I need to capture TVOD in order to transfer it to MIGO.

Thanks!

supremaecy
Explorer
0 Kudos

Up please T_T