---
description: The tutorial explains how to create a Fiscal Year Variant. Enter the transaction code SPRO in the SAP command field and press Enter.
title: Create Fiscal Year Variant &#038; Assign to Company Code in SAP
image: https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png
---

 

[Skip to content](#main) 

**⚡ Smart Summary**

Fiscal year variants in SAP define how a financial year is divided into posting periods and special periods, determining whether the year follows the calendar or a custom schedule before assignment to each company code.

* 🗓️ **Fiscal Year Variant:** Defines how many posting periods and special periods a financial year contains.
* 🔧 **Transaction OB29:** OB29 maintains the variant; SPRO reaches the same Maintain Fiscal Year Variant step.
* 📅 **Calendar or Not:** A calendar-year variant runs January to December; non-calendar variants need period dates.
* ➕ **Special Periods:** Up to four special periods support year-end closing and audit adjustments.
* 🔗 **Company Code Assignment:** Each company code is assigned one fiscal year variant to control its calendar.
* 🤖 **AI Assistance:** SAP Joule and machine learning help validate calendar setup and flag period errors.

[ Read More ](javascript:void%280%29;) 

![Assign Fiscal Year Variant to Company Code in SAP](https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png)

## What is a Fiscal Year Variant in SAP?

A fiscal year variant defines how a financial year is structured in SAP. It sets the number of posting periods, the number of special periods, and whether the year matches the calendar year or follows a custom schedule. The variant is then assigned to each company code.

## Year-Dependent vs Year-Independent Fiscal Year Variants

SAP supports two ways of defining the period structure:

| Type             | Behaviour                                                                                                         |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- |
| Year-independent | The same period structure repeats every year. Used when the calendar is stable, including calendar-year variants. |
| Year-dependent   | Period dates are defined per year. Used for shortened fiscal years or calendars that change year to year.         |

A calendar-year variant runs from January to December with twelve periods, so SAP uses the calendar months automatically without individual period dates.

## How to Create a Fiscal Year Variant

The following steps create a fiscal year variant using the SPRO customizing path (transaction OB29).

**Step 1)** Enter the Transaction code SPRO in the SAP Command Field and press Enter.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint01.png)

**Step 2)** In the next screen, select SAP Reference IMG.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint02.png)

**Step 3)** In the next screen, “Display IMG”, navigate the following menu path: SAP Customizing Implementation Guide -> Financial [Accounting](https://www.guru99.com/accounting.html) \-> Financial Accounting Global Settings -> Fiscal Years -> Maintain Fiscal Year Variant (Maintain Shortened Fiscal Year).

[](https://www.guru99.com/images/sap/2012/05/FYVaraint03.png)

**Step 4)** In the next screen, select “New Entries” from the Application Toolbar.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint04.png)

**Step 5)** In the next screen, enter the following data:

1. Enter a two-digit unique fiscal year variant key.
2. Enter a description for the variant created.
3. If the fiscal year is year-dependent, that is, if the start and end dates change between years, select this option (normally used for a shortened fiscal year).
4. If the fiscal year is the same as the calendar year, that is, January to December, select this option.
5. Enter the number of posting periods for this fiscal year.
6. Enter the number of special posting periods used for closing activities.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint05.png)

### RELATED ARTICLES

* [How to Create a Company in SAP & Assign Company Code ](https://www.guru99.com/how-to-create-a-company-code-and-assign-to-a-company.html "How to Create a Company in SAP & Assign Company Code")
* [Define Posting Period Variant Tcode in SAP ](https://www.guru99.com/how-to-define-posting-period-variant.html "Define Posting Period Variant Tcode in SAP")
* [Incoming & Outgoing Partial Payment in SAP ](https://www.guru99.com/how-to-post-incoming-partial-payments-by-partial-payment-method.html "Incoming & Outgoing Partial Payment in SAP")
* [How to Block or Delete a Vendor in SAP FICO: FK05 ](https://www.guru99.com/how-to-block-or-delete-a-vendor.html "How to Block or Delete a Vendor in SAP FICO: FK05")

**Step 6)** After entering all required data, press Save from the standard toolbar.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint06.png)

**Step 7)** In the next screen, enter the customizing request number, and you have created a new fiscal year variant.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint07.png)

