Can I update an SAP table from a Java program?
Is it possible to update an SAP table from a Java program?
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
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.
Dig Deeper
-
People who read this also read...
This was first published in November 2004