This was a request from one of my customer, they wanted to see a half interface from a SuccessFactors systems to a SFTP system.
Let’s begin!
First let’s connect to our SAP BTP integration Suite and create a new integration flow.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP1-1024x403.png?resize=730%2C287&ssl=1)
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP2.png?resize=680%2C449&ssl=1)
Give it a name and click ok.
Click on the newly created integration flow to open and edit it.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP3-1024x689.png?resize=730%2C491&ssl=1)
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP4-1024x238.png?resize=730%2C170&ssl=1)
From the sender drag the arrow to the start event of our integration flow.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP5-1024x252.png?resize=730%2C180&ssl=1)
Choose the HTTPS adapter, this is how we will invoke our intregration flow with Postman.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP6.png?resize=399%2C515&ssl=1)
Enter the desired endpoint for the call, you can use anything you would like. I’m using “/SFSF_SFTP_DEMO”. Then uncheck CSRF protected.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP7-1024x963.png?resize=730%2C687&ssl=1)
Add an new step by clicking on the plus sign in the start event.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP8-1024x443.png?resize=730%2C316&ssl=1)
Let’s add a request reply. Search for request and add it by clicking “Request Reply”, this will be our call to our SuccessFactors system.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP9-1024x650.png?resize=730%2C463&ssl=1)
In the same way by clicking the “+” sign of the request reply, add a receiver and place it right under the request reply. This is our call to our SuccessFactors system.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP10-1024x632.png?resize=730%2C451&ssl=1)
Pull the arrow from the Request Reply to the Receiver, choose SuccessFactors as the Adapter type.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP11-1024x682.png?resize=730%2C486&ssl=1)
Choose your protocol, in my case, I’m using SOAP.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP12.png?resize=344%2C467&ssl=1)
In the connection details, enter your SAP SuccessFactors system, and choose a basic authentication.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP13.png?resize=730%2C839&ssl=1)
Here I use a credential name that I set up the the security material of the integration suite. Just as a reminder, this is where you can find it.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP14-1024x727.png?resize=730%2C518&ssl=1)
Now we need to select the entity and query we will be exporting. Click on processing and select your entity.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP15-1024x542.png?resize=730%2C386&ssl=1)
Connect to your system
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP16.png?resize=679%2C543&ssl=1)
Choose your entity, here I chose EmpCompensation
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP17-771x1024.png?resize=730%2C970&ssl=1)
Choose the fields you want and click “OK”
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP18-1024x467.png?resize=730%2C333&ssl=1)
Let now convert this XML response to a JSON format, click on the “+” sign of the Request Reply and add a XML to JSON converter. We don’t need to modify anything here.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP19-1024x644.png?resize=730%2C459&ssl=1)
Let’s add a content modifier after this converter by clicking again the “+” sign.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP20-1024x623.png?resize=730%2C444&ssl=1)
In the Message Header, we will just notify that this is a JSON message by adding “Content-Type” and the value “application/json”
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP21-1024x500.png?resize=730%2C356&ssl=1)
From the End event, drag the arrow to the receiver, this will be our SFTP system. Choose SFTP as the adapter type.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP22.png?resize=571%2C816&ssl=1)
Specify your output directory, the filename, the address of your SFTP system and your credential name.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP23.png?resize=700%2C569&ssl=1)
We are ready to save and to deploy our integration flow.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP24-1024x234.png?resize=730%2C167&ssl=1)
Verify that the integration flow is up and running, retrieve the end point.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP25-1024x329.png?resize=730%2C235&ssl=1)
Once you have your token, let’s test this this in Postman.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP26-1024x626.png?resize=730%2C446&ssl=1)
This looks perfect! Let’s verify that the file was indeed pushed to our SFTP system!
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2022/04/SFTP27.png?resize=561%2C408&ssl=1)
The file is there and has the data coming from SAP SuccessFactors!