Do you need to do maintenance on a system and want to make sure nobody logs on to it while you're working on it?You can lock a system at the OS level by running: tp locksys <SID> pf=tpprofile
Example: To lock your DEV system enter this command: tp locksys DEV pf=saptranshostsapmnttransbintp_domain_dev.pfl
Users will get this message if they attempt to log on: "Upgrade still running. Logon not possible".
Notice that the message is not exactly accurate. TP locksys is mainly used during release upgrades so the message is kind of generic. But, it works!
To unlock the system, run: tp unlocksys <SID> pf=tpprofile
Now you can tell your boss that you know how to keep the users off the system!
Only SAP* and DDIC can log on to any of the clients in the system that has been locked.Regards, Giovanni.
Locking a System: tp locksys <SID> pf=tpprofile Unlocking a System: tp unlocksys <SID> pf=tpprofile