Can I use JCo for outbound connectivity from SAP to a Java object?

Can I use JCo for outbound connectivity from SAP to a Java object?

Can I make a Java function call in SAP -- either in an RFC, a BAPI or BADI -- and pass parameters?

    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.

I believe you are referring to outbound Java connectivity from SAP to a Java object. The answer is yes, and the mechanism is fairly straightforward. You would need to the JCo connector to build a Java RFC server. This RFC server registers itself as a server program with SAP, and allows you to define an RFC destination to it.

Check out my article A Brief 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 December 2005