You can log off from the SAP System from any screen.
The Log off dialog box appears (as shown here), informing you that any data you have not yet saved will be lost if you proceed with logging off.
If you are certain that you have saved all of the data you want to save, choose Yes. All of your SAP System sessions close. You have successfully logged off.