on 02-13-2009 12:52 PM
Hello!
I want to debug my wdp app on the ABAP side. I set breakponts in the RFC which I call form the wdp app. But when I run/debug it, nothing happens - the app is working without stopping...
If I call this RFC from a Visual Composer app all works fine - breakpoints trigger and ABAP-editor raises.
What's wrong with wdp? Why it doesn't see breakpoints?
Hi,
You can follow two steps for external debugging :
Step1 :
First log into backend and then open the RFC.Set the portal user for whom the external debugging should be active using the following steps
Go to Utilities->Settings->
select "ABAP Editor" tab on top then select "Debugging" tab. Now select the Active. check box to activate the external debugging. Set a breakpoint in the RFC code.
Then log into portal and run the application.
Step2 :
1 - Goto sm50
2 - Select another instance by double clicking. in the same window open the RFC and put the breakpoint
3 - Then log in as the portal user.
Basically the breakpoint doesn't stop when the server instance for both backend and portal are different.
Thanks
Ritushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Then log into portal and run the application.
>
> Step2 :
>
> 1 - Goto sm50
> 2 - Select another instance by double clicking. in the same window open the RFC and put the breakpoint
> 3 - Then log in as the portal user.
>
> Basically the breakpoint doesn't stop when the server instance for both backend and portal are different.
>
>
> Thanks
> Ritushree
I don't understand the 2nd step. Instance of what should I select?
When I go to sm50 I see list of processes. And when I execute my app nothing changes in this list. But if I do this from VC, as I said before, my proccess appeares in this list as well.
Hi,
Please have a look at this https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea7...
Regards
Ayyapparaj
Hi,
Please do use SM51 instead SM50.
After logging to the SAP GUI . In the right hand side of the abap workbench you will find in which instance u are currently logged (the place from where u information on client ,system, user ..etc.).
Then try with the transaction SM51 . You will get a list of server. Select a server-instance (system name-any 2 digit number) from the list (don't select the server-instance in which u are currently logged in.) And then in the same window ,open the RFC and put the breakpoint. Then log into the portal.
Thanks
Ritushree
>
> Then try with the transaction SM51 . You will get a list of server. Select a server-instance (system name-any 2 digit number) from the list (don't select the server-instance in which u are currently logged in.) And then in the same window ,open the RFC and put the breakpoint. Then log into the portal.
>
> Thanks
> Ritushree
In SM 51 there is only 1 instance.
I've checked usernames and they are the same for setting breakpoints and web dynpro calling. It's very odd... I still don't have any idea why breakpoints are ignored.
HI
The Login User/pwd for the ABAP backend and username /pwd for setting JCO 's should be same .
Otherwise RFC will not be triggered on setting external breakpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sometimes it happens with me. I usually stop the service and the problem was solved.
But sometimes you may using diferent users to acess the WD and your RFC. Make sure that it is not happening.
In last case you can follow this proceed:
1 - edit you abap source adding a infinity loop.
x = 1.
while x = 1.
x = x.
endwhile.
2 - start you WD app
3 - Goto sm50
4 - Edit the process in loop.
5 - change the value of x and continue debugging.
Verify the SY-UNAME and compara with the User setting up in the external break.
good lucky...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bazanov,
Did you activate the External Debugging for R3 user? If not, then u have to activate this for external debugging.
To activate, go to Function Module where you want to put break point, then Go to Utilities->Settings->
select "ABAP Editor" tab on top then select "Debugging" tab. Now select the Activ. check box to activate the external debugging.
Hope this will help you.
Thanks
Sandy
Hi,
When you set the break-points in RFC and you want to trigger those break pints from front end then the user who logged into portal & R/3 should be same. Otherwise the applications works without stopping at break-points.
Thanks & Regards,
Jhansi Miryala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.