‎2008 Aug 06 11:40 AM
HI!
The lock object we create through data dictionary is it client dependent or user dependent ??
Secondly, what is the utility of using our own lock objects in a report when the locking facility is already there as default in SAP.
regards
Amit
‎2008 Aug 06 12:21 PM
Hi Amit,
All dictionary Objects like Views,Domains lock objects etc and most of the repository objects like Programs, Fun modules are client independent.
Using the locking in SAP is entirely up to the programmer. You need to set the lock
(as you are doing) and when you're modifying you also need to check the lock before modifying.
So if, as you say, you lock the object, the corresponding place where you modify the
object also needs to check the lock.
If, for example, you are trying to set a lock on a Z table and then go to SM30 to
modify the table, the lock is totally ignored. The programmer is responsible for
both sides of the lock...
Also look at this link....
http://help.sap.com/saphelp_nw04/helpdata/en/fc/66cbc5ab4411d5b6f3006094192fe3/content.htm
For the Z* created lock objects....
Mohinder
Edited by: Mohinder Singh Chauhan on Aug 6, 2008 1:23 PM
Edited by: Mohinder Singh Chauhan on Aug 6, 2008 1:24 PM
‎2008 Aug 06 12:27 PM
Hi,
Lock object are Client dependent.
For the rest of query check the link-
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Regards,
Sujit
‎2008 Aug 06 2:00 PM
Amit, Locks are client dependent(like your application data is client dependent in SAP ),
you create your locks to lock Z* tables. there are locks provided by SAP too for SAP tables.
Thanks, Bindu
‎2008 Aug 06 2:03 PM
Hi,
1. Lock objects are Client-dependent.
For detail concept in 1st and 2nd query check the link
http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Regards,
Anirban