cancel
Showing results for 
Search instead for 
Did you mean: 

DEbug RFC from Java Application

Former Member
0 Kudos

Hi,

I want to debug the ABAP RFC when fired from a Java application.

I am able to set the breakpoints in SAP GUI RFC source code, but for some reason RFC execution does not stop at the debug point when I fire that RFC from Java application.

The debug works fine when RFCs are fired from SAP GUI.

Thanks & Regards,

Amandeep Aggarwal

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

SAP Note 668256 would be of your interest.

Regards,

Prateek

Former Member
0 Kudos

Thanks a lot for your reply.

The note you have mentioned had a reference to another note(668252).

In this note , it says

To be able to debug a <user_2> user session as a <user_1> user, the following conditions must be fulfilled:

  • User <user_2> must either be a dialog user or a service user.

I got the JCO connection user changed to be a service user and then had to change the user mentioned in

Utilities --> Settings >ABAP Editor(tab)>Debugging (tab) to the JCO connection user.

That solved the problem.

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

You cannot use internal breakpoint while debugging from JAVA end

But you can try with external breakpoint

http://help.sap.com/saphelp_nw04/helpdata/en/b0/940640555ae369e10000000a155106/frameset.htm

Former Member
0 Kudos

Did you set External breakpoint/debug for this...

Rajesh