--- title: "Connecting to SAP S/4HANA for Administrators - Payhawk Help Center" slug: "connecting-payhawk-to-sap-s-4hana-private-cloud" description: "Connect Payhawk to SAP S/4HANA Cloud, Private Edition through SAP BTP: add the service key, enter client ID and token URL, pick a subsidiary, and map accounts." updated: 2026-10-27T15:26:17Z published: 2026-10-27T15:26:17Z canonical: "payhawk.com/connecting-payhawk-to-sap-s-4hana-private-cloud" --- > ## Documentation Index > Fetch the complete documentation index at: https://payhawk.com/help/llms.txt > Use this file to discover all available pages before exploring further. # Connecting Payhawk to SAP S/4HANA Cloud, Private Edition Payhawk supports direct integration to SAP S/4HANA®, so you can export and sync your expenses between the two systems. For more information, go to the article about [exported data between SAP S/4HANA and Payhawk](/help/overview-of-shared-data-with-sap-s-4hana). ## Before you begin - An SAP S/4HANA Private Cloud tenant. - A technical user with certain roles. ## Connecting to SAP S/4HANA Cloud, Private Edition To start connecting your Payhawk account to SAP S/4HANA Cloud, Private Edition, follow the steps: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Settings** > **Integrations** > **SAP S/4HANA**. 2. Click on **Connect**. 3. On the next screen, from the drop-down list, select **Private Cloud**, select the checkbox to confirm that you’re connecting through BTP, and enter the URL of your SAP S/4HANA instance. Click on **Continue**. ![Instructions for connecting Payhawk to SAP S/4HANA account with setup steps listed.](https://storage.googleapis.com/payhawk-cdn/Adm%3AIntegrations%3ASAP/sap_private_cloud_1.png) 4. On the **Download certificate** screen: 1. Click on the **Download service key** button. In your SAP BTP subaccount, create a service key in the XSUAA service using the downloaded JSON file. 2. Provide the client ID from the service key in the provided field. 3. Provide the token URL from the service key in the provided field. 4. Select the checkbox to confirm that you’ve added the service key to BTP and click on **Continue**. ![Instructions for downloading a service key and connecting Payhawk to SAP S/4HANA.](https://storage.googleapis.com/payhawk-cdn/Adm%3AIntegrations%3ASAP/sap_private_cloud_2.png) 5. On the next screen, from the drop-down list, select which one of your subsidiaries you want to connect Payhawk to. Click on **Continue**. ![User selects a subsidiary in SAP S/4HANA to connect with Payhawk.](https://storage.googleapis.com/payhawk-cdn/Adm%3AIntegrations%3ASAP/sap_private_cloud_3.png) 6. In the **Map accounts** dialog, choose which parameters to map when exporting expense data. Note that you can adjust these at any time. ![Configuration settings for mapping accounts in SAP, including various expense categories.](https://storage.googleapis.com/payhawk-cdn/Adm%3AIntegrations%3ASAP/sap_private_cloud_4.png) 7. The Payhawk system will automatically fetch the SAP S/4HANA data. After the data process has finished, click on **Finish**.