cancel
Showing results for 
Search instead for 
Did you mean: 

How to pick the files from dynamic folders in SAP CPI

n_rvsavinashvarma
Participant
0 Kudos

Hi Team,

We have a requirement to pick files from multiple directories based on latest folder which contains yesterday's file in SAP CPI.
example :

Folder_20191106 -- Contains 5th date file
Folder_20191107 - Contains 6th date file
Folder_20191108 - Contains 7th date file

Could you please suggest how to handle in SAP CPI.

Thanks,
Avinash

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi Avinash,

There is no standard way of picking files from multiple folders in CPI through SFTP adapter.

There are couple of suggestions I could think of:

1) Create a parent folder ParentFolder and create all the other dynamic folders under this.

In the channel parameter give the directory name as /ParentFolder and select Include Sub directories under Processing mode and select Post Processing Delete.

2) Alternatively there is a suggestion by which also you could try:

https://answers.sap.com/questions/34838/can-we-configure-multiple-sender-systems-to-fetch.html

Hope this helps !

thanks and regards,

Praveen T

n_rvsavinashvarma
Participant
0 Kudos

Thanks Praveen.Will try with the suggested approaches.