GET_SAPGUI_WORKDIR

Use

Retrieves the SapWorkDir for the Windows and Java GUIs. For the Web GUI the current directory is returned. The SapWorkDir is an SAP specific directory which is intended for temporarily storing files which are needed by other applications.

Argument

[CHANGING] sapworkdir TYPE STRING

Receives the SapWorkDir for Windows and Java GUI and the current directory for the Web GUI.

Exceptions

CNTL_ERROR

Thrown if the directory cannot be determined.

ERROR_NO_GUI

Currently not used.

GET_SAPWORKDIR_FAILED

Currently not used.

NOT_SUPPORTED_BY_GUI

Raised if neither Windows nor Java nor Web GUI is being used.