cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple logins for same user in Enterprise Portal and one of them has an incorrect password.

dang_thanhdung
Explorer

Dear friends,

I have issues with steps:

1. Login to SAP system by SAP GUI with account X on computer A

2. Login SAP system by SAP GUI more than 5 times to account X on computer B to cause account lockout.

3. The session with account X on computer A is still functioning normally.

Please tell me is it normal with SAP GUI (Show me the notes for it) ? If not, how can I disable sessions on computer A.

View Entire Topic
jmodaal
Active Contributor

Hello,

@s.sriram: I assume the original poster is more interested in an automatic solution of this issue than in watching users' lock state and active sessions.

@dang.thanhdung: This is the normal behaviour. If you really want to ensure that with the lock of a user also active sessions of the user will be closed, you have to schedule a small ABAP report periodically (very simple example: see below).
There is a user exit available in the login procedure (function module EXIT_SAPLSUSF_001), but it will be processed for successful logins only - therefore not useful for your purpose.

report Z_KICKOUT_LOCKED_USERS.
parameters: pTest type abap_bool as checkbox default abap_true.
data: kickoutUserParms type standard table of RSPARAMS.
" Add logon types and TEST param to parameter table for RLFW_SD_LOGOFF_USERS
kickoutUserParms = value #( kind = 'P' sign = 'I' option = 'EQ'
( selname = 'P_SYSTEM' low = ' ' )
( selname = 'P_BATCH' low = ' ' )
( selname = 'P_BSCHED' low = ' ' )
( selname = 'P_BUNIT' low = ' ' )
( selname = 'P_GUI' low = 'X' )
( selname = 'P_RFC' low = 'X' )
( selname = 'P_PLUGIN' low = ' ' )
( selname = 'P_APC' low = ' ' )
( selname = 'P_UNDEF' low = 'X' )
( selname = 'P_TEST' low = pTest ) ).
" Add locked users to the parameter table.
select 'P_UNAME' as SELNAME, 'S' as KIND, 'I' as SIGN, 'EQ' as OPTION, bname as LOW
from USR02 appending table @kickoutUserParms where uflag > 0.
submit RLFW_SD_LOGOFF_USERS with selection-table kickoutUserParms.

Kind regards,

Jan

dang_thanhdung
Explorer
0 Kudos

jmodaal Thank you so much!!!

I solved my problem.