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


---

# ERP Source Configuration for SAP ECC and SAP S4 HANA

# ERP Source Configuration for SAP ECC and SAP S4 HANA {#ariaid-title1}

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

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.

ERP source configuration enables the implementation of specific logic to populate values pertinent to third-party ERP systems. It includes all integration services defined between Source-to-Pay (S2P) and the third-party ERP
system. In cases where multiple ERP sources exist, they're stored as distinct ERP source entries with their corresponding integration services.

To meet specific requirements, you can modify the service-mapping logic by updating the relevant service element map entry within the integration service record. For organizations using multiple ERP systems, an ERP Source field
has been incorporated into the tables to ensure accurate identification of the respective integrated ERP system.

## Prerequisites {#erp-source-configuration-sap__section_cvl_z5t_p2c}

Before you start the integration configuration, you must complete the following tasks.

* Add the following roles to the Integration user:
  * Import_transformer
  * SOAP
  {#erp-source-configuration-sap__ul_n2b_cvt_p2c}
* Get the following details from the ERP team:
  * ERP integration user credentials.
  * SOAP or REST API details based on your ERP system and the type of web services you are using for the integration.

Note:  
If the application needs to support multiple ERP instances, configure Source-to-Pay to integrate with each ERP instance separately.

## ERP Source Configuration {#erp-source-configuration-sap__section_ucl_kvt_p2c}

To perform the ERP Source configuration for SAP ECC and SAP S4 HANA, follow these steps:

1. Define the ERP source that you want to integrate with SAP ECC and SAP S4 HANA integration.
2. Create a basic authentication profile that can be used for web service integration with SAP ECC and SAP S4 HANA.
3. Define source configuration for ERP source. The ERP source configuration determines the ERP source to which your ERP system connects. For more information, see [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.").
4. The integration services are preconfigured with the base system for the following entities:
   * Currencies

     Set up subflows for the source configuration to lookup currencies from SAP ECC and SAP S4 HANA.
   * Legal Entities

     Set up subflows for the source configuration to lookup legal entities or company code details from SAP ECC and SAP S4 HANA.
   * FX Currency Rates

     Set up subflows for the source configuration to lookup FX rates from SAP ECC and SAP S4 HANA.
   * Cost Centers

     Set up subflows for the source configuration to lookup cost centers from SAP ECC and SAP S4 HANA.
   * Departments

     Set up subflows for the source configuration to lookup departments from SAP ECC and SAP S4 HANA.
   * Payment Terms

     Set up subflows for the source configuration to lookup payment terms from SAP ECC and SAP S4 HANA.
   * Purchasing Orgs

     Set up subflows for the source configuration to lookup purchasing orgs from SAP ECC and SAP S4 HANA.
   * GL Accounts

     Set up subflows for the source configuration to lookup GL accounts from SAP ECC and SAP S4 HANA.
   * Plant Addresses

     Set up subflows for the source configuration to lookup plant addresses from SAP ECC and SAP S4 HANA.
   * Suppliers

     Set up subflows for the source configuration to lookup suppliers from SAP ECC and SAP S4 HANA.
   * Product Models

     Set up subflows for the source configuration to lookup product models from SAP ECC and SAP S4 HANA.
   * Invoices

     Set up subflows for the source configuration to lookup invoices from SAP ECC and SAP S4 HANA.
   * Unit of Measure

     Set up subflows for the source configuration to lookup the base unit of measure details from SAP ECC and SAP S4 HANA.
   * Product Categories

     Set up subflows for the source configuration to lookup material group details from SAP ECC and SAP S4 HANA.

   {#erp-source-configuration-sap__ul_v3d_z3x_y2c}  
   Figure 1. ERP Source Configuration of S4 HANA  
   Note:  
   Similarly, you can select SAP ECC configuration to view the list of services.
5. Configure scheduled job to synchronize primary data updates from SAP ECC and SAP S4 HANA.
6. Set up the interval in the lookup Cost Center scheduled job to periodically synchronize primary data updates from the ERP, for posting services to work.  
   Note:  
   Similarly, you can configure schedule jobs for the other integrations services.
{#erp-source-configuration-sap__ol_sh2_mvt_p2c}
**Related concepts**   

* [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.")
* [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.")  
**Related tasks**   

* [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.")
* [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.")

