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

Badi dbug

Former Member
0 Likes
474

Hi,

For the transaction VA03 there is a ZBadi ,and my question is i have put the breakpoints of that Zbadi and how to debug that badi.

can u please tell me step by step.

while running that va03 trans it is not triggering.

Thanks in Advance,

Hi,

For the transaction VA03 there is a ZBadi ,and my question is i have put the breakpoints of that Zbadi and how to debug that badi.

can u please tell me step by step.

while running that va03 trans it is not triggering.

Thanks in Advance,

2 REPLIES 2
Read only

Former Member
0 Likes
452

Hi,

Please find below a couple of approaches for debugging

(1) In the BADI implementation put a session breakpoint using "Stop" button in the code for that client and see it it stops

(2) using the statements

(a)BREAK-POINT. (b)BREAK USERNAME.

Reason why a badi may not be triggered

(1) BADI implementation may not be active

(2) it may not be the correct badi

Please read the documentation of the badi definition in se18 to reconfirm if it is the correct one

also check the methods we are using the correct methods

(3) Some BADIs are used only for internal implementation and other's do not support mutliple implementation

for this in se18 -> attributes tab -> check if the box for "multiple implementation" is ticked..if not..even if you create an implementation for a badi which already has an active implementation..it will give messages and will not activate the BADI => implies point(1)

Also please check for VA01 and VA02..since VA03 is a display only transaction,just to be sure that it triggers in all cases ,

Please also provide BADI definition name and source of problems whenever possible in the forum so that we can help better

Hope it helps

Pls check and revert

Regards

Byju

Read only

Former Member
0 Likes
452

answered