on 02-22-2008 6:09 AM
locked objects are not displayed in lock entries (ie)SM12?
I did all the locking procedure correct but these locks are not
diplayed in SM12 (i.e)Lock entries??
SM12 display the Database locks... what locking procedure are you talking about?
Regards
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any updations are welcome
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey manjula,
refer these links for ur clarifications.
http://help.sap.com/saphelp_47x200/helpdata/en/37/a2e3ae344411d3acb00000e83539c3/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/cb/168237d30d974be10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/c2/2d7037ecc92a7ee10000009b38f8cf/frameset.htm
regards,
bhupesh
Hi,
When a lock request comes from a user for a table, first the lock entry is made in SM12. The lock entry is made only when no other lock entries are present for that particular table.
To execute the lock request ( or the lock entry in SM12 ) a corresponding lock object is defined in ABAP dictionary. The lock object is nothing but, it contains the details on which table to be locked.
So when corresponding lock object is created, it has a series of lock modes assigned to them like, Write locks (X), exclusive write locks (E), Shared locks (S). The lock modes are shown SM12.
THis is definite indication that lock objects for defined for lock entries in SM12.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SM12 displays SAP transactional locks (managed by enque service). There are different from database locks.SAP does not use DB locks at all.
Transactional lock means that if you start a SAP transaction for data change appropriate lock key for edited object is creatred wchich can be observerd in SM12.Lock depends on object edited.
Lock is removed after SAP transaction is completed and data is updated by update processes in database (you can see status of update processes in SM12).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One of the most common mistakes you hear when teaching is that SAP does not use database locks, SAP does use database locks. SAP uses its own locking mechanism to provide more enhanced locking features, as described in these posts, for SAP transactions.
The reason you have transaction DB01 is to monitor the database locks which are created when the work process does the actual write/delete on the database. DB01 allows you to see these locks and also allows you to identify deadlocks which can occur, as we have just witnessed on our systems over the weekend.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.