Q
Problem solve Get help with specific problems with your technologies, process and projects.

Problem writing a Java app that accesses BAPIs using JCo

We are writing a Java Web application that accesses SAP BAPIs using JCo. We are facing a problem when we have multiple simultaneous calls from different Web users using the same BAPI with the same parameters. Some of them get a message that "the material is locked by user XXX," where XXX is the SAP username used in JCo.

We are writing a Java Web application that accesses SAP BAPIs using JCo. We are facing a problem when we have multiple simultaneous calls from different Web users using the same BAPI with the same parameters. Some of them get a message that "the material is locked by user XXX," where XXX is the SAP username used in JCo.

I am not sure whether this is an SAP issue, or a Java issue, or if I should handle this by implementing some kind...

of queue system, so that I will never have two users calling the same BAPI with the same parameters at the same time. Do you have any documentation on this problem?

This is totally application-specific (nothing to do with JCo or BAPIs in general). You need to talk to an application expert to determine whether the SAP customizing can be changed in a way that helps you. Otherwise, this is normal behavior to prevent multiple concurrent updates.
This was last published in November 2004

Dig Deeper on SAP Java and J2EE

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close