Documentation Index

Fetch the complete documentation index at: https://payhawk.document360.io/llms.txt

Use this file to discover all available pages before exploring further.

Still waiting weeks after close for invoices? Agent Fetch finds them automatically. | Learn more

G/L account [G/L Account Number] is missing an Item Category. Assign an item category on SAP S/4HANA.

Prev Next

Error message

G/L account [G/L Account Number] is missing an Item Category. Assign an item category on SAP S/4HANA.

Affected ERP integrations

  • SAP S/4HANA®

Cause

When exporting an expense, you may hit an error stating that there is no item category assigned to the selected General Ledger (G/L) account.

Behind the scenes, SAP S/4HANA uses a feature called Document Splitting to automatically organize your financial data into balance sheets or segments such as tracking expenses versus tax. For this to work, SAP S/4HANA requires every G/L account to be classified under a specific Item Category, for example, Expense, Tax, or Vendor. If the G/L account used for your Payhawk expense hasn’t been assigned an item category in SAP S/4HANA, the system doesn’t know how to process the transaction and will reject it.

Solution

Before diving into SAP S/4HANA, make sure the expense is categorized correctly in Payhawk:

  1. Log in to the Payhawk Web Portal.

  2. Navigate to the Expenses app.

  3. Open the affected expense by clicking on it and look at the category or G/L account mapped to it.

  4. Verify if this is the correct account for this type of expense. If the wrong G/L account was selected by mistake, change it to the correct one and you may bypass the error entirely.

If the G/L account is correct, a configuration adjustment is needed in SAP S/4HANA to give that specific account its missing classification.

SAP S/4HANA Public Cloud Edition

To resolve the issue in SAP S/4HANA Public Cloud Edition:

  1. Log into your SAP Fiori launchpad with configuration permissions.

  2. Open the Manage Your Solution app and go to Configure Your Solution, or use the Implementation Cockpit / Central Business Configuration depending on your setup.

  3. Search for the configuration step titled Classify G/L Accounts for Document Splitting.

  4. Locate your Chart of Accounts and add a new entry for the specific G/L account code.

  5. Assign the appropriate Item Category (such as 02000 for Expenses).

  6. Save the changes.

SAP S/4HANA Private Cloud Edition

To resolve the issue in SAP S/4HANA Private Cloud Edition:

  1. Use transaction code SPRO and click SAP Reference IMG.

  2. Navigate to Financial Accounting > General Ledger Accounting > Business Transactions > Document Splitting > Classify G/L Accounts for Document Splitting.

    Alternatively, you can use the direct transaction code GSP_LZG.

  3. Enter your Chart of Accounts, click New Entries, and enter the G/L account number.

  4. In the Item Category column, assign the correct classification code, for example, Expense, or Cash Account.

  5. Save the configuration to a transport request.

Next steps

Once the G/L account has been properly classified in SAP S/4HANA, go back to Payhawk and follow the steps:

  1. Log in to the Payhawk Web Portal.

  2. Go to the Expenses app.

  3. Locate the pending expense and click Review to re-try the export.