cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI BBP_CREATE_BE_RS_NEW - how to debug in ECC (SRM shopping cart)

raymund_gumba3
Explorer
0 Likes
365

Hi,

We are using BADI BBP_CREATE_BE_RS_NEW (ECC system).

We put external breakpoint on this BADI. Made sure also that the BADI is activated.

Our problem is it didnu2019t stop on our breakpoint. Authorizations to debug/etc are there.

When it was not possible to debug when shopping cart is created in internet link (SRM), we used tcode BBPSC01 (ECC system) to see if we can go to the BADI and debug it. However still the program did not stop at break point at the ECC side.

(SRM Module shopping cart)

How do we debug this BADI in ECC? Anything to set up or ?????

SRM_SERVER 550 0013 SAPKIBKT13 SRM_SERVER 550: Add-on installation

SRM add on to ECC 6.0

Looking forward to hearing from you <removed by moderator>.

Thanks.

Edited by: Thomas Zloch on Sep 30, 2011 4:01 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member206439
Contributor
0 Likes

1) If your debugging in our Development system.

You can use the DO , ENDDO loop.

Copy and paste the below code in your BADI code where you want to start debugging.

Create the shopping cart in SRM then the screen will be in processing mode.

Go to ECC system transaction code SM50

execute the transaction you will see an ALV report with all processeor running.

You will find one line with your BADI name .

Select that line and GOTO -> Program/Session menu option -> Program -> Debugging.

After the above action Debugger will start and the curser will be at DO , ENDDO loop.

make the FLAG value = 'X" in the debugging and from there you can debug the BADI.

DATA : FLAG.
DO.
 IF FLAG = 'X'.
   EXIT.
 ENDIF.
ENDDO.

Once your debugging is over make sure that the above code is deleted.

Let me know if there are any concerns.

2) If you want to debug in the Testing or production environment then you have to login to ECC system with your RFC user name and put the external break point.

When you create the Shopping cart the RFC user will run the ECC logic thats why we ned to login with the RFC user.

We can request BASIS people to give the access for some time to debug the application with RFC user.

This you can do in Development also.

Thanks

Naresh

Edited by: Naresh Nelapatla on Oct 26, 2011 1:54 PM

Former Member
0 Likes

hi,

did you try setting an external breakpoint for the RFC user?

regards.