Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WRF_CONS306 - Error determining the period (date: &1; company code: &2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_CONS - Retail Fashion: Consignment Processing Stock Transfers

  • Message number: 306

  • Message text: Error determining the period (date: &1; company code: &2)

  • Show details Hide details
  • What causes this issue?

    An error occurred when calculating the period during stock determination
    (date: &1; company code: &2).

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WRF_CONS306 - Error determining the period (date: &1; company code: &2) ?

    Certainly! Here's detailed information about the SAP error message WRF_CONS306: Error determining the period (date: &1; company code: &2):


    Error Message

    WRF_CONS306
    Text: Error determining the period (date: &1; company code: &2)


    Cause

    This error occurs during consolidation processing in SAP when the system is unable to determine the correct fiscal period for a given posting date and company code. The main reasons include:

    • Missing or incorrect fiscal year variant assignment: The company code (&2) does not have a fiscal year variant assigned or the assignment is incorrect.
    • Date (&1) outside the fiscal year: The posting date provided (&1) does not fall within any open fiscal year period for the company code.
    • Fiscal year variant configuration issues: The fiscal year variant assigned to the company code may not be properly configured, e.g., missing periods or incorrect period definitions.
    • Open/close periods not maintained: The posting date might be in a period that is closed or not defined in the fiscal year variant.
    • Customizing inconsistencies: Inconsistencies in the customizing settings for fiscal year variants or company code assignments.

    Solution

    To resolve the error, perform the following steps:

    1. Check Fiscal Year Variant Assignment:

      • Transaction: OB37 or SPRO ? Financial Accounting ? Financial Accounting Global Settings ? Fiscal Year ? Maintain Fiscal Year Variant
      • Verify that the company code (&2) has a fiscal year variant assigned.
      • If missing, assign the correct fiscal year variant to the company code.
    2. Verify Fiscal Year Variant Configuration:

      • Transaction: OB29
      • Check the fiscal year variant assigned to the company code.
      • Ensure that the fiscal year variant covers the date (&1) in question.
      • Confirm that the number of posting periods and special periods are correctly defined.
    3. Check Posting Date Validity:

      • Confirm that the date (&1) falls within an open posting period.
      • Transaction: OB52 (Maintain Posting Periods)
      • Verify that the posting period for the date is open for the company code.
    4. Adjust Fiscal Year Variant or Posting Periods if Needed:

      • If the date is outside the fiscal year variant, either adjust the fiscal year variant or correct the posting date.
      • If the posting period is closed, open the period temporarily to allow posting.
    5. Re-run the Consolidation Process:

      • After corrections, re-execute the consolidation step that triggered the error.

    Related Information

    • Transactions:

      • OB37 – Assign Fiscal Year Variant to Company Code
      • OB29 – Define Fiscal Year Variant
      • OB52 – Maintain Posting Periods
      • S_ALR_87003642 – Fiscal Year Variant Report (to check fiscal year variant details)
    • Notes and Documentation:

      • SAP Note 0000000 (replace with actual note number if available) may provide additional guidance.
      • SAP Help Portal: Fiscal Year Variant and Posting Periods configuration.
    • Typical Scenario:

      • This error often appears during consolidation or financial postings when the system tries to map a posting date to a fiscal period but fails due to configuration issues.

    If you provide the exact date and company code, I can help you check the fiscal year variant and posting periods for those values.


    Summary:
    The error WRF_CONS306 indicates that SAP cannot determine the fiscal period for the given date and company code due to fiscal year variant or posting period configuration issues. Correcting the fiscal year variant assignment and ensuring the posting date falls within an open period will resolve the issue.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker