cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging

Former Member
0 Kudos

HI Friends

I am trying to add an item to the shopping cart from purchasing wizard. The item I am trying to add is a new material I have created. In the wizard after the search of the item price field is not getting displayed. Price text is there but there is no associated input or output field. Below this field currency field is there and I am able to enter the currency there. When I press the button add to shopping cart, abap dump is coming. To find out the error I am trying to debug it. I typed "/h" in the command field and pressed the shopping cart button. System is not taking me into the debug mode. Please guide me to enter into the debug mode from the browser.

Thanks

Vidya

Accepted Solutions (1)

Accepted Solutions (1)

former_member195032
Active Contributor
0 Kudos

1st Method.


To debug in the Web,pls refer the foll steps:

-->Goto transaction SICF.
-->Select service
-->Change service settings and insert parameter ~GENERATEDYNDPRO=1.
-->Find program to debug. E.g. SE93. Enter bbpsc01 à Display and get Program field (SAPLBBP_SC_UI_ITS)
Execute SE38 and enter program name.
-->Turn HTTP Debugging ON. Utilities-Settings-Debugging. Click Actv and username.
-->Add HTTP Breakpoint. Display source code and select Utilities-breakpoints-set.
On “External Debugging” select ‘HTTP Breakpoint’.

-->Remember to remove breakpoints, deactivate debugging and remove parameter GENERATEDYNPRO.
Can run program RSBREAKPOINTS to find which programs you have breakpoints set in.


Look for



Another Method



haven't implemented the BADI, but what you might try is to program an endless loop in the badi and then start debugging from SM50.

So just code something like:
DATA: lv_endless TYPE XFELD VALUE 'X'.

IF sy-uname EQ 'YANN'. "don't bother anyone else here
WHILE lv_endless EQ 'X'.
ENDWHILE.
ENDIF.

Then go to SM50, select the process and click on "Program/Session"->Program -> Debugging.

Regard,Nishant

Former Member
0 Kudos

Sorry Nishant

I am not able to get it. I dont know where to keep break point. So I want to activate debugging from bbpsc02. Is it possible to activate the debugging before pressing a button.

Former Member
0 Kudos

-->Goto transaction SICF.

-->Select service

-->Change service settings and insert parameter ~GENERATEDYNDPRO=1.

Nishant

I went into SICF transaction and selected service. But dont know how to insert parameter. Kindly explain me little bit more.

Former Member
0 Kudos

Nishant,

In SICF...

Open the service (double click on the Service or select service and click on the 'Change" menu icon at the top).

Once the Service opens, go to the "Service Data" tab. There you will see a button "GUI Configuration'

Also, in the User-Specific setting (in SE38, Utilities --> Setting), go to the "ABAP Editor" tab, then go to the 'Debugging" tab. The <b>User</b> name must be the suer name you are using to test EBP with (i.e the user you are logging on to EBP with).

Hopes that helps...happy debugging.

Naing

Answers (0)