Application Development 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: 

How to check data passed to Remote FM which is getting called from ext sys.

Former Member
0 Kudos

Hello,

There is a call done to a RFC function module from external java system to SAP. Now, there are certain import parameters in SAP RFM where data is to be passed in a certain way.

Now the Java team is passing data in some wierd fashion.

If the Function module is called within SAP, I can put a break point and see how data is being passed.

But in this case the call is from outside so I cannot put any breakpoint and determine what exactly they are passing to finish the tussle between Java and SAP team. Is there a way or transaction where I can see the data being passed to Remote FM when it was called last from outside ?

Regards,

Rajesh.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rajesh,

I am surprised your Java Team cannot help you out with this issue. We have a similar scenario where a java proxy sends data to our SAP system on a recurring basis, and our java guy is able to tell us exactly what was sent, which helps in the debugging process. If you java guys cannot do anything, I would think this is an issue with your business logic. Who is responsible for the data?

To help resolve your issue, I would write to a log file (either a Z table or using OPEN DATASET and write to the application server). Having a log is a good idea especially if the java guys aren't helping you. That way, you can see what was passed, and then set your breakpoints in the RFC and push the same data through manually to debug your issues.

Good luck.

SL

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

You may log in with the user which is used by the java client to connect to sap system, and add an "external breakpoint" which is valid for 2 hours. It usually works. The user must be changed temporarily to dialog type if not yet done.

Former Member
0 Kudos

Hi Rajesh,

I am surprised your Java Team cannot help you out with this issue. We have a similar scenario where a java proxy sends data to our SAP system on a recurring basis, and our java guy is able to tell us exactly what was sent, which helps in the debugging process. If you java guys cannot do anything, I would think this is an issue with your business logic. Who is responsible for the data?

To help resolve your issue, I would write to a log file (either a Z table or using OPEN DATASET and write to the application server). Having a log is a good idea especially if the java guys aren't helping you. That way, you can see what was passed, and then set your breakpoints in the RFC and push the same data through manually to debug your issues.

Good luck.

SL