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

ENQUEUE & DEQUEUE

Former Member
0 Likes
610

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

2 REPLIES 2
Read only

Former Member
0 Likes
499

Hi,

Use the ENQUEUE function module for entire table.

http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/frameset.htm

Regards

Sudheer

Read only

0 Likes
499

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?