Skip to Content
0
Former Member
Apr 14, 2010 at 12:53 PM

Locking of objects between service calls

67 Views

Hello,

Is there any practial way to lock an object (for example a loan) with one service so that it stays locked until another service commits the transaction and releases the lock? The service is a RFC function module that will be called by a web application. My problem is that when I use the standard ENQUEUE function the lock dissappears as soon as the first service is finished.

Also, if one service would create a lock of an object and another one starts the update task, they probably wouldn't be in the same LUW, would that be a problem? If so, is there a solution?

Thank you and kind regards,

Steffen