Application Development and Automation 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: 
Read only

Debug BADI....

Former Member
0 Likes
461

Hi all,

I need to debug a BADI BILL_ACC_IF.

I am setting a break point in the BADI implementation and then I am trying to maintain the Billing document online.......

but it is not going in debugging mode.....

can you pls hel p me ?

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
394

if its not hitting the debug mode... then some conditions might be missing which drives your online process to hit the BADI... check the code around the badi call and find out which conditions are trigerring the BADI and try to accomplish to such condition.

try to put the break point in the method you want to make the change.

Read only

Former Member
0 Likes
394

You need to catch the BDoc and then debug from there.

1. In transaction SMQR, deregister the CSA_BILLDOC* queue.

2. Run the Billing Due List

3. In transaction SMQ2, you will see the "caught" BDoc

4. Execute the BDoc in debug mode, and set a breakpoint in your Implementing Class and Method

Thanks,

Ben