The content has been moved to below link. Please visit it at your convenience. Thank you for all your cooperation.
http://www.sapyard.com/unix-command-in-sap-abap/
We can help. Together we learn....
I found that there is one class which can be used to copy app server file from one directory to same/different directory.
CALL METHOD cl_cts_language_file_io=>copy_files_local
EXPORTING
im_source_file = 'FINAL_I424_1.TXT'
im_source_directory = '/tmp'
im_target_file = 'FINAL_I424_1_COPY.TXT'
im_target_directory = '/tmp'
EXCEPTIONS
open_input_file_failed = 1
open_output_file_failed = 2
write_block_failed = 3
read_block_failed = 4
close_output_file_failed = 5
others = 6
.
SAP Tips © 2008 All rights reserved.
Design by Padd IT Solutions
.Converted to Blogger by Blogger Tricks.