reyemsaibot

SAP BI Blog about SAP BW/4HANA, Analysis for Office and SAP HANA - by Tobias Meyer

Analysis Office 2.1 Logoff via VBA

Since version 2.1 Analysis for Office is now finally a VBA command to log out
of the current system.

 

So far is nothing in the help file, but it is called in the SCN Forum under „Whats new in
Analysis for Office 2.1
„.

 

The command is:

1
2
3
Public Sub Logoff()
  Call Application.Run("SAPLogoff",Parameter)
End Sub

 

Parameter:

  • True: With this value, the connection is restarted the system
  • False: With this value the connection will not restart the system

Result:

  • 0: faulty execution
  • 1: Successful execution
SAP Analysis for Office: Parameter False
Parameter: False
SAP Analysis for Office: Parameter True
Parameter: True

author.


I am Tobias, I write this blog since 2014, you can find me on twitter and youtube. If you want you can leave me a paypal coffee donation. You can also contact me directly if you want.

Kommentare

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert