Skip to Content
Technical Articles
Author's profile photo Manu Bhutani

Options available for Outbound integration from Employee Central Payroll i.e. ECP to third party Vendors

When customers transition from on-premise SAP system to Cloud they are hesitant to either continue their integrations from on-premise or move to cloud. One of the biggest reason for this is that they have already invested a lot in their integrations Landscape from on-premise systems via  SAP middleware i.e. SAP PI.

Few customers decide to go with SAP PI as their first choice for all integrations from ECP. Others decide to go with SAP Cloud Platform Integration (CPI) and there are few who go with both at the same time.

Scenario 1 – Customer doesn’t want to use SAP CPI

All outbound integrations from ECP should send the data to vendor as well as write the file on their internal network drive (inside the customer landscape/ DMZ) which is in customer’s landscape.

Data from ECP can be sent via idoc to SAP PI which further sends the data to vendor and archives the file via SFTP. Custom message types can be build in ECP as per interface mapping.

In the above figure, ECP sends idoc to SAP PI via an ABAP Connection i.e. Connection type 3 (refer below screenshot).

The target host in the RFC connection points to SAP PI as shown below.

Scenario 2 – Customer wants to use SAP CPI along with SAP PI

Customer wants to use SAP CPI to interact with all vendor systems and also wants to archive data in its network drive which is only accessible via PI. It is not advisable to use 2 middleware but it may be required as every customer has a different requirement for different reasons and policies behind it.

In this case both SAP PI and SAP CPI will be utilized in the integrations as shown below.

2.1) via SOAP from ECP

SAP CPI can send the data to SAP PI via SAP Cloud Connector. SAP PI can then archive the data in internal network drive.


2.2) via Flat file from ECP

An RFC can be created in ECP system to point to SuccessFactors SFTP.  Every customer gets a personal SF SFTP with the license.

ECP can write the data in file format on SF SFTP from where SAP CPI can pick the file and pass on to vendor.

SAP CPI also sends this data to SAP PI via SAP Cloud Conector for archival.

In the above figure, ECP writes data to SF SFTP via RFC of Connection type G i.e. HTTP connection to External server. The target host points to the SFTP server. Example shown below.

Note – ECP can write the file on application server ( accessed via transaction code AL11). An ABAP program can be developed ECP to read the data from application server and write on SF SFTP via this Type G RFC. This program can be scheduled accordingly.

If the file needs to be archived on the Customer’s on-premise SFTP server then SAP CPI can also do that. There’s a solution which SAP has given in Nov 2018 release. Refer this blog for more information.

Here’s the link of my blog for Inbound Integration approach to ECP.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Ka Shun Wong
      Ka Shun Wong

      Hi Manu Bhutani,

      Thanks for your sharing.

      I am interested in the last part - ECP reads/writes to SuccessFactors SFTP.

      Would you mind telling more how it can be worked? As I currently explore the same requirement and found ECP (or SAP ERP) has no standard method/function to access SFTP (but only FTP).

      Appreciated if you can give me a light on it.



      Author's profile photo Manu Bhutani
      Manu Bhutani
      Blog Post Author

      Hi Carson Wong,

      There's no standard program given by SAP to write the file on SFSF SFTP. I remember our developer created a program (SE38) which read the file from application server (AL11) and transferred the file to SFTP via the RFC I mentioned.



      Author's profile photo Amulya Lewis
      Amulya Lewis

      Hello Manu,

      I require to use synchronous RFC calls from ECP to S/4 via SAP PO for Payroll Postings.

      The outbound synchronous BAPI calls is feasible from ECP to On-Prem SAP PO?

      Thanks in advance!


      Author's profile photo Suresh Pal
      Suresh Pal

      Hi Manu,

      I have the requirement to connect on cloud ECP to SAP PO system.But can you let me know the back end configuration to import required IDOC from ECP to ESR of PO system for mapping.

      or there is any method to import IDOC into ESR of PO system.

      or ALE configuration will be remain same as we do in on premise ABAP and PO system.

      Thanks in Advance.


      Author's profile photo Aman Srivastava
      Aman Srivastava

      we have a requirement to pull a text/xml file from SAP WebGUI directory AL11 into CPI, can anyone please help how to proceed with, or please refer me some blogs.

      Author's profile photo Manu Bhutani
      Manu Bhutani
      Blog Post Author

      one way I remember is to write a program to transfer the file from AL11 to SFTP and then CPI reading from SFTP server.

      Author's profile photo Aman Srivastava
      Aman Srivastava

      Sorry didn't mean to be difficult,  my issue is how to pick the files directly from SAP WebGUI's AL11 directory into CPI. Is it possible?

      please not it is a webgui and not on prem system, therefore we think there are possibilities to implement this!!



      Author's profile photo maxx currey
      maxx currey

      Please keep in mind that there is no such thing as "on-premise" in real English.

      To sound normal and not pretentious SAP and others should be using "on premises".  In addition, I do not want to fall into this incorrect habit or my English professor wife will roll her eyes at me.

      Thanks for doing this blog.