GET_SAPGUI_DIRECTORY

Use

Retrieves the installation directory, i.e. the directory in which all major modules of the GUI are located, for the Windows and Java GUIs and the current directory for the Web GUI.

Argument

[CHANGING] sapgui_directory TYPE STRING

In this variable the installation directory is returned for the Windows and Java GUIs; for the Web GUI the current directory will be stored in this variable.

Exceptions

CNTL_ERROR

Thrown if the directory cannot be determined.

ERROR_NO_GUI

Currently not used.

NOT_SUPPORTED_BY_GUI

Currently not used.