Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing location for Directory of Documents

former_member608976
Participant
6,840

Hi,

Can anyone guide me how i will be able to change default location picked for Directory of Documents.

SAP GUI>Options>Local Data>File Lifetime(Navigation to view Directory of Documents)

i want it to point to a different location. After a lot of reading i found out that this can be done in \SAP\Common by adding few configuration details.

I am not very clear still what i can do to achieve this. Any guidance will help.


Thanks,

Anjana

8 REPLIES 8

S_Sriram
Active Contributor
0 Kudos
2,372

Hi Anjana.

From your question two different things are available.

1. SAPGUI logon pad configuration file location by default on windows desktop C:\Users\(User name)\AppData\Roaming\SAP\Common\

2. SAP GUI>Options>Local Data>File Lifetime is used to keep the SAPGUI temporary files, traces, cache, etc. are stored in the local Application Data directory.

Which one you want to change the directory?

Regards

SS

0 Kudos
2,372

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area. At the same time, the person will be informed of your comment (currently not).

Rashid_Javed
Contributor
2,372

Have you tried transaction code SO21 ?

It is used to "Maintain PC Work Directory"

RJv

2,372

This is an alternative of executing program via se38.

I liked this one.

2,372

SO21 does not refer to the same directory as the one stored in SAP GUI options.

SO21 refers to old technologies (still used), like SAPOffice or ABAP List, but all recent technologies refer to the "SAP GUI working directory" referred by the SAP GUI options. See Thanga answer (notes 1442303 and 2450698).

Moreover, the transaction SO21 sets the directory only for the current SAP GUI session. To make it permanent for one user, the parameter IDs GR8 and GR9 (respectively download and upload paths) need to be set in the user parameters (transaction SU3 or SU01). See Thanga answer (note 622128).

shakirali7
Participant
0 Kudos
2,372

Assalam-o-alykum,

I am using the following solution for this :

1. Execute SE38

2. RSSOPCDR program.

3. Execute or F8

4. Enter you desire location.

5. OK

This will definitely helps!

regards,

M.Shakir.

2,372

The notes 1442303 and 2450698 explain that there's a registry entry which may be created to define the SAP GUI Working directory. For example, for 64bit operating systems, there's the registry [HKEY_LOCAL_MACHINE\Software\Wow6432Node\SAP\SAP Shared] SapWorkDir (Type: Expandable String Value). I created it on my 64bit Windows 10 SAP GUI 7.60 compilation 1, and it works. It's also mentioned in the official "SAP GUI for Windows Administration Guide 7.50".

The note 622128 is limited to the SAPOffice upload/download dialogs and in ABAP Lists download dialog (and maybe in other old technologies). The working directory (registry above) is proposed by default but it may be overriden by the values of the parameter IDs GR8 and GR9 (respectively download and upload paths). Note that the note mentions the registry HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer which is no more used in the latest SAP GUI (maybe since 7.0). NB: the transaction code SO21 can be used to change both GR8 and GR9 for the current session (it also changes the unused registry), the same way as could be done by custom program through the ABAP statement SET PARAMETER ID.