cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging RSBPCB_SETUSER badi in SAP BPC Emebedded

praveen_kumar334
Participant
0 Kudos

Hi team,

I have written badi for work status configuration using RSBPCB_SETUSER . Now i want to debug this badi but I am unable to debug it. I searched in google before posting this, but unable to find single thread which explains this. Below are my trails.

1. Hard and soft breakpoint has been enabled in BADI and i have executed the report and changed the status to submit in AO.

2. I have written one infinite loop in the badi.

In both the cases, it is not entering the debug mode. Could you please let me know the steps to debug the same.

Many thanks,

Praveen.

former_member186338
Active Contributor
0 Kudos

Sorry again, but if you have infinite loop in the badi code and you don't see infinite execution in SM50 - the your badi is not triggered. Wrong settings....

former_member186338
Active Contributor
0 Kudos

First - I have no idea about badi code in BPC embedded... not my area!

Second: third time - your badi is simply not executed at all. Nothing to debug if nothing is executed.

0 Kudos

Hi Praveen,

Did you get any solution to this? Even I am struggling to debug this badi .

0 Kudos

It worked somehow now. We simply put an external breakpoint in badi implementation and then submitted through EPM portal.

Many Thanks,

Manish

Accepted Solutions (0)

Answers (2)

Answers (2)

praveen_kumar334
Participant
0 Kudos

Vadim,

I am getting the output as expected but for some user i am not getting as expected. I am executing the report in AO, but I am not sure whether the debugging will start if i execute the report in AO or Do I need to execute the report in RSRT( If this is the case, then how to pass the work status to the bex query).

Regards,

Praveen.

former_member186338
Active Contributor
0 Kudos

"2. I have written one infinite loop in the badi." - then your badi is not triggered at all! Nothing to debug)