**Step 8)** To maintain the period dates, that is, if the fiscal year variant is not the calendar year, maintain the posting periods by:

1. Select the fiscal year variant for which you want to maintain the period.
2. Select the Periods folder.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint08.png)

**Step 9)** In the next screen, maintain the periods for the fiscal year in ascending order.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint09.png)

**Step 10)** After maintaining the periods, press “Save” on the SAP Standard Toolbar.

[](https://www.guru99.com/images/sap/2012/05/FYVaraint10.png)

## How to Assign Company Code to a Fiscal Year Variant

**Step 1)** Enter the Transaction code SPRO in the [SAP](https://www.guru99.com/sap-training-hub.html) Command Field and press Enter.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint01.png)

**Step 2)** In the next screen, select SAP Reference IMG.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint02.png)

**Step 3)** In the next screen, “Display IMG”, navigate the following menu path: SAP Customizing Implementation Guide -> Financial Accounting -> Financial Accounting Global Settings -> Fiscal Years -> Assign Company Code to a Fiscal Year Variant.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint03.png)

**Step 4)** In the next screen, assign the company code in the list with the corresponding fiscal year variant.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint04.png)

**Step 5)** After the assignment, press “Save” from the SAP Standard Toolbar.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint05.png)

**Step 6)** In the next screen, enter the customizing request number.

