cancel
Showing results for 
Search instead for 
Did you mean: 

User Locked Automatically.

Former Member
0 Kudos


Hi Gurus,

Our one SAP production user found locked in every morning ( Which have SAP_All Profile), we have a policy after 5  wrong attempt  user get locked, and after 15 days new password require, so I request to you please help to resolve the issue and how to check the problem step by step.

Regards

Ashwani

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member189209
Active Contributor
0 Kudos

Hi,

Please co ordinate with Basis Team & ABAPer - and we need to define Scheduled Job for every 15 minutes - job will run -

and we need to write code in Z Program  with ABAPer that logic

and assign program in SM36 add in step - give program Name

then it will work

Thanking you

Regards

Mahesh

Former Member
0 Kudos

Hi sir,

We are not using any parameter as you mention above but not able to attach the. xls file please suggest me, how to attaché the SM20&SM21 logs.

Regards

Ashwani

former_member182657
Active Contributor
0 Kudos

Hi,

You can use report rspfpar for parameters with default & amended values.Just execute the report & export into txt or xls. Similarly for SM21 & SM20 logs by opting System--->List ---> save --> local file.

Then attach the required logs.

Regards,

Gaurav

Former Member
0 Kudos

Hi Sir,

I have already  download the SM20 & SM21 logs in .xls file, but how to attach the logs for you.

only showing to attach the image, insert video and link, no option showing to attach the word and xls file.

Regards

Ashwani


former_member182657
Active Contributor
0 Kudos

Hi,

Refer below image

Thanks,

Gaurav

Former Member
0 Kudos


Dear Sir,

Please find the attached sm20 logs.

Regards

Ashwani

mamartins
Active Contributor
0 Kudos

Hi,

The easiest way to track which connection is locking the user, is to activate the security audit, t-code SM19.

Then use SM20 to see the results.

Regards,

MM

Former Member
0 Kudos


HI MM Sir,

How to audit the single user for locked, please provide the step by step procedure.

Regards

Ashwani

mamartins
Active Contributor
0 Kudos

Hi,

On SM19, you have to create a profile and then activate it.

On that profile you can specify an user or all users (*). I prefer to have all users and then filter on SM20.

MM

Former Member
0 Kudos

Hi Sir,

Where can i find the audit logs file and how much  default size of the file and how to increase the file size or  how long run the Audit.

Regards

Ashwani


mamartins
Active Contributor
0 Kudos

Hi,

Please follow these threads (I get them on a quick GOOGLE search):

The Security Audit Log - Auditing and Logging - SAP Library

MM

Former Member
0 Kudos

Hi Sir,

Today my user locked again, I have download the logs via SM20 but not able to found the error, so please suggest how to find the problem from Audit logs.......

Regards

Ashwani


former_member182657
Active Contributor
0 Kudos

Hi Ashwani,

Share the parameters on your system first & system logs SM21 with audit logs SM20.Also confirm parameters which i asked in my earlier reply


Are you using parameters login/password_max_idle_initial  &   login/password_ max_idle_productive.

Regards,

Gaurav

Former Member
0 Kudos

This user may be part of one of the RFC or maintained in some other system with wrong password and when the connection kicks in the user gets locked after 5 attempts due to wrong password.

Check the trace files in \usr\sap\<SID\D*\work\dev* directory

former_member182657
Active Contributor
0 Kudos

Hi Ashwani,

Are you using parameters login/password_max_idle_initial  &   login/password_ max_idle_productive.Please confirm.Also share logs from SM21

Regards,

Gaurav