cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the file name after reading the file from source directory in sap pi

Former Member
0 Kudos

Hi,

how to change the file name after reading the file from source directory in sap pi.

after one week  again how to  read the same file(before change file name) data.

Thanks & Regards

Bhaskar

Accepted Solutions (0)

Answers (3)

Answers (3)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Best option is to create shell scripts to move files and place it in sender and receiver channels Run OS command. Same suggested by Raja. Development time will be less with less complexity and monitoring is easy through RWB.

Regards

Aashish Sinha

zameerf
Contributor
0 Kudos

>>how to change the file name after reading the file from source directory in sap pi.

You can try to archive the first file into an Archive directory, file name would be changed by adding timestamp as the prefix automatically.

>>after one week  again how to  read the same file(before change file name) data.

You can have another sender file channel with Processing Mode as Delete and Availability Time Planning enabled with particular weekly time to pick the same file from Archive directory.

This is just an option, not sure how it exactly fits your scenario.

rajasekhar_reddy14
Active Contributor
0 Kudos

You can try with Shell script or add one more receiver channel with sender directory FTP details and move files with desired name.