--- title: "SAP internal order unreleased for Administrators - Payhawk Help Center" slug: "failed-to-export-into-sap-s4hana-internal-order-not-released" description: "Resolve SAP S/4HANA internal order errors when exporting expenses by ensuring the order is released and correctly tagged in Payhawk." updated: 2026-10-27T15:14:39Z published: 2026-10-27T15:14:39Z canonical: "payhawk.com/failed-to-export-into-sap-s4hana-internal-order-not-released" --- > ## 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. # Failed to export into SAP S/4HANA. The internal order is not released in SAP S/4HANA. ## Error message ```plaintext Failed to export into SAP S/4HANA. The internal order is not released in SAP S/4HANA. ``` ## Affected ERP integrations - SAP S/4HANA® ## Cause When exporting an expense, you may encounter an error indicating that the internal order assigned to the transaction is not released. In SAP S/4HANA, an **Internal Order** is used to track costs for a specific short-term project, marketing campaign, or event. When an internal order is first set up, it is given the system status **CRTD** (Created). In this initial stage, the order is locked and cannot accept any financial postings. To allow expenses to be charged against it, the order's status must be officially changed to **Released**. ## Solution Before making changes in SAP S/4HANA, verify that the expense was tagged correctly in Payhawk: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend**. 2. Open the affected expense and check the **Internal Order** field. 3. Make sure the correct order number was selected. If a mistake was made or an old, inactive order was chosen, update the field with the correct, active internal order. If the internal order number is correct, someone with master data access needs to release it within SAP S/4HANA so it can accept transactions. ### SAP S/4HANA Private Cloud Edition To resolve the issue in SAP S/4HANA Private Cloud Edition: 1. Go to transaction code `KO02` (Change Internal Order). 2. Enter the Internal Order number and press **Enter**. 3. On the **Control data** tab, locate the **System Status** field. 4. Click the **Release** button which is typically represented by a green flag icon on the application toolbar. 5. Verify the status updates to **REL** (Released) and click **Save**. ### Next steps Once the internal order has been released in SAP S/4HANA, go back to Payhawk and follow the steps: 1. Log in to the [Payhawk Web Portal](https://portal.payhawk.com). 2. Go to **Spend**. 3. Locate the pending expense and click **Review** to re-try the export.