VA02 and VF02 User Exit - entering transaction
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)?
Tamas Hoznek replied
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).