How To Lock SAP Client

来源:互联网 发布:php 命名空间 use 编辑:程序博客网 时间:2024/06/05 04:33
 

1. How to lock the client from logon
P@l�?�?.M.}#O133162. How to see the all the users connected per day (with the activitiesthey have done and resource utilization)

I cannot answer the first straight away, but the second questions, thereare many available SAP transactions. 

use STAT very useful and many options available if you use them correctly.
h eQ!n B�Sn.w fF#v13316 

1. I don't know how how to lock the client, but you can lock the systemwith "tp locksys <SID>" and unlock it with "tp unlocksys <SID>".You can also stop the service, but then noone can login including yourself. However, I had problems with tp locksys when applying some Hot Packagesand exporting client. It wouldn't work with system locked. I didn't try,but a   simple ABAP that locks and unlocks all the users in tableusr02 (with exceptions of yourself, SAP*, DDIC... - ofcourse) might bean interesting idea.

2. STAT transactionITPUB个人空间6F8o,cb&V#`-ku
 

You can lock the system thro "tp locksys" (Transport Utility).ITPUB个人空间;Zf|,e6}x
Check the other options of "tp" command for locking the specific clientunder the system thro "tp help".
5lX)G X*R'u-q13316 

With this solution I can lock the whole system, but not specified byclient.
K:TW^)/:m13316Send me in more detail....ITPUB个人空间.p&i"K6DKf9ni
 

There's no way to lock a client.
_ [3f~1G13316You have to lock all users from loging in of this specified client.ITPUB个人空间 UB2BT ~
The way you do is by user administration setting the lock.
.i*@7e dfA_/BfR6e3z13316 

We can lock a client using SCCR_LOCK_CLIENT and unlock SCCR_UNLOCK_CLIENTfunctions.

Once we run this functions with a client as input , that client willbe locked/unlocked. Actually this function set flag '' Client is lockedtemporarly for client copy" in client maintanance menu. And the clientwill be available for users other than DDIC and SAP*. If you try to loginin that client as any user , system gives message that ' Client lockedtemporarly'..ITPUB个人空间`AX$`piV6ai
 

Is there any t-code to lock a client?

There is no direct tcode to lock a client. the easiest way to lock aclient is ITPUB个人空间d3?#@s&Lh-k)N/R
1. run tcode SE37ITPUB个人空间&M q^,t-X
2. type function module name - SCCR_LOCK_CLIENT
zl0G4Qh9FuRR"X133163. enter the Client No.
7~!E9X:^+L|H133164. execute the function module.

原创粉丝点击