How To Lock SAP Client

 

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

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

use STAT very useful and many options available if you use them correctly.
heQ!nB�Sn.wf F#v13316 

1. I don't know how how to lock the client, but you can lock the system with "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 Packages and 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 table usr02 (with exceptions of yourself, SAP*, DDIC... - ofcourse) might be an 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 client under the system thro "tp help".
5lX)G X*R'u-q13316 

With this solution I can lock the whole system, but not specified by client.
K:T W^)/: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_CLIENT functions.

Once we run this functions with a client as input , that client will be locked/unlocked. Actually this function set flag '' Client is locked temporarly for client copy" in client maintanance menu. And the client will be available for users other than DDIC and SAP*. If you try to login in that client as any user , system gives message that ' Client locked temporarly'..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 a client is ITPUB个人空间d3?#@s&Lh-k)N/R
1. run tcode SE37ITPUB个人空间&M q^,t-X
2. type function module name - SCCR_LOCK_CLIENT
zl0G4Q h9F uRR"X133163. enter the Client No.
7~!E9X:^+L| H133164. execute the function module.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值