How to Copy a file to a different name in ABAP?

Question: Hi,

We have a requirement where we need to copy a file that the program just created to a different filename (add X at the end of name).

Can this be accomplished in ABAP? If so, please inform of the method.

All help is greatly appreciated.

Answer:
Just try *FILE*COPY* and F4 in SE37.. You will find a lot of Function Modules. Find the one that does the task for you.

The basic idea is to read the Source file and Copy it to Target files. You can yourself also write a small code for that. Just make sure of the servers that you need to copy from/to .. I mean if it is Application-to-Application, Presentation-to-Presentation, Appl-to Presentation etc.

br.
Copyright ?2007 - 2008 www.jt77.com