Retrieving table data from SAP through JCo

Retrieving table data from SAP through JCo

I need to retrieve data from a specific table in the SAP database using JCo. Is this possible? If so, please give me some pointers on how to go about it.


    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 best way to do this is using 'RFC_READ_TABLE'. This allows you to specify a table, fields, and search parameters to retrieve data directly from an SAP database table. Bear in mind, if you need to do multiple table lookups or joins, using this RFC over and over will add additional stress to the application server.


This was first published in July 2002