Can I update an SAP table from a Java program?

Can I update an SAP table from a Java program?

Is it possible to update an SAP table from a Java program?

    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.

SAP does not recommend performing direct table updates to any delivered tables in SAP. The RFC/BAPI layer should provide the appropriate mechanism for updating a business document, which will provide the appropriate table updates. However, if you have custom tables in SAP ("Z" tables) you can write your own custom RFCs to provide direct table updates. Once you have the custom RFC created, simply use JCo to call the RFC from any Java program. Search this site for more information on JCo. You will find articles, tips, etc. from both myself and other Java/SAP programmers.

This was first published in November 2004