Q

JCo and multi-threaded BAPI applications

I want to write a multi-threaded BAPI application, and I am concerned about overhead. If I have a few threads that

call different RFCs, can they share the same JCO.Client object or do they all need their own connection to R/3? What if I want to call the same RFC in R/3 using many threads? Is this possible, and does each thread need it's own connection? What about the repository object?


The JCo Repository is thread-safe, so you can share one. And yes, you need one connection for each concurrent access to SAP. Sharing connections between threads is not allowed.


This was first published in January 2003

Dig deeper on SAP ABAP

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