Define Posting Period Variant Tcode in SAP
⚡ Smart Summary
Defining a posting period variant in SAP creates the control object that decides which accounting periods remain open for posting, and the same variant can then be assigned to multiple company codes for consistent period management.
What is a Posting Period Variant in SAP?
A posting period variant is a control object that decides which accounting periods are open for posting and which are closed. It is created once at client level and then assigned to one or more company codes, so several entities can share the same period rules.
The variant separates period control from the individual company code. This means a single variant can govern many company codes, which keeps period management consistent and reduces duplicate configuration.
Why Define a Posting Period Variant?
Defining the variant is the first step before any period can be opened or closed. Without a variant assigned, a company code has no rule set to validate the posting date of a document, so postings would fail or land in the wrong period.
A clean variant also supports controls at period close, because finance teams can open the new month and close the old one in one place for every company code that shares the variant.
Steps to Define a Posting Period Variant in SAP
The following steps create a new posting period variant using the SPRO customizing path (transaction OBBO).
Enter the Transaction code SPRO in the SAP Command Field and press Enter.
In the next screen, select SAP Reference IMG.
In the next screen, “Display IMG”, navigate the following menu path: SAP Customizing Implementation Guide -> Financial Accounting -> Financial Accounting Global Settings -> Document -> Posting Periods -> Define Variants for Open Posting Periods.
In the next screen, press the ‘New Entries’ button.
In the next screen, enter the following:
- Enter a unique Posting Period Variant Key.
- Enter a Description for the variant.
After maintaining the above information, press ‘Save’ from the SAP Standard Toolbar.
In the next screen, enter the Customizing Request number.
You have successfully defined a Posting Period Variant.
After Defining: Assign the Variant and Open Periods
Defining the variant is only the first stage. To make it active, complete two more customizing steps:
- Assign to company code (OBBP): Link the new variant to each company code that should use it. Every company code refers to exactly one variant.
- Open and close periods (OB52): Maintain the open and closed periods for the variant by account type and account range.
Together these steps connect the variant to the company code and control exactly when users may post.






