cancel
Showing results for 
Search instead for 
Did you mean: 

Java - SAP ( Web Services or RFC )

GonzaloMejia
Explorer
0 Kudos

Good morning experts,

I have a Java application and I want to read data from SAP tables. What I did was implementing a Function module and call it through RFC. The idea of the program is that I give the name of the table, the columns and conditions that must be met and the program returns the required data that matches the conditions entered from the table required. I made this connection using JCo.

I was told there is also the possibility of doing this through web services.

I would like to know a little more about this. What are the advantages and disadvantages of connecting from Java to SAP through RFC and doing it using Web Services, in which cases each one should be used and if I made the right choice implementing it through RFC.

Would be nice if you could refer me to some link to get more detailed information. I know there is a paper published in SAP Professional Journal that focuses on this topic: RFC vs Web Services, but I don't have a subscription to this source. If you can refer me to other free source would be great.

Thank you very much.

Accepted Solutions (0)

Answers (1)

Answers (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Probably you can refer to below link.

http://www.redmonk.com/jgovernor/2007/01/10/dork-post-rfc-vs-xml-web-services-performance-test/

Secondly, if you want to use WebService then you can convert your FM to WebService and use it.

For this, look out for below link for just a fair idea.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c...

Thanks

Aashish Sinha