Consuming a Web service from an SAP 4.6c R/3 application server

Consuming a Web service from an SAP 4.6c R/3 application server

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.

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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.

This was first published in February 2009