‎2009 Dec 19 10:49 AM
‎2009 Dec 19 11:00 AM
Hi Sandeep
Optimistic locks, or 'O' locks initially behave like shared locks and can be converted into exclusive locks.
An optimistic lock (mode 0) is set, if the user displays data in change mode. Optimistic locks on the same object cannot collide. If the user wants to save the (changed) data, the optimistic lock has to be converted into an exclusive lock (mode E). (This does not work, if beforehand another user has set a non-optimistic lock on the object). This procedure deletes other optimistic locks on the object.
Subin
‎2009 Dec 19 10:53 AM
‎2009 Dec 19 10:54 AM
Hi Sandeep,
i guess you are referring to Optimistic Lock.
Check this link
Programming with Optimistic Locks
http://help.sap.com/saphelp_nw70/helpdata/EN/9a/49d91d498b4e489eef193e949db3f7/content.htm
Programming with optimistic locks is not yet supported in the Data Dictionary. You have to request the locks, as shown in the example program below:
There are the new modes O and R for the ENQUEUE function modules.
Check for the demo program for Optimisitc Locks in the link mentioned above.
Regards,
SuryaD.
Edited by: SuryaD on Dec 19, 2009 4:25 PM
‎2009 Dec 19 10:55 AM
‎2009 Dec 19 11:00 AM
Hi Sandeep
Optimistic locks, or 'O' locks initially behave like shared locks and can be converted into exclusive locks.
An optimistic lock (mode 0) is set, if the user displays data in change mode. Optimistic locks on the same object cannot collide. If the user wants to save the (changed) data, the optimistic lock has to be converted into an exclusive lock (mode E). (This does not work, if beforehand another user has set a non-optimistic lock on the object). This procedure deletes other optimistic locks on the object.
Subin
‎2009 Dec 19 7:57 PM
Congratulations Subin - 30 points in only 3 posts.
Maybe you could let us know how you managed it. We'd all like to be able to answer questions as efficiently as you.
Rob
‎2009 Dec 19 8:17 PM
Looks like many of them are working hard to help SCN reach its goal
‎2009 Dec 19 11:01 AM
Sandeep,
Heres more input for you
<< Cut and paste without attribution removed >>
Check this link for more info
http://help.sap.com/saphelp_webas630/helpdata/en/8e/c7430d53fd2548be18a291c27bd72e/frameset.htm
<< Cut and paste without attribution removed >>
Hope this info helps you .
Regards,
SuryaD.
Edited by: SuryaD on Dec 19, 2009 4:32 PM
Edited by: Rob Burbank on Dec 19, 2009 2:33 PM