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: 

break point in BADI

Former Member
0 Kudos

Hi,

I am trying to keep a break point in BADI for PBEN0014 which I implemented using a method. But it does not stop at that point and gets the output directly. Is there any way to make the payroll stop at breakpoint in BADI.

Thanks.

Osacr

1 ACCEPTED SOLUTION

Sm1tje
Active Contributor
0 Kudos

1. Are you sure this method is call during your process?

2. Did you already activate the badi implementation (not only saved it).

3. Is this part of the process running in background perhaps (other session)?

Edited by: Micky Oestreich on Aug 7, 2008 9:02 PM

4 REPLIES 4

Sm1tje
Active Contributor
0 Kudos

1. Are you sure this method is call during your process?

2. Did you already activate the badi implementation (not only saved it).

3. Is this part of the process running in background perhaps (other session)?

Edited by: Micky Oestreich on Aug 7, 2008 9:02 PM

Former Member
0 Kudos

Hi,

Try Manually putting break-point statement in the BADI you implemented.

Regards,

Nawaz.

Former Member
0 Kudos

There is an quicker way to finding a BADI and BADI implementations for a transaction:

SE37 display Function Module - SXV_GET_CLIF_BY_NAME.

Set a BREAKPOINT on call function SXV_ADD_PREFIX .

In another SESSION run the desired transaction, parameter 'name' gives the BADI; parameter 'clif ' gives implementation, e.g. for TCode MIGO name = MB_MIGO_BADI, clif = CL_EX_MB_MIGO_BADI .

Hope this helps.

Former Member
0 Kudos

if the method you have implemented is in update task.. then switch on update dubugging mode.. check if the break point triggers after you switcjh on update dubugging mode..

Thanks

Krishnan