10-18-2005 2:16 PM
Hi!
Is there any FM available which will download file to the application server, (Just avoiding writing code(:>()
Thanks in advance.
AD
10-18-2005 2:19 PM
Not that I'm aware of. But here some code for ya.
report zrich_0001.
Parameters: d2 type localfile default '/usr/sap/TST/SYS/Data1.txt'.
data: begin of itab occurs 0,
rec(20) type c,
end of itab.
data: wa like line of itab.
start-of-selection.
wa-rec = 'Test'.
append wa to itab.
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
Regards,
Rich Heilman
10-18-2005 2:19 PM
Not that I'm aware of. But here some code for ya.
report zrich_0001.
Parameters: d2 type localfile default '/usr/sap/TST/SYS/Data1.txt'.
data: begin of itab occurs 0,
rec(20) type c,
end of itab.
data: wa like line of itab.
start-of-selection.
wa-rec = 'Test'.
append wa to itab.
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
Regards,
Rich Heilman
10-18-2005 2:23 PM
10-18-2005 2:21 PM
use FM : archiv_client_to_server
check for this Function module..
try to check with archiv*-->F4 it doesn't work...
u will get the exact FM.
(reward points if it helps u)
cheers
10-18-2005 2:22 PM