Symptom
An error occurs when posting a general journal entry to a G/L account. Error message: "Account in company code cannot be directly posted to." Error code: F5354.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Start posting a general journal entry.
- Enter a G/L account intended for direct posting.
- The system displays error F5354: "Account in company code cannot be directly posted to."
Cause
The G/L account is flagged as a reconciliation account at company code level (the Reconciliation Account for Account Type field is maintained in backend), which prevents direct postings. The UI app Manage G/L Account Master Data however shows a non-reconciliation account group and company code data in UI contains also no reconciliation indicator.
Resolution
- Open the Manage G/L Account Master Data app and select the affected G/L account for the relevant company code.
- Temporarily change the account group to a reconciliation-type group so that the Company Code data field "Reconciliation Account for Account Type" becomes editable.
- In Company Code data, clear the "Reconciliation Account for Account Type" value (for example, remove D/K/A as applicable).
- Click save.
- Change the account group back to the intended non-reconciliation group.
- Press save.
- Post a test general journal entry to confirm that direct posting is now allowed.
- Alternatively, if the account is intended to remain a reconciliation account, do not post directly to it; post to the relevant subledger account instead.
See Also
Keywords
F5354, account cannot be directly posted to, reconciliation account, direct posting not allowed, Manage G/L Account Master Data, Reconciliation Account for Account Type, SKB1, general journal, posting error , KBA , FI-FIO-GL-MD-2CL , Master Data Apps (Public Cloud) , Problem
SAP Knowledge Base Article - Public