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: 

How to debug BADI

Former Member
0 Kudos

Hi,

Please help me to debug a BADI in the transaction VA41/VA42/VA43.

How to know which BADI how many BADI's used in that transaction.

Thanks in advance,

Regards,

John

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

If you know the badi definition name,

then go to se18 and do a where useed list.

YOu can find the programs in which the badi methods are being called.

eazch z class will refer to one implementation of the badi.

Go into the z class code and put a break point.

Also chek if the badi implementation is active.

If it is active, then it will get triggered whenever you run the transaction.

Regards,

ravi

Former Member
0 Kudos

hi,

refer this link

Reward with points for helpful answers

Cheers

Alfred

Former Member
0 Kudos

I am not sure if there is any badi's for contract related transactions. We still use the good old MV54AFZ* for any enhancements.

In general to debug a badi, Just create a dummy implementation ( i mean implementation with no code). Activate the implementation and put a break point in any of the methods, when the transaction is executed you should be able to reach your badi through the debugger.