‎2008 Feb 11 11:02 AM
Hi All,
I need a function a module which can create a file in a specified directory with a specified name from an internal table.
Basically a function module which will have following input parameters
File name
Directory
Field Delimiter
Internal table
For eg; GUI_DOWNLOAD
But this Function Module doesnt work in the back ground.
Cheers,
Chaitu.
‎2008 Feb 11 11:14 AM
Hi chaitanya,
I couldn't find a function module which will help for your requirement.
Instead there is some other alternate solution for that one.
1) u can use open dataset to create a file name and store in the application server.
2) using transaction CG3Z - u can transfer a file from the front end to the application server.
Regards...
Arun.
‎2008 Feb 11 11:14 AM
Hi chaitanya,
I couldn't find a function module which will help for your requirement.
Instead there is some other alternate solution for that one.
1) u can use open dataset to create a file name and store in the application server.
2) using transaction CG3Z - u can transfer a file from the front end to the application server.
Regards...
Arun.
‎2008 Feb 11 11:50 AM
First of all, what has this to do with object oriented abap?
Second, there is no way to create a file on the presentation server while the program is running in background. Running in background, the report does not have a connection to sapgui.
You can create files on the application server using open dataset.
‎2008 Feb 18 4:49 AM
Hello Chaitu
Not sure if there is a function module or class available for download on application server.
However, Rainers answer appears to be not fully correct:
[Download Data from Application Server Files to Presentation Server|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0901cba-f49e-2910-748c-d7ce4c0c4c1c]
[Communication to Presentation Server in Background Mode|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2]
Regards
Uwe