2007 Dec 19 11:25 AM
Hi
Can we access shipment related tables (VTTK,VTTP) in userexit of delivery (USEREXIT_SAVE_DOCUMENT_PREPARE).If yes, then how?
Kindly suggest.
Thanks
Charitha
2007 Dec 19 2:36 PM
hi
Yes. we access shipment related tables (VTTK,VTTP) in userexit of delivery (USEREXIT_SAVE_DOCUMENT_PREPARE).
First fetch data(shipment no) from VTFA table based on VBELN. From that shipment no, go to VTTK or VTTP for next required validations how do u like.
Reward if it is useful.
Thanks
Siva Kumar
2007 Dec 19 1:24 PM
Hi,
you can access those tables by writing select statements, but ensure that you have the field values to get the recs from those tables.
Reward if useful.
Thanks,
Sreeram.
2007 Dec 19 2:36 PM
hi
Yes. we access shipment related tables (VTTK,VTTP) in userexit of delivery (USEREXIT_SAVE_DOCUMENT_PREPARE).
First fetch data(shipment no) from VTFA table based on VBELN. From that shipment no, go to VTTK or VTTP for next required validations how do u like.
Reward if it is useful.
Thanks
Siva Kumar
2007 Dec 20 6:40 AM
I want the field DATBG (when shipmentbutton is started ) while changing the Shipment in (VT02N).
I think this field we will get only when the shipment is saved , but we have not saved .
kindly suggest....