Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

lock table exclusive ?


is it possible to 'lock' an table for a specific time ?

i have a Z-table where rows are inserted all the day.

3 times a day i have to read the table and send data to another system.

is it possible to 'lock' a table , so that only this program can exclusivly use it ? so that

the other places where there is a insert into table have to wait until table is unlocked again ?

i don't want to be rows inserted during the programm runs 3 times a day.

reg, Martin

Former Member

when calling the 2 FM, is there anything i should do with the parameters iface, idate and itime, which

are export parameters ? how to fill it ?

can i be sure that other programs 'wait' until the table is unlocked again ?

Those are key fields specific to the table in the example. If you want the programs to 'wait', you have to use the built-in function parameter or program the wait in a loop yourself. Check the help files on ENQUEUE as Thomas has already suggested.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question