2008 Mar 12 11:55 AM
Hi,
I have a RFC function, which is updating and inserting data of database tables.
As it can be, that some calls are coming in in a second, I have to lock the
tables.
So I have used the function to lock and unlock the tables, but it´s still not working.
When I´m calling my RFC function in the debugger and let it a bit more time, it is working
fine, but when it´s really going fast during the rfc calls, only a few calls are going to be
processed on the tables.
I have checked the importing parameter _WAIT, but its still not working. How can I be sure,
that all my calls are going to be proecessed on the database? Shouldn't it wait at the
enqueue function, when I have set the _WAIT parameter?
Thank you for your help!
Michael
2008 Mar 12 12:00 PM
Hi,
Use the ENQUEUE function module for entire table.
http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/frameset.htm
Regards
Sudheer
2008 Mar 12 12:02 PM
I have used the ENQUEUE function module... And I have set the _WAIT parameter.
SCOPE is set to 2 and the mode is set to 'E'.
So what else should I do?