Configuring the Source-to-Pay integration with SAP ECC and SAP S4 HANA

  • Release version: Xanadu
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Configuring the Source-to-Pay integration with SAP ECC and SAP S4 HANA

    This guide explains how to integrate your ServiceNow instance with SAP ECC and SAP S4 HANA to enable seamless data exchange and task synchronization using the Source-to-Pay (S2P) integration framework. The integration requires creating a custom OAuth application in SAP for authenticating ServiceNow requests and configuring multiple ServiceNow plugins and spokes that facilitate communication between systems.

    Show full answer Show less

    Application Setup

    • Activate the Source-to-Pay integration and the SAP ECC and SAP S4 HANA application from the ServiceNow Store, which automatically activates the relevant SAP spokes.
    • Set up the SAP ECC RFC spoke, SAP S4 HANA Public Cloud spoke, and SAP S4 HANA OData spoke.
    • Activate the Source-to-Pay integration framework to pull tasks from SAP systems into ServiceNow.

    Plugin Dependencies

    Multiple plugins and spokes are required for different integration purposes. These dependencies install automatically with their parent plugins:

    • Primary Data Integration: Includes SAP ECC IDOC Spoke, Source-to-Pay Common Architecture, ERP Integration Framework, Utility Spoke, and Supplier Common Architecture.
    • Supplier Lifecycle Operations Integration: Builds on Primary Data Integration and adds Finance Common Architecture and Sourcing and Procurement Operations integration plugins.
    • Sourcing and Procurement Operations Integration: Depends on Primary Data Integration, ERP Integration Framework, Source-to-Pay Common Architecture, SAP S4 HANA RFC Spoke, and SAP ECC IDOC Spoke.
    • Accounts Payable Operations Integration: Requires Primary Data Integration, ERP Integration Framework, Source-to-Pay Common Architecture, SAP S4 HANA RFC Spoke, and SAP ECC IDOC Spoke.

    ERP Source Configuration

    Configure your ServiceNow S2P instance to support inbound and outbound integrations with SAP ECC and SAP S4 HANA. This setup enables automatic posting of purchase orders, receipts, and invoices, as well as downloading primary data from SAP systems.

    • Define the ERP source configuration to establish connectivity between ServiceNow and your SAP ERP systems.
    • Map integration payloads to SAP ECC and SAP S4 HANA database tables.
    • Configure integration services by specifying endpoint URLs and SAP credentials for authentication.
    • Create unique integration service records for each service request to enable customization.

    Data Synchronization and Process Automation

    • Use scheduled jobs such as Fetch Spend Primary Data to synchronize primary data from SAP ECC and SAP S4 HANA into ServiceNow automatically.
    • Manually or automatically trigger flows and subflows to interact with SAP processes on demand.
    • Run lookup jobs to fetch entities like currencies or other primary data from SAP into ServiceNow.

    Practical Benefits

    By completing this integration and configuration, ServiceNow customers can:

    • Ensure real-time synchronization of procurement, supplier, and accounts payable data between SAP and ServiceNow.
    • Automate procurement tasks by pulling SAP tasks directly into ServiceNow workflows.
    • Maintain accurate and up-to-date primary data from SAP within ServiceNow to support operational efficiency.
    • Customize integration services and authentication to fit organizational security and process requirements.

    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

    Verify that you have performed the following:

    Primary Data Integration with SAP ECC and SAP S4 HANAs' Dependencies

    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.

    Table 1. Primary Data Integration with SAP ECC and SAP S4 HANA
    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

    Supplier Lifecycle Operations Integration Dependencies with SAP ECC and SAP S4 HANA

    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.

    Table 2. Supplier Lifecycle Operations Integration with SAP ECC and SAP S4 HANA
    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

    Sourcing and Procurement Operations Integration Dependencies with SAP ECC and SAP S4 HANA

    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.

    Table 3. Sourcing and Procurement Operations Integration with SAP ECC and SAP S4 HANA
    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

    Accounts Payable Operations Integration Dependencies with SAP ECC and SAP S4 HANA

    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.

    Table 4. Accounts Payable Operations Integration with SAP ECC and SAP S4 HANA
    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