SAP Knowledge Base Article - Public

3754916 - Allowed posting period error when reversing supplier invoice (MIRO) in Create Supplier Invoice – Advanced

Symptom

  • Users have posted a supplier invoice (via the Create Supplier Invoice - Advanced application) with a backdated posting date. The system allowed the original posting at the time; however, when attempting to reverse the same invoice document, the system displays the following error:

"Allowed posting periods: [list of allowed posting periods] for company code XXXX and date XX.XX.XXXX"

  • The reversal cannot be completed because the original posting date falls outside the currently open Materials Management (MM) posting periods. As a result, the GR/IR account and vendor account balances cannot be corrected through standard MM reversal, and vendor reconciliation is blocked.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Post a supplier invoice using the Create Supplier Invoice - Advanced application with a backdated posting date (e.g., a date in a period that was open at the time of posting but has since been closed).
  2. After the MM posting periods advance and the original posting period is closed, attempt to reverse the supplier invoice document.
  3. Enter a reversal posting date corresponding to the original document date.

Result: The system displays the error "Allowed posting periods: [open periods] for company code [XXXX] and date [original date]" and does not allow the reversal to be posted.

Cause

This is standard system behavior, not a defect.

In Materials Management, posting is possible in a maximum of three periods at any given time:

  • The current period.
  • The last period of the previous fiscal year.
  • The previous period, if the Allow Posting to Previous Period (Backposting) setting is activated via the Allow Posting to Previous Period (MMRV) application.

It is not possible to post or reverse MM documents outside of these three open periods. When a supplier invoice was originally posted in a period that has since been closed and is no longer within the allowed three-period window, the reversal posting date cannot be set to the original document date, and the reversal is blocked.

This behavior is documented in SAP KBA 2833921 Error "Allowed Posting Periods" Raised in App Create Supplier Invoice.

Resolution

Since the MM reversal path is blocked by standard period restrictions, the following Financial Accounting (FI) workarounds are available to correct the financial impact. All approaches use an open posting period and do not require reopening the closed MM inventory period.

Important: Before proceeding with any of the options below, verify with the finance team which approach aligns with the applicable accounting and audit requirements. Each option has a different impact on the GR/IR clearing account and vendor reconciliation account.

Here are three potential FI workarounds to address the situation given the constraints of closed posting periods:

1. Manual Journal Entry:

  • Objective: Offset the GRIR debit and credit the vendor account to correct the financial impact of the original invoice.
  • Steps:
    1. Use the Post General Journal Entries app in S/4HANA Cloud to create a manual journal entry.
    2. Debit the GRIR account (e.g., GRIR Clearing Account) for amount.
    3. Credit the vendor account (Vendor Reconciliation Account) for amount.
    4. Include a clear reference to the original invoice (document number) in the document header and line item text for traceability.

2. Clear GR/IR Clearing Account App:

  • Objective: Use the "Clear GR/IR Clearing Account" app to write off the orphan balance in the GRIR account.
  • Steps:
    1. Access the Clear GR/IR Clearing Account app in S/4HANA Cloud.
    2. Identify the GRIR balance related to the original invoice.
    3. Use the app to post an adjustment to clear the balance.
    4. After clearing the GRIR balance, execute F.13 (Automatic Clearing) to clear the corresponding entries in the vendor account.

3. Inverse Posting via Enter Incoming Invoice App:

  • Objective: Neutralize the financial impact of the original invoice by creating an inverse posting.
  • Steps:
    1. Access the Enter Incoming Invoice app in S/4HANA Cloud.
    2. Create a new invoice with the same details as the original invoice , but reverse the debit and credit entries.
    3. Use a posting date within one of the currently open periods.
    4. Ensure the new invoice references the original document for traceability.

 

See Also

KBA 2833921 - Error “Allowed Posting Periods” raised in app Create Supplier Invoice

Keywords

allowed posting period, create supplier invoice – advanced, miro reversal, supplier invoice reversal, backposting, mmrv, posting date, closed period, open periods, gr/ir, clear gr/ir clearing account, f.13, enter incoming invoice, post general journal entries, s/4hana cloud , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions