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: 

uerexit_save_document_prepare

Former Member
0 Kudos
88

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
60

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

3 REPLIES 3

Former Member
0 Kudos
60

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.

Former Member
0 Kudos
61

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

Former Member
0 Kudos
60

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....