cancel
Showing results for 
Search instead for 
Did you mean: 

How to save internal table data to file on local disk from smartforms?

Former Member
0 Kudos

Hi there,

I'm trying to save internal table data into .csv file on presentation server from within smartforms using GUI_DOWNLOAD function.

This function works fine from abap program, but when I call it from smartforms it does nothing. Form prints ok and there is no file created on local dick.

Is there a way to save smartforms internal table data to local disk?

Thanks in advance,

Baske

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi , you cannot download it from Smartform i think. you better pass the table to memory Id using EXPORT MEMORY and get it in your calling program or try to save the file in application server using OPEN DATASET.

Hope it will help.

Rgds,

Jey

Former Member
0 Kudos

Hi Jey,

Thanks for your prompt replay.

Unfortunately, Iu2019ve tried both your suggestions without success. Smartforms behaves just like in case of GUI_DOWNLOAD. There is no file saved on disk.

Do you have any other idea?

BR,

Baske

Former Member
0 Kudos

Hi,

I wrote my own code and it's working now.

Thanks.