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

Data download into Application server

Former Member
0 Likes
276

hi all,

i have downloaded files from the application server,

using FM "RZL_READ_DIR_LOCAL".

But now my requirement is to move the downloaded files to new location in the application server.i have tried with

"open dataset w_dset for output in text mode encoding default. "

option,but while downloading it is getting downloaded as a single file but not as i downloaded.Could any one help me in this.

Thanks,

Nootan

1 REPLY 1
Read only

Former Member
0 Likes
252

open dataset <dsn> for output in text mode.

if sy-subrc = 0.

loop at itab.

tranfer itab to dsn.

endloop.

endif.

close dataset.

call function module ws_down load

in that mention path :/userdata/CAEorPAEor AAE/training/mytxt.txt.

u can give any existing path to down load in application server.if u want to view data in application server go to transaction code AL11.and follow the path which u have give in that function module.

if u r convinced reward points