FICO · Beginner · Configuration
How to create and assign a fiscal year variant in SAP FI (OB29, OB37)
Define a non-calendar fiscal year (April to March) with four special periods, assign it to a new company code and check that a posting date is converted into the right period and fiscal year.
- APPLICABILITY
- SAP ECC and SAP S/4HANA on-premise or Cloud Private Edition. In S/4HANA Cloud Public Edition the fiscal year variant is chosen during initial scoping and cannot be changed freely.
- TOOLS / TRANSACTIONS
- SPRO · OB29 · OB37 · OB52 · FB50
Your project assignment
A hypothetical subsidiary reports from April to March. For its new company code 1100 in the development client, create fiscal year variant Z4 with four special periods, assign it and prove the period derivation with one test posting.
Where to start: URLs and transactions
- IMG path
- Financial Accounting → Financial Accounting Global Settings → Ledgers → Fiscal Year and Posting Periods
- Transaction codes
- OB29 (maintain variant), OB37 (assign company code), OB52 (open periods)
- SAP Learning: Managing Fiscal Year Variants
- https://learning.sap.com/courses/customizing-core-settings-in-financial-accounting-in-sap-s4hana/managing-fiscal-year-variants-1
Prerequisites
- Customizing authorization for Financial Accounting global settings and a customizing transport request.
- A new or test company code without postings; never use a company code that already has documents for this exercise.
- Finance sign-off on the fiscal year, the number of special periods, and consistency with the controlling area and ledgers.
Configuration workflow
From fiscal calendar to a correctly dated posting
All steps visible. Play or advance one stage at a time.
Hands-on implementation — step by step
Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.
- 1
OB29 → review a delivered template
Open Maintain Fiscal Year Variant and display a delivered non-calendar variant such as V3 (April to March with four special periods) and the calendar year variant K4 to understand the settings.
OB29 → review a delivered templateERPClimb · illustrative screen - Template
V3- Posting periods
12- Special periods
4
Expected result: You can read the period table of the template.
Why this matters: Delivered variants show the correct pattern and can be copied.
- 2
OB29 → create the variant
Copy the template or choose New Entries. Enter the key and description, leave Calendar year and Year-dependent unselected, and enter 12 posting periods and 4 special periods.
OB29 → create the variantERPClimb · illustrative screen - Variant
Z4 (hypothetical)- Calendar year
Not selected- Year-dependent
Not selected- Posting / special periods
12 / 4
Expected result: The variant header is saved.
Why this matters: A year-independent variant uses the same period ends every year.
- 3
OB29 → Periods
Select the variant and open Periods. Enter each calendar month with its last day and the period it belongs to. For January to March enter the year shift minus one.
OB29 → PeriodsERPClimb · illustrative screen - April, day 30
Period 1, year shift 0- December, day 31
Period 9, year shift 0- January, day 31
Period 10, year shift -1- March, day 31
Period 12, year shift -1
Expected result: Twelve lines are saved with consistent periods.
Why this matters: The year shift assigns the first calendar months to the fiscal year that began in the previous April.
- 4
OB37 → assign company code to the variant
Open Assign Company Code to a Fiscal Year Variant and enter the variant for the new company code. Stop if the company code already has postings.
OB37 → assign company code to the variantERPClimb · illustrative screen - Company code
1100 (hypothetical)- Fiscal year variant
Z4
Expected result: The company code shows variant Z4.
Why this matters: Each company code has exactly one fiscal year variant.
- 5
Check dependent assignments
Compare the variant with the fiscal year variant of the controlling area and of the ledgers the company code uses, together with controlling and asset accounting colleagues.
Check dependent assignmentsERPClimb · illustrative screen - Controlling area variant
Same number of posting periods- Ledger
Fiscal year variant as agreed
Expected result: No inconsistency is reported.
Why this matters: Controlling and the ledgers depend on compatible period definitions.
- 6
OB52 → open the test period
In the posting period variant of the company code open the period that contains the test posting date for the relevant account types.
OB52 → open the test periodERPClimb · illustrative screen - Fiscal year
Previous fiscal year for a January date- Period
10
Expected result: The period is open for posting.
Why this matters: The fiscal year variant defines periods; the posting period variant opens and closes them.
- 7
FB50 → test posting
Enter a small general ledger posting in the test company code with a posting date in January and check the period and fiscal year in the document header. Reverse it afterwards if required.
FB50 → test postingERPClimb · illustrative screen - Posting date
15 January (hypothetical)- Expected period
10- Expected fiscal year
The year in which the previous April fell
Expected result: The document header shows period 10 of the previous fiscal year.
Why this matters: The derived period in a real document is the proof that the variant is correct.
Project acceptance checklist
Use this checklist to prepare evidence for your project lead.
0 of 4 checks marked. This does not certify the SAP configuration.
Validate your configuration
- OB29 shows the variant with 12 posting periods, 4 special periods and the period table with the correct year shift.
- A test posting dated in January is posted in period 10 of the previous fiscal year for an April to March year.
Common errors and what to check
postings in January to March land in the wrong fiscal year.
Check: The year shift of minus one is missing for those months.
a message that the period is not open.
Check: The fiscal year variant only defines periods; they are opened in the posting period variant (OB52).
an error when assigning the company code to a controlling area.
Check: The fiscal year variants of the company code and the controlling area are not compatible; normally they should be the same variant, so agree this with controlling before assigning.
the variant cannot be assigned or changed.
Check: Documents already exist; changing the fiscal year of a live company code is a conversion project, not a customizing change.
More in the SAP Library
Need help with a configuration error? Open ERPClimb Copilot.
Technical references & further reading
Official documentation for technical verification, release compatibility and further study.