Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..
890 views

Check for successful logout (SAP GUI)

We have a SAP GUI script which logs in to the SAP box and executes SM50 after logging in. It tnen performs the logout via /nex.

Is there a way to check if the probe was able to successful execute the /nex?

 

Regards,

Jane

0 Likes
2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: Check for successful logout (SAP GUI)

Hello,

First thing, why do you want to check the logout?

Second, instead of doing /nex, try to close by clicking close button on top right. In this way you will get addition pop which ask "if you want to logoff Yes or No". Based on that window, you can do string comparison and able to validate the logoff.

 

Good luck.

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Re: Check for successful logout (SAP GUI)

Hello,  nik_0315000.

I am trying to check if it was able to successfully logout because there was instance where it was not able to which caused perfomance issues to the system due to the sessions not being released.

Thanks for the suggestion!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.