2007 May 11 6:58 AM
is there lock object for t024 table?otherwise any fm for locking t024 table?
is there lock object for t024 table?otherwise any fm for locking t024 table?
2007 May 11 7:08 AM
No, there isnt' !
Try trx SE11 --> Lock object --> F4 --> Search with base table T024 --> no results
Maybe you can try to create a lock object yourself !
regards,
Hans
Please reward all helpful answers !!!!!
2007 May 11 7:08 AM
Hi Naren,
<b>Good ... check out the following documentation
Lock objects are used to lock the database table while making the modifications on the database table.
you can create your own lock objects using SE11.
if you create lock objects on any table system will create two function modules.
1.ENQUEUE....
2.DEQUEUE.....
first one is used to lock the table
second one used to removing lock on the table.
*----
lock Table
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
tabname = table_name
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
*----
Unlock Table
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
tabname = table_name
check this link :
http://help.sap.com/saphelp_40b/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
_SCOPE = 1: The lock is not sent to the update program. The lock is removed when the transaction is ended.
_SCOPE = 2: The lock is sent to the update program. The update program is responsible for removing the lock. The dialog program which requested the lock no longer has an influence on the lock behavior. This is the standard setting for the ENQUEUE function module.
_SCOPE = 3: The lock
Managingin lock entries
http://help.sap.com/saphelp_nw04/helpdata/en/37/a2e3ae344411d3acb00000e83539c3/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/168237d30d974be10000009b38f8cf/frameset.htm</b>;
Good Luck and thanks
AK
2007 May 13 5:23 AM
My question has been answered.Thanks for giving me the solution.I here by assign you 6 points.
Thanks & Regards
Naren
2007 May 11 7:18 AM
hi
good
i dont think there is any lock object for the t024 table,if you want to create a lock object for this table than you can create is using se11 and start the name with EZ*.
thanks
mrutyun^
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |