Q

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?

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?
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

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:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close