SAP Knowledge Base Article - Public

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


Allowed Posting Periods (Error Code M8022) raised in app Create Supplier Invoice - Advanced (App ID MIRO)

Long Text

Allowed posting periods: &


The posting date is not within one of the allowed posting periods.

This can be due to one of two reasons:

  • The correct current period has not been set in the system.
    For the system, the first of the specified periods is the current period. At the beginning of a new period, your system administrator must change the current period in the material master record using the function "Close period". This has not yet been done.
  • You have entered the wrong date in the field "Posting date".


Check the posting date and correct it if necessary. If your entry is correct, inform your system administrator that the "period closing" procedure has not yet been implemented.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


S/4 Hana Cloud

Reproducing the Issue

Enter Posting Date in app Create Supplier Invoice - Advanced (App ID MIRO)


The message M8022 is raised while checking the period in table MARV (material control record). This check is always performed when using transaction MIRO, the HTML GUI transaction "Create Supplier Invoice Advanced". This check is independent from the invoice to be posted, i.e. even without reference to a purchase order the period check is performed.


Use APP Close Periods App ID MMPV to control Periods

See Also

App Manage Posting Periods (App id F2293)

2598676 - Manage Posting Periods Authorization


cloud M8022, MMPV, MARV , KBA , FI-FIO-GL , Fiori UI for General Ledger Accounting , LO-MD-MM , Material Master , FI-FIO-AP , Fiori UI for Accounts Payable , MM-FIO-IV , Fiori UI for Invoice Verification , FI-FIO-GL-2CL , Fiori UI for General Ledger Accounting (Public Cloud) , Problem


SAP S/4HANA Cloud all versions