Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

lock the Tcode

Former Member
0 Likes
980

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

7 REPLIES 7
Read only

Former Member
0 Likes
881

contact ur basis team

Read only

Former Member
0 Likes
881

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

Read only

Former Member
0 Likes
881

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>

Read only

Vijay
Active Contributor
0 Likes
881

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

Read only

alejandro_bindi
Active Contributor
0 Likes
881

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.

Read only

Former Member
0 Likes
881

goto sm01

Read only

former_member196280
Active Contributor
0 Likes
881

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