Define Posting Period Variant

Several Company codes can use same posting period variant.The SAP system automatically determines the posting period and fiscal year based on the posting date entered.The posting period variant is assigned to the company code.Posting periods are defined in the fiscal year variant, Closing/opening posting period are carried out in posting period variant.The posting period variant must contain at least the account type ?+?.In the document header, the periods assigned to the account type ?+? are checked with posting date, whether posting period is open for that date or closed.