11-16-2010 7:01 AM
Hello Friends,
How to find, what are all the Transactions/Programs are Active/Locked in the Production(PRD) Environment.
Is there any table or transactions available to find it out?
Please assist.
Regards,
Shrinivas
11-16-2010 8:06 AM
- To be confirmed : look at field CINFO in table TSTC, if it contains hexadecimal values of '80', '01', '02' or '20' it is locked (not sure, check)
- Use a call 'DY_CHECK_TRANSACTION' id 'TX' <tcode> if sy-subrc = 3 the transaction is locked.
- Use a call FM AUTHORITY_CHECK_TCODE, if NOT_OK is raised and the message i348(s#) is sent the transaction is locked
- First check via AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD <tcode> and if the object is allowed but NOT_OK is raised by the FM AUTHORITY_CHECK_TCODE, the transaction is locked.
Regards,
Raymond
11-16-2010 7:22 AM
You can check all the transactions active based on user using SM04 transaction.
SM01 transaction can be used for lock/unlock of transactions.
11-16-2010 7:24 AM
hai guru,
please check the t-code sm12 if the program is locked or not.
thanks,
anji.
11-16-2010 7:26 AM
Use SM04/SM12 will give you who is working on what and which are the objects and locked since when..
Nabheet
11-16-2010 7:37 AM
11-16-2010 8:06 AM
- To be confirmed : look at field CINFO in table TSTC, if it contains hexadecimal values of '80', '01', '02' or '20' it is locked (not sure, check)
- Use a call 'DY_CHECK_TRANSACTION' id 'TX' <tcode> if sy-subrc = 3 the transaction is locked.
- Use a call FM AUTHORITY_CHECK_TCODE, if NOT_OK is raised and the message i348(s#) is sent the transaction is locked
- First check via AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD <tcode> and if the object is allowed but NOT_OK is raised by the FM AUTHORITY_CHECK_TCODE, the transaction is locked.
Regards,
Raymond
11-29-2010 4:19 AM
Hello friends,
I got answer for this.
use standard program 'RSAUDITC'( Audit Info System: Display Locked/Unlocked Transactions).
execute this program and you can give programs list.
it will display locked programs list.
BR
Srinivasareddy
10-04-2013 1:39 PM
Hello srinivas ,
i need to check whether a tcode is locked or no ,
and i need to check in the middle of my z program .
if its locked then i need to do an operation and else i need to perform another .
**in the middle of the program i need to check .
11-29-2010 5:11 AM