cancel
Showing results for 
Search instead for 
Did you mean: 

SAP working directory

05-30-2013 4:09 AM
12037 views 8 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

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

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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


Former Member
0 Likes

Hello,

It is 730. I will check on this and provide feedback. Thank you.

regards,

Grace

Former Member
0 Likes

Hi Algrace,

Did you solved the problem ?

In our company we have the same problem.

Thank you for your reply.

Best regards, Alex

Answers (1)

Answers (1)

JimRadiantExplorer
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

If you are using SAPGUI720, please have a look at SAP Note 1442303.

Thanks.

Jim

Former Member
0 Likes

Hello,

I am using SAPGUI730. The note is helpful but i could not find the file generated from the creation of the business role. I need the file to be able to create the menu of the business role.

Do you have any idea on this?

regards,

Grace

Former Member
0 Likes

Hi Algrace,

Do you know the filename?

If so you can search for it on windows using the search functionality, also use this to search for the workdir if you are unsure.

Johan

Former Member
0 Likes

Hello Johan,

I tried searching the file through the file name and even tried workdir but nothing shows up. Thanks!

regards,

Grace

Former Member
0 Likes

hi,

The default directory is always in this format

C:\Documents and Settings\T******\SapWorkDir

where all your documents get downloaded and stored.

But any time you can change the default location by using the tcode

Tcode SO21 - Maintain PS work Specific directory

Thanks

Jansi