Application Development and Automation 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: 
Read only

SAP Temp directory

Former Member
0 Likes
2,929

Hi,

Where do I set the following..

1. SAP Temp Directory

2. SAP Gui Directory.

Regards,

Prashanth.

Hi,

Where do I set the following..

1. SAP Temp Directory

2. SAP Gui Directory.

Regards,

Prashanth.

7 REPLIES 7
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,000

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

Read only

Former Member
0 Likes
2,000

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.

Read only

FredericGirod
Active Contributor
0 Likes
2,000

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

Read only

andreas_mann3
Active Contributor
0 Likes
2,000

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

Read only

0 Likes
2,000

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.

Read only

Former Member
0 Likes
2,000

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 ?

Read only

Former Member
0 Likes
2,000

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

Rishi