SAP Note 519852 - Working directory of SAP GUI for Windows

Component : Graphical User Interface - Frontend Installation

Solution : https://service.sap.com/sap/support/notes/519852 (SAP Service marketplace login required)

Summary :
This SAP Note outlines the procedure for setting the directory for SAP GUI trace file creation. The problem pertains to the fact that since GUI release 6.20 and subsequent GUI versions, the default working directory setting changed from '%sapworkdir%' to either the directory containing 'saplogon.exe' or an unset state if unspecified. Post-GUI 6.20 patch level 3, if no directory is defined in SAP GUI shortcuts, the working directory defaults to 'sapworkdir'. Users can set a custom directory without SAP GUI altering it, ensuring trace files are stored either in 'SapWorkdir' or a user-defined directory. The registry path for 'SapWorkdir' is provided for ensuring compatibility across different operating systems and SAP GUI versions. The note suggests checking it under 'HKLM\Software\Sap\Sap Shared [Sapworkdir]', and for 64-bit OS, under 'Wow6432Node'.

Key words :
registry underhklm\software\sap\sap shared [sapworkdir], hkey_local_machine\software\wow6432node\sap\sap shared, create sap gui trace files, sap gui sets, downward compatibility reasons, 64-bit operating systems, user creates icons, working directory reason, trace files, user-independent

Related Notes :

1442303SAP GUI 7.20 - replacement of SAPWORKDIR
425507Sapshorcut: create trace files
411777Saplogon: supply trace file
360718SAPLPD: No write authorization for work directory