OB52 — Posting Period Variant Configuration
OB52 maintains the posting period variant, the table that decides which fiscal periods are open for posting, broken down by account type and optionally by authorization group. It does not set the fiscal year variant itself. A company code inherits its open/closed periods from whichever posting period variant is assigned to it, and that variant is often shared across several company codes.
OB52 controls which posting periods are open for which account types, using the posting period variant rather than the company code directly. This page covers the two-range structure of the configuration, the most common causes of period-lock errors during close, and how to tell a period problem from a fiscal year variant problem in the data.
Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,106 words
Purpose
OB52 maintains permitted posting periods per posting period variant and account type. Each row defines two period ranges: a normal range covering periods 1 through 12 (or however many the fiscal year variant defines), and a second range reserved for special periods used for year-end adjustments. Rows can be entered against a specific account type (A assets, D customers, K vendors, M materials, S G/L accounts) or against the wildcard account type plus, which applies to all types not given their own row. The one fact that explains most of the confusion around OB52: it configures the posting period variant, a standalone object, not the company code. The company code only holds a pointer to a variant, and that pointer is maintained elsewhere. Several company codes commonly share one variant, so a change made here can lock or unlock periods for more than one company code at once.
When it is used
OB52 comes up at every period close and every fiscal year opening: closing the current period to stop postings, opening the next period, opening the special periods for year-end adjustment entries, or granting a temporary exception to one account type or one authorization group while the rest of the ledger stays closed. It is also the first stop when a posting fails with a period-not-open error, before anyone touches the posting transaction itself. It is a configuration transaction, not something used during a normal posting run, and it has no Fiori replacement for daily use; closing calendars and period locks are still driven from this table underneath any Fiori close-management app.
How to use it in practice
- Confirm which posting period variant the company code uses, via the company code global parameters, before touching OB52 directly.
- Open OB52 and locate the existing rows for that variant, or create new entries if the variant has none yet.
- Set the account type for the row: plus for all types, or a specific letter to override the wildcard for that type only.
- Enter the first period range: from-period/from-year to to-period/to-year, covering the normal posting periods.
- Enter the second period range for special periods 13 upward, used for audit and year-end adjustments.
- Set an authorization group on the row only if a subset of users needs an exception the rest of the business does not get.
- Save under a transport request; this is client-independent configuration and moves with a change request.
Key data objects
- T001B - permitted posting periods table, keyed by posting period variant and account type, holding both period ranges and the optional authorization group; this is the table OB52 writes.
- T001 - company code master record, holding the posting period variant field that links a company code to the rows maintained in OB52.
- Fiscal year variant tables - referenced when validating period numbers and calendar boundaries, but not maintained through OB52; a mismatch here produces a different error message that looks similar.
How to prove it in the data
Find the posting period variant on the company code record in T001, then browse T001B in SE16 filtered on that variant. Check the row for the specific account type first, then the plus wildcard row, since the specific row wins. Compare the posting date's period against the from-period/to-period columns in both ranges. If the posting sits between the two ranges, or falls in the special-period range without the posting itself being a special-period document, the row is the root cause rather than the posting transaction.
ECC vs S/4HANA
OB52 and the underlying posting period variant concept are unchanged on S/4HANA; the transaction is still the standard way to maintain open periods. Closing-cockpit and financial-close Fiori apps sit on top of this configuration for scheduling and monitoring but do not replace it as the place where the period ranges themselves are defined. Anyone doing hands-on period maintenance still ends up in OB52 or its underlying view.
Common pitfalls and how to diagnose them
- Wrong row consulted: someone checks the plus wildcard row and sees it open, missing that a specific account type row (commonly D or K) exists separately and is still closed for that period; account-type-specific rows always take priority over plus.
- Special period range confused with normal range: a year-end adjustment posting into period 13 or 14 fails because only the first range was extended for the new period, while the second range still points at the prior year; both ranges need updating independently.
- Shared variant side effects: reopening a period to fix one company code's close inadvertently reopens it for every other company code pointing at the same variant, since the row is keyed on variant, not company code; check T001 for other company codes on the same variant before widening a range.
- Authorization group mismatch: the period is technically open in T001B but a specific user group is still blocked because the row carries an authorization group the poster's user does not have; the error message for this looks identical to a fully closed period.
- Fiscal year variant mistaken for posting period issue: a posting date that falls outside the fiscal year variant's defined periods throws an error that reads similarly to a closed-period error, but the fix is in the fiscal year variant assignment, not in OB52; confirm the period number resolves correctly before editing period ranges.
Whose problem this is
This is FI functional configuration, owned by the general ledger or financial close process owner, not Basis or ABAP. A handover to a consultant investigating a period error should include the company code, the posting date and period involved, the account type of the document, and whether the same document type posts successfully in a different company code sharing the same variant.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-tcodes/ob52ERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.