Skip to Content
Sep 27, 2013 at 01:43 PM

How to rename a file when move to archive ?


Hello Friends,

I have one requirement.

The source system places the input file. The input file is picked and the mapping is executed.

We have some validations in mapping like Account No, Currency Code through RFC lookup call in ECC.

If validation fails, we need to move the input file name to the archive directory with the naming convention <input file name>+<datetime>+"_ERR".

If mapping is success, we follow the normal process to move the input file to archive. (<input file name>+<datatime>)

I could not find the way/method how to do this (moving file based on mapping status)

Could you please clarify, Friends?

Thanking you.

Kind regards,

Jegatheeswaran P.