Q

How can a Java application pass data to an SAP table using JCo?

Updating a table directly in SAP is not recommended practice, says expert A

How can a Java application pass data to an SAP table using JCo?
Updating a table directly in SAP is not recommended practice. If the table you need to update is part of a standard business object, use the function builder to find the appropriate RFC or BAPI to call to update the business object. This ensures that you are not at risk of only updating part of a business object thus creating a rift in your transactional or master data.

If the table is a custom table that you have built in SAP, you will need to create a new RFC in the function builder that updates your custom table appropriately. In any case, JCo makes it easy to interface with SAP, through Java, using an RFC/BAPI, whether standard or custom. Once you have the interface identified, JCo allows you to retrieve a Java representation of that interface, input the appropriate parameters, structures, and...

tables, then commit these changes directly to the business object or custom table, as required.

This was first published in June 2005

Dig deeper on SAP Java and J2EE

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