upload file into application server
I created path in application server to upload data.
but path is not creating.
parameters: filename(128) default '/usr/tmp/testfile.dat'
open dataset filename for output in text mode encoding default.
if sy-subrc ne 0.
write: 'File cannot be opened. '.
loop at gstring into wastr.
transfer wastr-fstring to filename.
close dataset filename. " Closing the file