‎2007 Aug 01 7:47 AM
Hi,
any one can help me out in locking the transaction codes, please send youe views to 'muraly.g@gmail.com'.
thanks in advance.
-Muraly
‎2007 Aug 01 3:01 PM
‎2007 Aug 01 3:05 PM
Authorization object can be maintined for your transaction. Check out transaction SE93. The entry should be maintained in table TSTCA: Values for transaction code authorizations.
Regards,
Cmehr
‎2007 Aug 01 3:07 PM
Use transaction sm01 to find the transaction and lock/unlock it.
or
Run report rslocktrans from se38 and enter the variant value for the desired transaction and the lock/unlock checkbox.
regards,
srinivas
<b>*reward for useful answers*</b>
‎2007 Aug 01 4:11 PM
hi
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.
Otherwise, you cam lock the Transaction outside the program using SM01.
Hope this resolves your query.
<b>
Reward all the helpful answers.</b>
regards
vijay
‎2007 Aug 01 11:21 PM
As Vijay said, 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.
Regards
Please reward points if helpful.
‎2007 Aug 02 3:57 AM
‎2007 Aug 02 4:51 AM
If you have authorization goto SM01 and tick the check box then it will lock the tcode, if not basis will have authorozations.
regards,
Sairam