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

When to use logical database locking?

gopalkrishna_baliga
Participant
0 Likes
481

Hi Experts,

I have a custom table in one SAP R/3 system A. I am updating this table from another SAP System B from two different programs ( one an user exit and another one a function module). Suppose user exit code is updating the table and at the same time the Function module also tries to update the same table. I think SAP automatically takes care of locking the table and unlocking it. I hope we don't have to explicitly code it right?

Then why SAP has provided ENQUEUE and DEQUEUE function modules? When exactly do we need to use them?

Please help.

Thanks

gopal

3 REPLIES 3
Read only

Former Member
0 Likes
445

Hi,

SAP will not automatically takes care of locking the table and unlocking it. you need to explicitely create ENQUEUE and DEQUEUE function modules.

Regards,

Preetham

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
445

Why don't you [Google|http://tinyurl.com/2ubgkb2] it ?

Read only

ThomasZloch
Active Contributor
0 Likes
445

Please search for available information before posting, don't post basic or generic questions.

Thread locked.

Thomas