on 08-05-2014 2:25 PM
Hi All ,
I'm trying to run a couple of FM in parallel by using new task :
Call function 'FM'
Starting new task '123' destination 'NONE'
Calling init_end on end of task.
In the WDA method init_end I have a parameter p_task and :
Receive results from function 'FM'.
-The FM signature is the same.
The above doesn’t worked so I added a time trigger but I can't pass the p_task parameter to the action method.
Is there any way for parallel processing in WDA beside shared objects and DB selections in the time trigger ?
Regards,
Arie.
I used call function starting new task ,
The FM updates the DB and after that I used Time trigger to check the DB and update the view
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you probably found out the problem here is that you can't expect the WDA to be executed when you need it and that is why you resorted to using TimedTrigger. With TimedTrigger you could use any of the methods available for sharing data in Web Dynpros but that is far from optimal. The optimal solution would be to trigger an asynchronous event once the parallel processing is completed and the WDA would catch this event and do it's processing. See for reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't do it the way you have implemented it. There is no connection between the WDA and the function module being run as a separate task. You need to program a central process for the parallel processing which schedules the work units and maintains their status, either in memory or in database. In that central process you can for example update a cluster table which you can then query in the WDA when it is invoked by TimedTrigger or explicitly. That said the solution is non-optimal. If you need help with the parallel processing part, use the SCN search to locate documents, blogs, discussions, etc. on the topic.
Hi ,
"There is no connection between the WDA and the function module being run as a separate task"
The above means that any other FM call ( in background / new or update task ) is irrelevant ?
What do you mean by "central process" ?
Is there any other way to bypass like submit a program or schedule a job ?
Thanks,
Arie.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.