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

Close

How To Fix F7266 - Only To Date and From Date permitted for document date


SAP Error Message - Details

  • Message type: E = Error

  • Message class: F7 - Program Error Messages

  • Message number: 266

  • Message text: Only To Date and From Date permitted for document date

  • Show details Hide details
  • What causes this issue?

    You have selected the update of data for the electronic tax return. In
    this case, you can only specify a start date and an end date for the
    document date.

    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 F7266 - Only To Date and From Date permitted for document date ?

    The SAP error message F7266 ("Only To Date and From Date permitted for document date") typically occurs when you are trying to enter a document date in a financial transaction that is not allowed by the system's configuration or the specific transaction rules. This error is often encountered in the context of financial postings, such as during the creation of invoices, journal entries, or other financial documents.

    Cause:

    1. Date Restrictions: The system may have restrictions on the document date based on the fiscal year, posting periods, or other configuration settings. If the date you are trying to enter falls outside the allowed range, this error will be triggered.
    2. Configuration Settings: The company code or fiscal year settings may restrict the use of certain dates for document postings.
    3. Transaction Type: Certain transaction types may only allow specific date formats or ranges.

    Solution:

    1. Check Document Date: Ensure that the document date you are trying to enter falls within the allowed range. You can check the allowed posting periods in the configuration settings.
    2. Review Posting Periods: Go to the transaction code OB52 to review the posting periods for your company code. Make sure that the date you are trying to use is within an open posting period.
    3. Adjust Date: If the date is outside the allowed range, adjust the document date to a valid date that falls within the open posting periods.
    4. Consult Configuration: If you have access, check the configuration settings related to document dates in the Financial Accounting (FI) module. This may involve consulting with your SAP administrator or finance team.
    5. Use Correct Transaction: Ensure that you are using the correct transaction for the type of posting you are trying to make, as some transactions may have specific date requirements.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FB01 (Post Document), FB60 (Enter Incoming Invoices), and FB70 (Enter Outgoing Invoices).
    • SAP Notes: Check for any relevant SAP Notes that may address this error or provide additional guidance.
    • User Authorization: Ensure that you have the necessary authorizations to post documents in the specified periods.

    If the issue persists after checking these aspects, it may be beneficial to consult with your SAP support team or refer to SAP documentation for further troubleshooting steps.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author