[](https://www.guru99.com/images/sap/2012/05/AFYVaraint06.png)

You have successfully [assigned the company code](https://www.guru99.com/how-to-create-a-company-code-and-assign-to-a-company.html) to the fiscal year variant. You can also assign the fiscal year variant in the company code through the Company Code Global Parameters settings.

## FAQs

🔧 Which transaction maintains a fiscal year variant?

Transaction OB29 maintains fiscal year variants, and the same step is reached through SPRO under Financial Accounting Global Settings, Fiscal Years, Maintain Fiscal Year Variant. There you define periods, special periods, and the year-dependent setting.

🗓️ How many special periods can a fiscal year have?

A fiscal year can have up to four special periods in addition to the twelve regular periods. Special periods are used for year-end closing activities such as audit adjustments and final corrections after the normal periods close.

➕ What is the annual displacement indicator in a fiscal year variant?

For non-calendar fiscal years, the displacement indicator (-1, 0, or +1) tells SAP whether a period belongs to the previous, current, or next calendar year, aligning posting dates with the correct fiscal year.

🤖 Can AI help configure fiscal year variants in SAP?

Yes. The SAP Joule AI copilot can explain year-dependent and calendar-year options, recommend the right setup, and answer OB29 questions in natural language, helping consultants configure the financial calendar faster and with fewer errors.

🧠 How does machine learning support financial calendar accuracy?

Machine learning checks postings against the defined fiscal calendar, flags entries that fall in the wrong period, and highlights inconsistent variant assignments. This intelligent validation helps finance teams keep period reporting accurate across company codes.

#### Summarize this post with:

ChatGPT Perplexity Grok Google AI 

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.** 

##### Sign up for the newsletter

Subscribe for Free 

You have successfully subscribed.  
Please check your inbox. 

![AI-Newsletter]() Chosen by over **350,000+** professionals 

[Scroll to top ](#wrapper)Scroll to top 

× 

Toggle Menu Close 

Search for: 

Search

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png","url":"https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png","width":"700","height":"250","caption":"Assign Fiscal Year Variant to Company Code in SAP","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/sap-fico-training-tutorials1","name":"SAP FICO"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html","name":"Create Fiscal Year Variant &#038; Assign to Company Code in SAP"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#webpage","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html","name":"Create Fiscal Year Variant &#038; Assign to Company Code in SAP","dateModified":"2026-06-26T13:34:03+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/mason","name":"Mason Garcia","description":"I'm Mason Garcia, an SAP CRM, FICO, and HANA Consultant, specializing in configuring and optimizing SAP systems for enhanced business performance.","url":"https://www.guru99.com/author/mason","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/mason-garcia-author.png","url":"https://www.guru99.com/images/mason-garcia-author.png","caption":"Mason Garcia","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"SAP FICO","headline":"Create Fiscal Year Variant &#038; Assign to Company Code in SAP","description":"The tutorial explains how to create a Fiscal Year Variant. Enter the transaction code SPRO in the SAP command field and press Enter.","keywords":"sap-fi","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/mason","name":"Mason Garcia"},"dateModified":"2026-06-26T13:34:03+05:30","image":{"@id":"https://www.guru99.com/images/assign-fiscal-year-variant-to-company-code-in-sap.png"},"copyrightYear":"2026","name":"Create Fiscal Year Variant &#038; Assign to Company Code in SAP","subjectOf":[{"@type":"HowTo","name":"How to Create a Fiscal Year Variant","description":"Following are steps to create a Fiscal Year Variant.","step":[{"@type":"HowToStep","name":"Step 1) Enter the Transaction code SPRO","text":"Enter the Transaction code SPRO in the SAP Command Field and Press Enter","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint01.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step1"},{"@type":"HowToStep","name":"Step 2) Select SAP reference IMG","text":"In the next screen Select SAP reference IMG","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint02.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step2"},{"@type":"HowToStep","name":"Step 3) Display IMG","text":"In next screen-'Display IMG' navigate the following menu path","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint03.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step3"},{"@type":"HowToStep","name":"Step 4) Select New Entries","text":"In the next screen, Select 'New Entries' from the Application Toolbar","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint04.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step4"},{"@type":"HowToStep","name":"Step 5) Enter the following Data","text":"In the next screen, Enter the following Data","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint05.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step5"},{"@type":"HowToStep","name":"Step 6) Press Save from the standard toolbar","text":"After entering all required data, Press Save from the standard toolbar","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint06.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step6"},{"@type":"HowToStep","name":"Step 7) Enter the customizing request number","text":"In the next screen, Enter the customizing request number and you have created a new Fiscal year Variant","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint07.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step7"},{"@type":"HowToStep","name":"Step 8) Maintaining the period dates","text":"For Maintaining the period dates, that is if the Fiscal year Variant is not Calendar Year, then we can maintain the Posting period by","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint08.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step8"},{"@type":"HowToStep","name":"Step 9) Maintain the periods for the Fiscal year in Ascending order","text":"In the next screen, Maintain the periods for the Fiscal year in Ascending order","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint09.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step9"},{"@type":"HowToStep","name":"Step 10) Press 'Save'","text":"After maintaining the periods , Press \u201cSave\u201d in SAP Standard Toolbar","image":"https://www.guru99.com/images/sap/2012/05/FYVaraint10.png","url":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#step10"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Which transaction maintains a fiscal year variant?","acceptedAnswer":{"@type":"Answer","text":"Transaction OB29 maintains fiscal year variants, and the same step is reached through SPRO under Financial Accounting Global Settings, Fiscal Years, Maintain Fiscal Year Variant. There you define periods, special periods, and the year-dependent setting."}},{"@type":"Question","name":"How many special periods can a fiscal year have?","acceptedAnswer":{"@type":"Answer","text":"A fiscal year can have up to four special periods in addition to the twelve regular periods. Special periods are used for year-end closing activities such as audit adjustments and final corrections after the normal periods close."}},{"@type":"Question","name":"What is the annual displacement indicator in a fiscal year variant?","acceptedAnswer":{"@type":"Answer","text":"For non-calendar fiscal years, the displacement indicator (-1, 0, or +1) tells SAP whether a period belongs to the previous, current, or next calendar year, aligning posting dates with the correct fiscal year."}},{"@type":"Question","name":"Can AI help configure fiscal year variants in SAP?","acceptedAnswer":{"@type":"Answer","text":"Yes. The SAP Joule AI copilot can explain year-dependent and calendar-year options, recommend the right setup, and answer OB29 questions in natural language, helping consultants configure the financial calendar faster and with fewer errors."}},{"@type":"Question","name":"How does machine learning support financial calendar accuracy?","acceptedAnswer":{"@type":"Answer","text":"Machine learning checks postings against the defined fiscal calendar, flags entries that fall in the wrong period, and highlights inconsistent variant assignments. This intelligent validation helps finance teams keep period reporting accurate across company codes."}}]}],"@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#schema-214763","isPartOf":{"@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/how-to-create-a-fiscal-year-variant.html#webpage"}}]}
```
