Q

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 first published in November 2004

Dig deeper on SAP interface technologies

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close