The CloseAllSessions action is relevant for SAP GUI protocol. It assures that all SAP GUI sessions will be closed and execution will not be affected when starting the execution.
We recommend adding this action at the beginning of your execution, e.g. in the Login flow.
To add the action please follow the steps below:
Step 1. Go to your Login flow and start the Recorder;
Step 2: Connect to SAP and record a Verify action on the login screen (you can verify any object on the screen, for example, password field);
Step3: Save the recording and place the newly recorded action at the beginning of the login flow (you can also rename the step to "Close all sessions");
Step 4: Configure the new action.
Open the step;
Change the Action Type to CloseAllSessions;
Save the changes.