Configure the Source-to-Pay integration with SAP

  • Release version: Yokohama
  • 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 Configure the Source-to-Pay integration with SAP

    This guide explains how to integrate your ServiceNow instance with SAP systems, including SAP ECC and SAP S4 HANA, using the Source-to-Pay (S2P) integration framework. The integration enables automatic synchronization of procurement-related data such as purchase orders, receipts, invoices, and primary data between SAP and ServiceNow, streamlining procurement and supplier lifecycle operations.

    Show full answer Show less

    Key Setup Steps

    • Activate the Source-to-Pay integration with the SAP application from the ServiceNow Store. This activation automatically enables several SAP spokes: SAP ECC, SAP S4 HANA, and SAP S4 HANA OData.
    • Set up the SAP ECC RFC spoke, SAP S4 HANA Public Cloud spoke, and SAP S4 HANA OData spoke to enable communication between ServiceNow and SAP systems.
    • Create a custom OAuth application in SAP ECC and SAP S4 HANA for authenticating ServiceNow requests.
    • Activate the Source-to-Pay integration framework from the ServiceNow Store, which manages task synchronization from SAP into ServiceNow.

    Dependencies and Plugins

    The integration requires various ServiceNow plugins that automatically install dependencies for different integration scopes:

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

    ERP Source Configuration and Integration Services

    • Configure your ServiceNow instance to support inbound and outbound integration with SAP ERP systems by defining the ERP source configuration and mapping integration payloads to SAP tables.
    • Set up integration services by providing SAP connection endpoints and credentials, creating separate service records for each customizable SAP service request.

    Data Synchronization and Job Scheduling

    • Run scheduled jobs to fetch primary data (e.g., currencies) from SAP ERP sources into ServiceNow automatically.
    • Manually trigger flows or subflows in SAP on demand to facilitate real-time data exchange.
    • Use the scheduled jobs feature to automate the periodic synchronization of primary data between SAP and ServiceNow.

    Benefits for ServiceNow Customers

    By following this configuration, ServiceNow customers can achieve seamless integration with SAP procurement systems, enabling automated data synchronization, improved operational efficiency, and enhanced supplier lifecycle management within the ServiceNow platform.

    Integrate the ServiceNow instance with SAP 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 Dependencies with SAP Dependencies

    Install the following dependencies of Primary Data integration with SAP. 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 Integration that pulls tasks into ServiceNow. For more information, see Use schedule flows in SAP.

    Table 1. Primary Data Integration Dependencies with SAP
    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

    Install the following dependencies of Supplier Lifecycle Operations integration with SAP. When you install the plugin, all the dependencies get installed automatically.

    Table 2. Supplier Lifecycle Operations Integration Dependencies with SAP
    App name Plugin ID
    Primary Data Integration with SAP sn_sap_data_int
    ERP Integration Framework sn_fcms_intg
    Finance Common Architecture sn_fin
    Supplier Operations sn_so

    Sourcing and Procurement Operations Integration Dependencies with SAP

    Install the following dependencies of Sourcing and Procurement Operations integration with SAP. When you install the plugin, all the dependencies get installed automatically.

    Table 3. Sourcing and Procurement Operations Integration Dependencies with SAP
    App name Plugin ID
    Primary Data Integration with SAP 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

    Install the following dependencies of Accounts Payable Operations integration with SAP. When you install the plugin, all the dependencies get installed automatically.

    Table 4. Accounts Payable Operations Integration Dependencies with SAP
    App name Plugin ID
    Primary Data Integration with SAP 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