cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Integration issue in SAP CPI

Yogendra_Ahuja
Explorer
0 Kudos
1,169

Hi Experts,

I am trying to get the SFTP file but i am facing some issues. Actually my file name looks like- Filename_fromdate_todate.csv. So, by using the groovy script i am getting the fromdate(Currentdate-2), todate(Current date-1) and setting those 2 variables in properties. Then i am using those properties in SFTP adapter file name like Filename_${property.fromdate}_${property.todate}.csv; So, i am using the Request-Reply for this adapter. But i am ggetting error as Request-Reply2 is not supported for the adapter. Can you suggest me on how to achieve this? I tried with Send as well. But no luck. error-sftp.png

View Entire Topic
robsonchiarello
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Yogendra,

As I could see in your script a ";" char is missing in the "def today = new Date()" row.

Can you fix that and check if the issue will remain?

Thanks.

Cheers.

Robson