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

Directory for temporary data

Former Member
7,752

Hi everyone!

I want to upload a file from the frontend and save it in a temporary location before processing it further. Is there a standard directory on the app server I can use (something like "%TMP% in windows, only standard for all types of SAP installations)?

Regards, Joerg

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,390

You can use sapworkdir

'Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer'

Regards,

Satish

4 REPLIES 4
Read only

Former Member
0 Likes
3,391

You can use sapworkdir

'Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer'

Regards,

Satish

Read only

0 Likes
3,390

Hi,

Thanks - but I need a directory on the app server.

Also, the path should be OS-independent, i. e. it should come from transaction FILE or something like that...

Regards, Joerg

Read only

0 Likes
3,390

Hi,

Go to Transaction AL11 -> DIR_TEMP /tmp/

You can place files in that folder

Regards,

Satish

Read only

Former Member
0 Likes
3,390

You can store it in the application server. There will be a temporary directory '/tmp'. Give any filename and it will create a file with that name in the path specified.

You can also create one using FILE transaction.

Check out transaction AL11 for existing directories.

Hope it helps.

Lokesh

Message was edited by:

Lokesh Aggarwal