12-18-2006 4:44 PM
Hi all!
I need to implement a function module in background mode that contains a call transaction.
The problem is that i need a synchronization between consecutive calls, so i have to insure that one FM is processsed completely to start the next one. I tried with qrfc's but that solution only insures the order of the functions. Any suggestions?
I appreciate if anyone can check this statement once.
Thanks!
12-18-2006 4:55 PM
in second and subsequent FM u need to check whether the previous job has been completed or not. U can find the session name in a table wherein the execution process fields are also present, Using this u can do it.
12-18-2006 4:55 PM
in second and subsequent FM u need to check whether the previous job has been completed or not. U can find the session name in a table wherein the execution process fields are also present, Using this u can do it.
12-18-2006 6:50 PM
Hi Ramesh!
Could you specify this table? Anyone?
Thanks in advance.
12-18-2006 7:32 PM
Use lock object ESFUNCTION, to lock the function execution,
Regards.
12-19-2006 9:14 AM
Ok, peluka. I'm going to try this way but, what happens when another process wants to execute a FM that is locked? Is this process waiting until unlock? This is what i need.
Thanks!
12-19-2006 10:31 AM