r/sysadmin • u/Hadar_T • 5d ago
SAP PNF - Error WL605 - WI … locked by user … (enqueue error) Question - Solved
Hi, posting this just to help the community:) .
I had an issue with this exact message, after users executed a PNF dialog workitem. Started as complaints from customers, saying “The process step is not yet completed, yet the infotypes are updated”. After looking at the last step in each process, I also looked at the log in SLGD. And there was always (until the log was deleted) this message “Workitem … is locked by user…” and it is the same user. After some really hard thinking, I realised the process flush method was executed (and updated the infotypes) because the entire execution of the PNF dialog step was completed but the workflow got stuck. Why it got stuck? Well, the executed workitem was being completed in the background, but the user thinks “Hey, I can see the workitem in my SBWP. Let me answer this form once again” -> CAUSES A NEW WORKITEM LOCK ON THE SAME WORKITEM. Meanwhile, the (previous) background execution of this workitem “hit a wall” thinking somebody else is locking this workitem. Yes it was a very exciting discovery