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: 

VA02 and VF02 User Exit - entering transaction

Former Member
0 Kudos

Hi all,

I am trying to find a user exit that will be called when the user opens a document.

For example the user types in VA02 and enters the sales order number. When they press enter, the user exit is called.

Can someone tell me which user exit can be used for VA02 and VF02 (or how to find it)?

Thanks,

1 ACCEPTED SOLUTION

tamas_hoznek
Product and Topic Expert
Product and Topic Expert

For VF02, you can use enhancement spot ES_SAPMV60A. There are several enhancement points called BELEG_LESEN_* that are called in subroutine BELEG_LESEN in module pool SAPMV60A.

For VA02, either the above mentioned old-skool USEREXIT_READ_DOCUMENT or the enhancement spot ES_SAPMV45A will do the trick (similar to the one for the billing document).

3 REPLIES 3

Former Member
0 Kudos

Following are the BADI's called while opening a sales document in VA02.

<BADI farm removed by moderator>

Following are the user exits called while opening a sales document in VA02

<exit farm removed by moderator>

Moderator message: please reply with specific information only, not a long list of technical objects that might or might not help.

Edited by: Thomas Zloch on May 20, 2011 9:28 AM

Former Member
0 Kudos

For VA02, try MV45AFZZ - USEREXIT_READ_DOCUMENT.

tamas_hoznek
Product and Topic Expert
Product and Topic Expert

For VF02, you can use enhancement spot ES_SAPMV60A. There are several enhancement points called BELEG_LESEN_* that are called in subroutine BELEG_LESEN in module pool SAPMV60A.

For VA02, either the above mentioned old-skool USEREXIT_READ_DOCUMENT or the enhancement spot ES_SAPMV45A will do the trick (similar to the one for the billing document).