2006 Mar 15 11:38 AM
Hi all ,
Can u explain lockobject with an examle please?
I have an idea related to function modules like
enque and deque.But i need detailed explanation with
screen shorts etc,.. please do favour .
Thanks & Regards
Ravi
Hi all ,
Can u explain lockobject with an examle please?
I have an idea related to function modules like
enque and deque.But i need detailed explanation with
screen shorts etc,.. please do favour .
Thanks & Regards
Ravi
2006 Mar 15 11:42 AM
2006 Mar 15 11:48 AM
hi,
Use FM ENQUEUE_READ for locking an object. to know more... check the below links
http://help.sap.com/saphelp_erp2005/helpdata/en/3f/b3a24bcef94544967aa607addcf025/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/a1/caceaef4838748a7c8c9572dcae6a1/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/87/ff8c42fa33d665e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/03/2357428a070e53e10000000a155106/frameset.htm
Regards,
Santosh
2006 Mar 15 11:44 AM
Please go thru the following link
http://help.sap.com/saphelp_nw04/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/content.htm
2006 Mar 15 11:53 AM
Hi Ravi,
check this link it may be useful.
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Regards,
Arun.
reward points if it is useful.
2006 Mar 15 12:10 PM
Hi Charan,
Lock Objects are of three types.
Exclusive, cumulative
Shared
Exclusive, not cumulative
These are used to lock a record based on the lock mode
When a Lock object is created and activated it
generates function modules that set and release locks
Regards,
GSR.
2006 Mar 15 12:26 PM
hi Charan,
A lock object definition contains the database tables and their key fields on the
basis of which you want to set a lock...
When you create a lock object, the system automatically
generates two function modules with the names ENQUEUE_<lock object name> and
DEQUEUE_<lock object name>...
You can then set and release SAP locks in your ABAP
program by calling these function modules in a CALL FUNCTION statement...
Unlike the database, which sets physical locks, the SAP lock mechanism sets logical locks...
A locked database entry is not physically locked in the database table.
The lock entry is merely entered as a lock argument in the central R/3 lock table...
can you kindly close your previous and reward the helpful answers..
regards
satesh
2006 Mar 15 12:23 PM
hai ravi
just check out this link.
it gives introduction details and examples of creating and deleting lock objects.
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm
regards
praba
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |