How can I consume a function in C, from SAP 4.6c or previous versions? I believe that version 4.6c cannot consume Web services.
The simplest way to do this would be to build a JCo RFC server that acts as a communication gateway between SAP and the Web service. Essentially, you would create a Java-based registered server program that can be invoked from within an ABAP program. That registered server program would then be responsible for invoking the Web service and translating between the HTTP request/response data and the ABAP import/export parameters.
Check out my article An introduction to the JCo server. You can also find a full sample application in my book Enterprise Java for SAP.
Dig Deeper on SAP Java and J2EE
How to provide an SAP R/3 4.5B application server with a Web service interface
Are you a Java/J2EE developer interested in SAP? This expert tip lists the most relevant SAP modules and technologies for you.
Explaining the difference between BAPIs and RFCs, how to find BAPIs in SAP and how to determine errors made from BAPI/RFC calls
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.