2 minute read

How to End Another User's SAP Session

We’ve all been in that situation. You want to change a certain SAP document (e.g. a sales order in transaction VA02), but the system is giving you the following message: “Sales document 4711 is currently being processed (by user XYZ)”.

Locked sales order in SAPLocked sales order in SAP

Often the user in question will simply have forgotten to close the transaction. This is an issue as SAP will keep the sales order document locked until they close it.

In order to resolve this issue, the logical next step is to try to get hold of the user (e.g. via email, Slack, Teams, etc.) and ask them to release the lock so that you can edit the sales document. Sometimes, however, the user locking the transaction may be away from their desk or already at home.

But you don’t have time to wait for them to return. You need to fix something in the sales order now – e.g. remove a delivery block. Luckily there is one more trick you can use – manually terminating the SAP session of another user.

Manually end another SAP user’s session

In order to kick another user out of their session, first open transaction SM04 and search for the user locking the document and the respective transaction. If you don’t have access to transaction SM04, reach out to somebody who does have access – e.g. a key user.

List of user sessions
List of user sessions

Double click on the session. This will open an overview of all the open transactions of the specific user.

List of open transactions of a specific userList of open transactions of a specific user

Select the transaction you would like to end and click Delete Session. The lock has gone and you can continue editing the document!

Want more SAP tips?

We’ve got lots of helpful “how to” articles on our blog. Simply visit our blog homepage and click on the “how to guides” tab to see them all.

SAP ERP® and SAP S/4HANA® are the trademarks or registered trademarks of SAP SE or its affiliates in Germany and in several other countries.


most read

Keep on reading

2 minute read

How to Save an IDoc Parser Report to a Local File

In this short and simple guide we show you how to save an IDoc parser report to a local file in just a couple of easy steps.

6 minute read

How to Debug SAP Message ME161 - "The Notified Quantity Exceeds the Ordered Quantity"

Don't know how to fix SAP error message ME161 "The notified quantity exceeds the ordered quantity"? In this article we break it down.

6 minute read

SAP® EDI Project Roles - A Breakdown

Learn the various EDI project roles involved in achieving successful EDI integration in SAP systems and how the different roles interact.

3 minute read

How to create an SAP transaction code

Want to know how to create an SAP transaction code for an existing ABAP program so that you can easily call the program?

9 minute read

Alternative Solutions for EDI Data Exchange with SAP PI and SAP PO

Discover the three possibilities when it comes to implementation of electronic data interchange (EDI) in SAP Process Integration or SAP Process Orchestration (SAP PI/PO).

6 minute read

How to Set Up and Manage Automatic SAP Jobs

SAP jobs can be used to automate processes in SAP ERP so they can be carried out without user intervention. We explore the key features.

4 minute read

IDoc Status Change in SAP ERP

IDoc statuses are not always the clearest - particularly when errors occur. In this article we explain how to change IDoc status as required.

11 minute read

Migration to SAP S/4HANA - 5 Key Considerations

Are you prepared for migration to SAP S/4HANA? Discover the 5 key questions all businesses looking to upgrade to SAP's new ERP system should consider.

2 minute read

How Can You Save an IDoc from SAP on Your Hard Drive?

Wondering how to export IDocs as a file on your local computer? We created a handy guide!

5 minute read

Create and Process UBL Documents with Attachments in SAP

Enable your SAP solution for UBL based e-Invoicing over Peppol. Click here for an example case based on the XRechnung in Germany.

6 minute read

IDoc Processing in an SAP ERP System with Transaction BD87

Companies utilising SAP ERP and exchanging documents need a central tool to manage, view and search for IDocs. Transaction BD87 is the answer.

12 minute read

EDI_DC40: Understand the SAP IDoc Control Record

A correctly filled control header is essential for the identification and processing of IDocs. We show what settings are needed in SAP.

We use cookies to provide an optimal website experience. You decide which one you want to allow. Depending on the setting, however, not all functionalities may be available to you. Data protection & imprint.