cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug the BADI - BBP_CREATE_BE_RQ_NEW

Former Member
0 Kudos

Hi Experts,

Help me how to debug the BADI in order to validate my coding.

I have put a break point in the BADI and run the class CL_BBP_SC_TRANSFER_CLASSIC Instance DO by giving the SC no and the GUID but still the BADI is not getting triggered.

Suggest me any other way to debug the BADI.

Regards

Paul

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for the post. I had same issue and it helped me.

Former Member
0 Kudos

Hi,

You can put an endless loop in your BADI BBP_CREATE_BE_RQ_NEW ,as shown below and force the program to stop there. Now go to SM50 and switch to debug mode for the program and start debugging(take process that keeps hangs in your endless loop).

Data: l_flag.

do.

if l_flag eq 'X'.

exit.

endif.

enddo.

BR,

Disha.

DO reward points for useful answers.

Former Member
0 Kudos

Hello Paul,

try to create a SC and set it on hold. If you then debug BBP_REQREQ_TRANSFER you should be able to debug the BAdI.

HTH,

Andreas