2005 Oct 18 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
2005 Oct 18 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
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
2005 Oct 18 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
2005 Oct 18 2:23 PM
2005 Oct 18 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
2005 Oct 18 2:22 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |