cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if user exit is getting triggered for VA02?

Former Member
0 Kudos
380

Hi all,

I am trying to check if user exit USEREXIT_MOVE_FIELD_TO_VBEP and userexit_save_document_prepare in include MV45AFZZ are getting triggered when I change values in VA02. I am trying to update schedule line category and movement type fields in table VBEP. How can I check if its getting triggered? Its not allowing me to put a breakpoint at the FORM user exit line. Currently there is no code inside the user exit as of now. How can I put a breakpoint and check if its getting triggered?

Please help with a solution.

Accepted Solutions (0)

Answers (3)

Answers (3)

FredericGirod
Active Contributor

Using the SE38 or SE80 editor, set a session breakpoint at the ENDFORM statement. The transaction VA02 will be stoped when it run the FORM

You could also test to change the value of variable/table to check if your solution will work

shantraj
Explorer
0 Kudos

You have to do implicit enhancement on Program 'MV45AFZZ', Routine 'USEREXIT_MOVE_FIELD_TO_VBEP'.

These are the routines provided by SAP, to write custom code to fulfill the requirements.

raymond_giuseppi
Active Contributor
0 Kudos

just debug - set a break-point in form VBEP_FUELLEN of program SAPFV45E (execute a where-used on the exit form or read the documentation in the source code)

(You could also use BAdI BADI_FV45E_FILL_VBEP, but this BAdI and the user-exit are mentionned as 'initialization')