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: 

SAP Temp directory

Former Member
0 Kudos
1,266

Hi,

Where do I set the following..

1. SAP Temp Directory

2. SAP Gui Directory.

Regards,

Prashanth.

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
337

I believe that these are determined at the time that you install the gui frontend. I don't think that you can change the SAP Temp directory, but you I believe that you can install the gui to a different directory.

Regards,

Rich Heilman

Former Member
0 Kudos
337

Hi Prashanth,

I'm sure I have NOT understood your question. There's an option to specify where the local data should be stored in the Local Data tab for SAP GUI Options.

Could you elaborate on what your requirement is ?

Regards,

Anand Mandalika.

FredericGirod
Active Contributor
0 Kudos
337

Hi Prashanth,

For the SAP temp directory :


  call 'C_SAPGPARAM' id 'NAME'  field 'DIR_TEMP'
                     id 'VALUE' field wlv_dirname.

and to set this value, must be in the RZ10 (ask your admin sys)

Message was edited by: Frédéric Girod

andreas_mann3
Active Contributor
0 Kudos
337

Hi Prashanth.

1)

CALL METHOD cl_gui_frontend_services=>GET_TEMP_DIRECTORY

CHANGING

TEMP_DIR = hstr.

CALL METHOD cl_gui_cfw=>flush.

2)

CALL METHOD cl_gui_frontend_services=>get_sapgui_directory
  CHANGING
    sapgui_directory = hstr.

 CALL METHOD cl_gui_cfw=>flush.

Andreas

0 Kudos
337

Andreas,

Yes the value returned by the method cl_gui_frontend_services=>GET_TEMP_DIRECTORY is right.

The thing is, I want to let the user change this entry. So if there is a transaction using which this entry can be changed, it will be good.

Prashanth.

Former Member
0 Kudos
337

I think you are talking about the Temporary directory.

Click on Customizing of local layout(ALT+F12)

then click on options-> Local data and below that you can change the local directory. that what you are asking ?

Former Member
0 Kudos
337

Try Transaction <b>SO21</b>. (This lets you change the Local Directory)

Rishi