‎2008 Apr 15 11:29 AM
Hi All,
Can anybody explain me what are the lock objects and what is exact use of it?
I also want to know the transaction used to know the list of programs and other objects changed when we are going to upgrade the system.
Thanks & Regards,
Deepak.
‎2008 Apr 15 11:36 AM
Hi
It's a logical lock, used to avoid several users elaborate the same records contemporany.
For every table u can create a lock object by trx SE11, after creating it the system generates a function for locking and a function for unlocking can be used in the program to active or deactive the lock.
The fm for locking checks if the record is just locked by another user.
The trx for program updated by upgrade or patch is SPAU
Max
‎2008 Apr 15 11:31 AM
Hi pls check this link yaar
The SAP System synchronizes simultaneous access of several users to the same data records with a lock mechanism. When interactive transactions are programmed, locks are set and released by calling function modules (see Function Modules for Lock Requests). These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary.
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
it is SE11. in SE11 u have option Lock Object
reward if helpful
raam
‎2008 Apr 15 11:33 AM
Hi,
Please refer the link below:
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm
Thanks,
Sriram Ponna.
‎2008 Apr 15 11:34 AM
Hi,
Lock Objects
The SAP System synchronizes simultaneous access of several users to the same data records with a lock mechanism. When interactive transactions are programmed, locks are set and released by calling function modules (see Function Modules for Lock Requests). These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary.
Structure of a Lock Object
The tables in which data records should be locked with a lock request are defined in a lock object together with their key fields. When tables are selected, one table (the primary table) is first selected. Further tables (secondary tables) can also be added using foreign key relationships (see also Conditions for Foreign Keys).
Lock Arguments
The lock argument of a table in the lock object consists of the key fields of the table.
The lock argument fields of a lock object are used as input parameters in the function modules for setting and removing locks generated from the lock object definition. When these function modules are called, the table rows to be locked or unlocked are specified by defining certain values in these fields. These values can also be generic. The lock argument fields therefore define which subset of the table rows should be locked.
The simplest case of a lock object consists of exactly one table and the lock argument of the table is the primary key of this table. Several tables can also be included in a lock object. A lock request therefore can lock an entire logical object, and not only a record of a table. Such a logical object can be for example a document comprising an entry in a header table and N entries in a position table.
Locks can also be set from programs in other systems with the corresponding interfaces if the lock object was defined with RFC authorization.
A lock mode can be assigned for each table in the lock object. This mode defines how other users can access a locked record of the table.
Reward points if useful....
Regards
AK
‎2008 Apr 15 11:34 AM
locked objects would be objects from SAP standard that are locked in transport requests. you will have to release them in order to get your upcoming upgrade safely through phase import_proper.
before the upgrade check in tx SE03 (or any other transport-related SE*) whether there are workbench-transports that contain SAP elements.
there's no such transaction as far as i know. make sure you read the release-notes etc. in order to get an image of the changes that will affect your business.
‎2008 Apr 15 11:36 AM
Hi
It's a logical lock, used to avoid several users elaborate the same records contemporany.
For every table u can create a lock object by trx SE11, after creating it the system generates a function for locking and a function for unlocking can be used in the program to active or deactive the lock.
The fm for locking checks if the record is just locked by another user.
The trx for program updated by upgrade or patch is SPAU
Max
‎2008 Apr 15 11:39 AM
All of you!! Please read the original posters question!!
He/she prepares to do a system-upgrade!
Edited by: Mylene Euridice Dorias on Apr 15, 2008 12:40 PM