By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
I'm trying to write to SAP using JCo and BAPIs. I am able to use JCo to call BAPIs and retrieve data, but do not know how to write that data back to SAP. I want to be able to:
1. Pull a table/structure out of SAP depending on the BAPI that is called (which I can do)
2. Update/modify the table/structure
3. Write the table back to SAP
This is not how it works. You can only update those tables in SAP for which SAP has provided specific update BAPIs. So go to transaction BAPI and look for the BAPIs you need. If the required ones do not exist, try using an IDoc instead. Otherwise, someone would have to write a new update BAPI (which can be very difficult and time-consuming).