Ask the Expert

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

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

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: