Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Muniyappan
Active Contributor
Recently I have done SFTP based scenarios using SAP CPI trial tenant. I will share here in this blog, how you can set up SFTP server and connect to SFTP using SFTP channel.

I have followed below blog to create my SFTP server on Google Cloud. It worked without any issues.

https://medium.com/@biancalorenpadilla/sftp-google-cloud-storage-d559fd16e074

Once you are done with SFTP server setup, you can start creating your iflow in your CPI tenant. To configure SFTP channel, we need SFTP connection details and user credentials. Of course you have to deploy host key of SFTP in CPI Tenant under known_host keys.

You can get the host key by doing connection test from your tenant. Unfortunately this connection test is not available in trial account.However I have tested this from my company partner tenant. Once connection is successful you can copy the key and deploy.

check this blog for getting host key

https://blogs.sap.com/2017/08/03/cloud-integration-how-to-setup-secure-connection-to-sftp-server/

If you are using only trial account, then you can copy host file from SFTP server. Host file will be in folder /etc/ssh. You just have to copy the file and create known_host file and deploy in CPI.



you can remove the instance text which comes at the end.

 



your known_host key should look like this.



Now you can deploy your known_host in CPI under path Operation view ->Manage Security -> Security Material section.

For testing purpose I have created below flow. Sending some payload from content modifier step.



 

 



receiver channel config.



 

Files in SFTP server after deploying flow.



 

Similarly you can configure and test sender scenario.

Hope this will help you to test SFTP scenarios in CPI on your own like consuming public soap/rest/odata services.

Big thanks to SAP for providing trial CPI access 🙂

 

References

2521381 - Configuring SFTP for SAP HCI: Creating "known_hosts" Files

 
18 Comments
Labels in this area