cancel
Showing results for 
Search instead for 
Did you mean: 

How can I debug BADI BBP_CREATE_BE_PO_NEW ??

Former Member
0 Kudos

Hello experts,

how can I debug BADI BBP_CREATE_BE_PO_NEW to find out what goes wrong with my coding?

I set breakpoint for external Web-user. I also set session breakpoints and resent the shopping cart using FM BBP_PD_SC_TRANSFER. The BADI is never debugged.

We use SRM 6.0 with classic scenario.

Any useful ideas?

Joe

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can put an endless loop in your BADI BBP_CREATE_BE_PO_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_check.

do.

if l_check eq 'X'.

exit.

endif.

enddo.

BR,

Disha.

DO reward points for useful answers.

imthiaz_ahmed
Active Contributor
0 Kudos

Is the BADI implementation active?, if YES, then run this FM BBP_PD_SC_TRANSFER_INTERNAL and make sure the SC does not have a BE doc yet.

Imthiaz

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Joe,

Please make sure if the PO is created by the external webuser or an RFC user before you set the external breakpoint.