close sap.md

Close SAP

The Close SAP building block closes the SAP GUI application if it is already open. Depending on the selected action, you can close all open connections and sessions, or target a specific connection or session.

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Close SAP onto the canvas.

  2. Connect the block in the flow and set Action.

  3. Run the flow when it's ready.

Building block parameters

Parameters

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
SAP FAQ Provides quick answers and guidance for common questions and issues when automating SAP applications with Leapwork.