SAP Knowledge Base Article - Public

3783169 - Allowed Posting Periods Error When Sending Supplier Invoice From Ariba To ERP - SAP S/4HANA Cloud Public Edition

Symptom

  • An error occurs when sending a supplier invoice from Ariba to ERP.
  • Error message text shows “Allowed posting periods: …” indicating the posting month is not open.
  • Error codes observed: M8022 and M8535.

Environment

  • Product: SAP S/4HANA Cloud Public Edition
  • Logistics Invoice Verification (Public Cloud)

Reproducing the Issue

  1. Send a supplier invoice from Ariba to ERP (S/4HANA Cloud Public Edition).
  2. Observe that the interface stops with error “Allowed posting periods: …” and the invoice does not post/park.

Cause

  • The invoice posting date falls in a month that is closed in the posting-period calendar assigned to the company code.
  • The posting-period check (for example, message M8535/M8022) validates per account type (such as “all,” suppliers, general ledger, materials). The target month may be open for one account type but still closed for others required by the invoice.
  • Automated interface processing treats a closed posting period as an error and stops, whereas manual entry may only show a warning.

Resolution

  1. Identify the posting date sent from Ariba and the company code used by the interface.
  2. In the Manage Posting Periods app, verify which posting-period variant is assigned to that company code.
  3. Open the target posting month for all required account types on that variant:
    • Open “all.”
    • Open “suppliers” and “general ledger.”
    • If the invoice affects stock value, also open “materials.”
  4. Before reprocessing, check in the supplier invoice apps that the invoice was not already created/parked to avoid duplicates.
  5. Reprocess the failed message in Message Monitoring (restart). Confirm the document posts or parks as expected.
  6. As a preventive step, ensure upcoming months are opened for the relevant account types before receiving Ariba invoices.

See Also

Keywords

allowed posting periods, M8022, M8535, posting period closed, supplier invoice, ariba integration, s4hana cloud, logistics invoice verification, posting date, posting period variant, manage posting periods, interface error, message monitoring, open period, invoice import , KBA , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions