Q
Problem solve Get help with specific problems with your technologies, process and projects.

Writing to SAP using JCo and BAPIs

A reader writes, "I am able to use JCo to call BAPIs and retrieve data, but do not know how to write that data back to SAP." Thomas Schuessler offers advice.

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).
This was last published in November 2004

Dig Deeper on SAP UX

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close