2008 Jan 12 5:26 AM
Hi all,
How to lock an user defined transaction for some time during which no user can access the same?
Reply wil be appreciated,
Varsha.
2008 Jan 12 5:30 AM
Hi all,
How to lock an user defined transaction for some time during which no user can access the same?
Reply wil be appreciated,
Varsha.
2008 Jan 12 5:30 AM
2008 Jan 12 8:38 AM
Hi,
: Use transaction SM01. Scroll through the transactions and check against the transaction to be locked. And after the maintenance is over, go back to SM01 and uncheck the same to unlock.
Reward points if found helpfull...
Cheers,
Chandra Sekhar.
2008 Jan 12 1:00 PM
HI Varsha,
Just use SM01 transaction to lock the any transaction & u can use the same transaction to unlock the same.
Regards,
Chandru
2008 Jan 12 1:57 PM
hi,
SM01 will surely help you,.
reward if helpful
regards,
srikanth tulasi.
2008 Jan 12 2:07 PM
Hi varsha,
If you have authorization goto SM01 and tick the check box then it will lock the tcode,
if not basis people will have authorozations.
As per my knowledge we can lock tables using Enqueue and Unlock them using DEQUEUE.
But We cannot lock Transactions within the program, So better try locking the individual tables used in the particular transaction. Almost always there's a main table related to a transaction, which you must lock (probably at record level, giving full key).
Search for or create a lock object for that table and use function modules ENQUEUE_(lock object) / DEQUEUE_(lock object), sending table key parameters.
Reward if helpfull.
Regards,
Kashyap
Edited by: Kashyap Ivaturi on Jan 12, 2008 3:07 PM