Hello SAP experts,
I would like to know where we could find the sapworking directory. I tried going to the path provided by google and SAP (C:\Documents and Settings\<User ID>\SapWorkDir\) but no the path does not exist.
Please advise. Thanks!
regards,
Grace
Request clarification before answering.
Hi Algrace,
For SAPGUI 720 and higher the full directory stucture is listed in this not as Jim stated.
Refer to note Note 1442303 - SAP GUI 7.20 - replacement of SAPWORKDIR.
Starting with SAP GUI for Windows 7.20 the local working directory SAPWORKDIR is obsolete and a new Windows compliant structure is used.
. The configuration files of the SAP GUI will be located in the directory %APPDATA%\SAP\...
SAP Logon configuration files (saplogon.ini, sapshcut.ini, SAPLogonTree.xml, saprules.xml)
Windows XP:
C:\Documents and Settings\<username>\Application Data\SAP\Common
Windows Vista/7:
C:\Users\<username>\AppData\Roaming\SAP\Common
Input History database
Windows XP:
C:\Documents and Settings\<username>\Application Data\SAP\SAP GUI\History
Windows Vista/7:
C:\Users\<username>\AppData\Roaming\SAP\SAP GUI\History
Remark: the directory for the history database can also be set to another default with the variable SetSapGuiHistoryDir while creating installation packages using the "SAP Installation Server Administration Tool".
The corresponding registry key is
[HKEY_LOCAL_MACHINE\Software\SAP\SAP Shared]"SaphistoryDir" on 32bit operating systems and
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\SAP\SAP Shared]"SaphistoryDir" on 64bit operating systems
(Type: "Expandable String Value" NOT "String" !!!).
New ABAP Editor Configuration
Windows XP:
C:\Documents and Settings\<username>\Application Data\SAP\SAP GUI\ABAP Editor
Windows Vista/7:
C:\Users\<username>\AppData\Roaming\SAP\SAP GUI\ABAP Editor
SAP GUI Scripts:
Windows XP:
C:\Documents and Settings\<username>\Application Data\SAP\SAP GUI\Scripts
Windows Vista/7:
C:\Users\<username>\AppData\Roaming\SAP\SAP GUI\Scripts
2. In the local Application Data directory (%localappdata%) temporary files, traces, cache, etc. are stored:
Folder for temporary documents
Windows XP:
C:\Documents and Settings \<username>\Local Settings\Application Data\SAP\SAP GUI\tmp
Windows Vista/7:
C:\Users\<username>\AppData\Local\SAP\SAP GUI\tmp
Important: Documents in the temporary directory will be deleted when SAP GUI is closed.
Files downloaded by the user
Windows XP:
C:\Documents and Settings\<username>\My Documents\SAP
With SAP GUI 7.30 the default has changed to:
C:\Documents and Settings\<username>\My Documents\SAP\SAP GUI
Windows Vista/7:
C:\Users\<username>\Documents\SAP
With SAP GUI 7.30 the default has changed to:
C:\Users\<username>\Documents\SAP\SAP GUI
Remark: the directory for the downloaded files can also be set to another default with the variable SETSAPWORKDIR while creating installation packages using the "SAP Installation Server Administration Tool".
The corresponding registry key is
[HKEY_LOCAL_MACHINE\Software\SAP\SAP Shared]"SapWorkDir"
on 32bit operating systems and [HKEY_LOCAL_MACHINE\Software\Wow6432Node\SAP\SAP Shared]"SapWorkDir" on 64bit operating systems
(Type: Expandable String Value).
Important: This registry value was always set by the installation for the SAP GUI for Windows 7.10 and earlier. The installer for the SAP GUI for Windows 7.20 will set this value only if a value has been specified in the "SAP Installation Server Administration Tool". Therefore, it can no longer be assumed that this registry value will exist on a client PC.
The folders for the temporary and user documents should therefore be determined using the corresponding methods in the class CL_GUI_FRONTEND_SERVICES. The temporary document folder can be obtained using the method GET_TEMP_DIRECTORY and the document directory can be retrieved by means of the method GET_SAPGUI_WORKDIR.
Cache
Windows XP:
C:\Documents and Settings\<username>\Local Settings\Application Data\SAP\SAP GUI\Cache
Windows Vista/7:
C:\Users\<username>\AppData\Local\SAP\SAP GUI\Cache
Comment: It would not make sense to have the cache in the roaming directory, because it is a local cache. Accessing the cache over the network would nullify the advantages that it would otherwise provide
Traces
Windows XP:
C:\Documents and Settings\<username>\Local Settings\Application Data\SAP\SAP GUI\Traces
Windows Vista/7:
C:\Users\<username>\AppData\Local\SAP\SAP GUI\Traces
What is your version of sapgui?
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If you are using SAPGUI720, please have a look at SAP Note 1442303.
Thanks.
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.