Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is ABAP Multi-Session/ multi-threading capable?

Former Member
0 Likes
528

Hi,

I am currently stuck with a problem in the following scenario -

A batch job in SAP collects a number of sales documents. These sales documents are then fed to a function module (one sales document after the other, in a loop), which calls a remote function in my web application with particular data from the sales document as input paramaters.

The web application processes this data and writes back the result to the function module. The function module is blocked the whole time until it recieves an answer from my web application.

The web application uses JCo to "speak" with the SAP System. JCo allows me to open 99 sessions (per User) with the SAP System.

The problem is of course, that I cannot use these 99 sessions if the function module is blocked the moment it is called.

Is it possible that this function module can be used or called from the batch job parallely using multi-threading or multi-session? In that case my web application can run through 99 sales documents parallely instead of processing them one by one.

Sameer

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
2 REPLIES 2
Read only

former_member194669
Active Contributor
Read only

0 Likes
484

Hi,

thanks for your link, it did answer a few other questions I had.

Since I come form the Java environment, it was a little difficult for me to understand how it can be done in ABAP, but the problem has now been solved by an external consultant.

Thanks for your help again!

Sameer