How To Fix ME822 - Document date &2 is not within validity period of contract &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ME - Purchasing: General Messages

  • Message number: 822

  • Message text: Document date &2 is not within validity period of contract &1

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ME822 - Document date &2 is not within validity period of contract &1 ?

    The SAP error message ME822 "Document date &2 is not within validity period of contract &1" typically occurs when you are trying to create or process a purchase order or a related document that references a contract, and the document date falls outside the validity period of that contract.

    Cause:

    1. Document Date Issue: The date you are using for the document (e.g., purchase order) is either before the start date or after the end date of the contract.
    2. Contract Validity: The contract referenced in the document has specific validity dates, and the document date does not align with these dates.
    3. Incorrect Contract Reference: The document may be referencing the wrong contract or an expired contract.

    Solution:

    1. Check Contract Validity:

      • Go to the contract in SAP (transaction code ME33K) and check the validity dates (start date and end date).
      • Ensure that the document date you are using falls within this range.
    2. Adjust Document Date:

      • If the document date is incorrect, adjust it to a date that is within the validity period of the contract.
    3. Update Contract:

      • If the contract needs to be extended or modified, you can update the validity dates of the contract (transaction code ME32K) if you have the necessary permissions.
    4. Create a New Contract:

      • If the existing contract is no longer valid and cannot be extended, consider creating a new contract that covers the required period.
    5. Check for Errors in Document Creation:

      • Ensure that there are no other errors in the document creation process that might be causing the issue.

    Related Information:

    • Transaction Codes:

      • ME33K: Display Contract
      • ME32K: Change Contract
      • ME21N: Create Purchase Order
      • ME22N: Change Purchase Order
    • SAP Notes: Check SAP Notes for any specific patches or updates related to this error message.

    • User Permissions: Ensure that you have the necessary permissions to view and modify contracts.

    • Consult Documentation: Refer to SAP documentation or your organization's SAP support team for further assistance if the issue persists.

    By following these steps, you should be able to resolve the error message ME822 and successfully process your document.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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