Skip to Content
Technical Articles

Outbound integration approach from SAP Cloud Payroll (Employee Central Payroll i.e. ECP)

When customers move 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 from on-premise systems via on-premise SAP middleware i.e. SAP PI.

Few customers decide to go with SAP PI as their first choice for all integrations from ECP. Few decide to go with SAP Cloud Platform Integration (CPI) and few decide to use both.

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 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. 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. The target host in the RFC connection points to SAP PI as shown below.

Scenario 2 –

2.1) Customer wants to use SAP CPI to interact with all vendor systems but at the same time wants to archive data in their network drive (which is in their landscape). It is not advisable to use 2 middlewares but it may be required as every customer has a different requirement and reasons behind it.

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

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) An RFC can be created in ECP system to point to SuccessFactors (SFSF) SFTP.  Every customer gets a space in SuccessFactors SFTP.

ECP can write the data in file format on SFSF 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 SFSF 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 (transaction code AL11). You can build a program in ECP to read the data from application server and write on SFSF 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.

You must be Logged on to comment or reply to a post.
  • 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.



    • 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.



  • 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!


  • 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.