Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to debug the BSP application

Former Member
0 Likes
693

hi

i'm doing the BSP application using MVC pattern. i want to know how to debug my application and the process of the application.. can any one help me

3 REPLIES 3
Read only

Former Member
0 Likes
648

hi,

There is one of two techniques/ideas:

(1) set the break-points in name of the public user. When on a BSP page in SE80, use menu Help>Settings (Hilfsmittel>Einstellungen). You are interested in the tab ABAP-Editor and then Debugging. There you can configure the user for which the breakpoints must be set. Only problem with this is that everyone now runs into your breakpoints.

(2) Run the "public" application under your name. It will only run public if you supply no authentication information. So you close all browsers. Start browser new, and add ?sap-user=X&sap-password=Y onto the URL. Do this only for testing.

Hope this helps, Do reward.

Read only

Former Member
0 Likes
648

Hi Rajeev,

Have you ever been in a situation where you want to debug a program but the darn thing runs in background? Here is a tip that will solve all your background debugging problems. There's only one condition: You have to be able to edit the coding. Enter an endless loop at the point you want to start debugging and start the program. Go to SM50. Wait till your process will seem to be "hanging". In the menu goto Program -> debugging. You will get into your program at the code you just entered. Change variable w_flag = 'X'.

Thanks,

Eswar

Read only

Former Member
0 Likes
648

Hi Rajeev,

This question has to post in the Expert Forums --> BSP. Anyway you have to use the method dispatch_input( ) in the DO_REQUEST method. Then only the control enteres to the debugging.

Hope this will Helpful.

Reward if useful...

Regards,

Anita.