Error message
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:
In the Payhawk Web Portal, go to the Expenses app.
Open the affected expense and check the Internal Order field.
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:
Go to transaction code
KO02(Change Internal Order).Enter the Internal Order number and press Enter.
On the Control data tab, locate the System Status field.
Click the Release button which is typically represented by a green flag icon on the application toolbar.
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:
Log in to the Payhawk Web Portal.
Go to the Expenses app.
Locate the pending expense and click Review to re-try the export.