Open and Close Posting Period in SAP (S_ALR_87003642)
โก Smart Summary
Posting period variants in SAP open and close accounting periods by account type and account range, controlling exactly when users may post financial documents and protecting closed periods from unauthorized or accidental postings.

What is a Posting Period Variant in SAP?
A posting period variant defines which accounting periods are open for posting and which are closed. It is assigned to one or more company codes, so several entities can share the same period control. The variant is maintained with transaction OB52 or S_ALR_87003642.
Why Open and Close Posting Periods?
Opening and closing periods protects financial data. Once a month or year is closed, the variant blocks new postings to that period, preventing accidental or unauthorized entries that would distort reported results. Opening the next period lets daily postings continue on schedule.
Steps to Open and Close Periods in SAP
The following steps show how to maintain open and closed periods in a posting period variant.
Enter the Transaction Code S_ALR_87003642 in the SAP Command Field.
In the next screen, position the variant you want to maintain and the account type for which you want to open or close the periods.
Change the period with the following steps:
- Select Posting Period Variant.
- Select Account Type.
- Enter the account number range for which you want to change the periods.
- Enter the Period to Open as per the Fiscal Year Variant of the company code assigned to the Posting Period Variant.
- Enter the period to which posting is to be open.
- Enter any special period you want to open.
All other periods remain closed for posting for the account range mentioned.
After maintaining the periods, press ‘Save’ from the SAP Standard Toolbar.
In the next screen, enter the Customizing request number.
You have successfully maintained periods in the Posting Period Variant.
Account Types and Period Intervals in OB52
Within a posting period variant you can open periods separately by account type and account range:
| Account Type | Applies to |
|---|---|
| + | Valid for all account types (required default row) |
| A | Assets |
| D | Customers |
| K | Vendors |
| M | Materials |
| S | General Ledger accounts |
OB52 also provides period intervals: interval 1 for regular posting periods, interval 2 for special periods used at year-end, and a third interval used for postings transferred from Controlling to Financial Accounting.



