I want to write a multi-threaded BAPI application, and I am concerned about overhead. If I have a few threads that...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.