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 Carson Wong
      Carson 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.