cancel
Showing results for 
Search instead for 
Did you mean: 

SM12 - Lock Entries are not deleted

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

we are facing the following problem.

Each day I can find some old lock entries in SM12 (older than 1 day).

We have maintained the auto-logout to 3 hours.

So it seems, if an user gets log-out automatically the lock sometimes gets not deleted.

Does anyone know a solution for this problem?

Or how to avoid this problem?

Kind regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member182657
Active Contributor
0 Kudos

Hi,

Please follow SCN link How to automatically release SM12 Lock Entries ... | SCN

Thanks,

Gaurav

Private_Member_19084
Active Contributor
0 Kudos

Hello Gaurav,

but this is not a solution for me.

I know, that over night people are not working and the should be log out automatically by system.

So may also be, that the log-out parameter is not working fine.

Kind regards

Answers (4)

Answers (4)

Former Member
0 Kudos

See the below link

former_member182657
Active Contributor
0 Kudos

Kindly go for SCN thread Auto Unlocking of locked objects in SM12 | SCN

Thanks,

Gaurav

former_member182657
Active Contributor
0 Kudos

Hi,

Please share the WP details from the system and also share hardware details as well.

Thanks,

Gaurav

Former Member
0 Kudos

Hi,

Enqueue mechanism is automatically managed in SAP, no need of user intervention.

If you have lock entries for a long time, it means "something is active".

You should look at active sessions, background jobs, business process which is causing.

Check whether it is happening for one table or for entire system, if it is for particular table then it can be traced easily using the tcode/table.

If it is happening for entire system, then check whether you have sufficient update processes or not? what is the status of update (SM13)?

Regards,

Nick Loy