Ask the Expert

Storing SAP information from a JCo connector

I am using the SAP JCo connector and connecting to SAP through BAPI. Presently, I am storing information of ten items in SAP Systems. One item is not present and I would like to store the information contained in the other nine items but also show user invalid items; any suggestions?

    Requires Free Membership to View

You will need to develop an RFC-wrapper around the BAPI that provides the supporting logic for your JCo application. In this case, you would use the RFC wrapper to invoke the BAPI to attempt to store the ten elements. The wrapper would then identify the error message from the element that failed and return an error message in the return structure to JCo. The Java application invoking the JCo call would then reformat and relay that message to the end-user, dependent on the type of user interface front-end (Web, desktop, Swing etc.).

This was first published in August 2007

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: