SAP Knowledge Base Article - Public

3846872 - Error F5354 "Account in Company Code cannot be Directly Posted to" During General Journal Posting — SAP S/4HANA Cloud Public Edition

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

  1. Start posting a general journal entry.
  2. Enter a G/L account intended for direct posting.
  3. 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

  1. Open the Manage G/L Account Master Data app and select the affected G/L account for the relevant company code.
  2. Temporarily change the account group to a reconciliation-type group so that the Company Code data field "Reconciliation Account for Account Type" becomes editable.
  3. In Company Code data, clear the "Reconciliation Account for Account Type" value (for example, remove D/K/A as applicable).
  4. Click save.
  5. Change the account group back to the intended non-reconciliation group.
  6. Press save.
  7. Post a test general journal entry to confirm that direct posting is now allowed.
  8. 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

refer to: KBA 3091350 - Direct postings to reconciliation accounts are not allowed - error F5354

refer to: KBA 2853117 - Allow reconciliation account changes when trying to post invoices in SAP S/4HANA Cloud Public Edition

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

Product

SAP S/4HANA Cloud Public Edition all versions