cancel
Showing results for 
Search instead for 
Did you mean: 

Debuggin BSP application

Former Member
0 Kudos

Hello

I am having the problem with debugging BSP application.

I'm developing one application. I enable the HTTP debugging for user1(Normal R/3 user) in r/3 side and set a break point. Now i login to my application using a web browser as user2(not an R3 user, but a user whos details are stored in a Z table).The application is not stopping at the break-point which i had set in my ABAP program. Any help??

Regards

Sriram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please post this question in BSP Forum. You have a better chance of getting your question answered.

I am not sure, how you map user2 to user1, but unless and until, you are entering into R/3 as user1, I do not think, it will stop at your breakpoint in ABAP Program. Hard code a statement :


break-point.

in your ABAP Program and check again. However, in this case, anyone who accesses this program directly or indirectly will confront this breakpoint. So be sure to remove that statement after testing.

Breakpoints in 4.7 are placed on the basis of user.

Regards,

Subramanian V.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey i did hardcode break-point. but it was not stopping there. So what i did is just put one infinite loop so that my web page juss hangs. In one of the process in which this particular event is handle(sm50), we can start debugging the same program and can come out of this infinite loop. Thats it.. way to gooo

bye

Former Member
0 Kudos

Hi Sriram,

Instead of using an infinite loop, why don't you check with the existing user in R/3? Although the user has been created in Z-table, there has to definitely be a mapping with the user in R/3.

As you would be aware, the approach you have taken is just a backdoor, and to debug even a simple application involves a tedious process.

In case, you still feel your approach seems better, perhaps you can explain why.

Regards,

Subramanian V.

athavanraja
Active Contributor
0 Kudos

Hi,

It may look silly, but did you log on to the right client from webbrowser?

If you have more than one client then if you dont specify sap-client=<client no> in the URL you will be logging on to default client.

Regards

Raja

Former Member
0 Kudos

Hey

I put one infinite loop in my program and from web i opened the page. Now in SM50 i went to the particular process and then went to debugging. This solves my problem in one way.

Regards

Sriram

Former Member
0 Kudos

Didn't hardcoding the break-point, solve your problem ?

That is strange.

Regards,

Subramanian V.