10-16-2015 1:31 PM
Hi Gurus!
Lets assume that our partner has a C or Java lib.
From this lib we have to call a function that takes a string and gives back a string.
I would
Is there any better solution for that performance wise?
Thanks,
Best Regards,
David.
10-16-2015 11:02 PM
Hi David,
Would not it be better to create a webservice and consume the values that you want?
You will need:
Created the service;
A PI or connection created directly in SAP (Tcode SM59) ;
ABAP developer to process the data.
Warm regards,
Raphael Pacheco.
10-17-2015 8:07 AM
10-17-2015 8:39 AM
Hi
To call a RFC from external system - you need a SAP connector. For example Java based application, you need JCO connector, through which you can call the RFC from your external program.
Otherwise,
Write a ODATA service and consume it from your application.
Regards,
Venkat
10-19-2015 10:27 AM
Dear All,
thanks for the answers!
Raphael: the webservice seems like a big hassle since the client does not have dedicated webserver.
Venkat: if I create a server program and set it in SM59 then I do not need any connector at all. Am I right?
Matthew: I assume you had done stuff like that (since you commented on the performance...). Could you affirm me, that the whole process could be achieved like that:
It is really a matter of performance, so if you could advice something better than pls. do!
Thanks and best regards,
David.
10-19-2015 10:55 AM
If you use a web service, then there are additional layers and data conversions that you don't go through if you use direct RFC. It seems evident then, that RFC will be faster. CPIC is an alternative to RFC, but don't know much about. I seem to recall that RFC relies on CPIC, so CPIC is likely to be the absolute fastest.
You may find that a web service's performance is "good enough", however. So you need to balance the relative complexity of RFC (bespoke, SAP only interface) with the simplicity of a web service (global standard).