2009 Mar 04 3:48 PM
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
2009 Mar 04 3:56 PM
Have you checked this
http://help.sap.com/saphelp_nw04/helpdata/en/3d/a846df17c1014e928626637ab06838/content.htm
a®
2009 Mar 04 3:56 PM
Have you checked this
http://help.sap.com/saphelp_nw04/helpdata/en/3d/a846df17c1014e928626637ab06838/content.htm
a®
2009 Mar 13 12:48 PM
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