---
sourceDocument: Xanadu Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/source-to-pay-operations

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Creator


---

# Configuring the SAP ECC and SAP S4 HANA integration

# Configuring the Source-to-Pay integration with SAP ECC and SAP S4 HANA {#ariaid-title1}

* Release version: Xanadu
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Integrate the ServiceNow instance and SAP ECC and SAP S4 HANA by creating a custom OAuth application in SAP ECC and SAP S4 HANA to authenticate ServiceNow requests.

## Application set up {#configuring-source-to-pay-sap-integration__section_af2_chx_22c}

Verify that you have performed the following:

* Activated the Source-to-Pay integration with the SAP ECC and SAP S4 HANA application from ServiceNow Store. This automatically activates the SAP ECC and SAP S4 HANA Spoke.
* Set up the Spoke:
  * [Set up the SAP ECC RFC spoke](https://www.servicenow.com/docs/access?context=setup-sap-ecc-rfc&version=yokohama)
  * [Setup the SAP S4 HANA Public Cloud spoke](https://www.servicenow.com/docs/access?context=setup-sap-s4hana-cloud-spk&version=yokohama)
  * [Set up SAP S4 HANA OData spoke](https://www.servicenow.com/docs/access?context=set-up-sap-s4-hana-odata-spoke&version=yokohama)
  {#configuring-source-to-pay-sap-integration__ul_en1_5vh_mfc}
* Activated the Source-to-Pay integration framework from ServiceNow Store. The Source-to-Pay integration with SAP ECC and SAP S4 HANA uses the Source-to-Pay integration framework to pull tasks from SAP ECC and SAP S4 HANA into
  ServiceNow. For more information on the Source-to-Pay integration framework, see [Source-to-Pay integration framework](https://servicenow-prod.fluidtopics.net/YVvKKQYQWPOqbZpGQResuw "As part of the Source-to-Pay (S2P) integration framework, customers can install an optional third-party ERP integration application that enables primary data, fixed assets, purchase order, receipt, invoice, and tax integration capabilities between S2P and the third-party ERP application.").

{#configuring-source-to-pay-sap-integration__configure-workday-learning_ul_vls_5lt_w4b}

## Primary Data Integration with SAP ECC and SAP S4 HANAs' Dependencies {#configuring-source-to-pay-sap-integration__section_pks_pqt_p2c}

Install the following dependencies of Primary Data integration with SAP ECC and SAP S4 HANA. When you install the plugin, all the dependencies get installed automatically. All primary data are synchronized based on the configurable
scheduled job Fetch Spend Primary Data.

Run the Trigger SAP ECC and SAP S4 HANA Integration that pulls tasks into ServiceNow. For more information, see [Use schedule flows in SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/LdLXsjXLqFJfym4AqaaX0A "Use the schedule flows that interact with SAP ECC and SAP S4 HANA to pull information on purchase requisition, purchase order, receipt, invoice, and sourcing.").  
{#configuring-source-to-pay-sap-integration__table_lmy_drt_p2c__entry__2}

| App name | Plugin ID |
|-|-|
| SAP ECC IDOC Spoke | sn_sap_ecc_idoc_sp |
| Source-to-pay Common Architecture | sn_shop |
| ERP Integration Framework | sn_fcms_intg |
| Utility Spoke | sn_utility_spoke |
| SAP ECC RFC Spoke | sn_sap_ecc_rfc_spo |
| Supplier Common Architecture | sn_slm |
| SAP S4 HANA Spoke | sn_hana_odata_spk |
[Table 1. Primary Data Integration with SAP ECC and SAP S4 HANA]

{#configuring-source-to-pay-sap-integration__table_lmy_drt_p2c}

## Supplier Lifecycle Operations Integration Dependencies with SAP ECC and SAP S4 HANA {#configuring-source-to-pay-sap-integration__section_pkx_h1j_q2c}

Install the following dependencies of Supplier Lifecycle Operations integration with SAP ECC and SAP S4 HANA. When you install the plugin, all the dependencies get installed automatically.  
{#configuring-source-to-pay-sap-integration__table_wd5_m1j_q2c__entry__2}

| App name | Plugin ID |
|-|-|
| Primary Data Integration with SAP ECC and SAP S4 HANA | sn_sap_data_int |
| ERP Integration Framework | sn_fcms_intg |
| Finance Common Architecture | sn_fin |
[Table 2. Supplier Lifecycle Operations Integration with SAP ECC and SAP S4 HANA]

{#configuring-source-to-pay-sap-integration__table_wd5_m1j_q2c}

## Sourcing and Procurement Operations Integration Dependencies with SAP ECC and SAP S4 HANA {#configuring-source-to-pay-sap-integration__section_b3l_vz3_q2c}

Install the following dependencies of Sourcing and Procurement Operations integration with SAP ECC and SAP S4 HANA. When you install the plugin, all the dependencies get installed automatically.  
{#configuring-source-to-pay-sap-integration__table_mmn_b1j_q2c__entry__2}

| App name | Plugin ID |
|-|-|
| Primary Data Integration with SAP ECC and SAP S4 HANA | sn_sap_data_int |
| ERP Integration Framework | sn_fcms_intg |
| Source-to-pay Common Architecture | sn_shop |
| SAP S4 HANA RFC Spoke | sn_sap_s4_hana_rfc |
| SAP ECC IDOC Spoke | sn_sap_ecc_idoc_sp |
[Table 3. Sourcing and Procurement Operations Integration with SAP ECC and SAP S4 HANA]

{#configuring-source-to-pay-sap-integration__table_mmn_b1j_q2c}

## Accounts Payable Operations Integration Dependencies with SAP ECC and SAP S4 HANA {#configuring-source-to-pay-sap-integration__section_j1w_p1j_q2c}

Install the following dependencies of Accounts Payable Operations integration with SAP ECC and SAP S4 HANA. When you install the plugin, all the dependencies get installed automatically.  
{#configuring-source-to-pay-sap-integration__table_ssj_s1j_q2c__entry__2}

| App name | Plugin ID |
|-|-|
| Primary Data Integration with SAP ECC and SAP S4 HANA | sn_sap_data_int |
| ERP Integration Framework | sn_fcms_intg |
| Source-to-pay Common Architecture | sn_shop |
| SAP S4 HANA RFC Spoke | sn_sap_s4_hana_rfc |
| SAP ECC IDOC Spoke | sn_sap_ecc_idoc_sp |
[Table 4. Accounts Payable Operations Integration with SAP ECC and SAP S4 HANA]

{#configuring-source-to-pay-sap-integration__table_ssj_s1j_q2c}
* **[ERP Source Configuration for SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/thBbXzhG7W~n1nWXusKCnQ)**   
  Configure your Source-to-Pay (S2P) instance to support inbound and outbound integration with your ERP system. This integration configuration enables you to automatically post purchase order, receipt, invoice, and download primary data from the ERP.
* **[Define ERP source configuration for SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/wt7DL9BE6q2S9Rw28~7AWQ)**   
  ERP source configuration determines the ERP source to which your ERP system connects. Map the integration payload with the SAP ECC and SAP S4 HANA tables.
* **[Configure integration services for SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/zGa8YGU8WyRzRjhqQPadBA)**   
  For configuring integration services, provide the connection end point and the SAP ECC and SAP S4 HANA ERP credentials that you set up for your authentication profile. Also, create a separate integration service record for each service request that you want to customize.
* **[Look up primary data in SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/E_1rGlY7fCrQ8aE6to3cXw)**   
  You can run a job to look up primary data (for example, Currencies) from different ERP sources into ServiceNow.
* **[Manually trigger flows or subflows in SAP ECC and SAP S4 HANA (Inbound)](https://servicenow-prod.fluidtopics.net/l6O_GnPeER3bqSrlIU5hpA)**   
  You can manually trigger flows or subflows in SAP ECC and SAP S4 HANA on demand. Follow these steps to manually trigger a flow or subflow.
* **[Scheduled jobs to look up primary data in SAP ECC and SAP S4 HANA](https://servicenow-prod.fluidtopics.net/F8FzplI8X6xe~A47vqx98w)**   
  You can schedule on-demand jobs to be run at specific intervals of time to fetch primary data from different SAP ECC and SAP S4 HANA ERP sources into ServiceNow.

