How To Fix 06223 - Document number & not within defined interval


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 06 -

  • Message number: 223

  • Message text: Document number & not within defined interval

  • Show details Hide details
  • What causes this issue?

    The document number you entered does not lie within the interval
    defined for purchasing documents.

    How to fix this error?

    Contact your system administrator if changes need to be made to the
    number range interval.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 06223 - Document number & not within defined interval ?

    The SAP error message "06223 Document number & not within defined interval" typically occurs when you are trying to post a document (such as an invoice, journal entry, etc.) and the document number you are using is not within the defined number range for that particular document type. This can happen for various reasons, including configuration issues or incorrect document number usage.

    Cause:

    1. Number Range Configuration: The number range for the document type you are trying to post may not include the document number you are using. Each document type in SAP has a defined number range, and if the number you is outside this range, the error will occur.
    2. Document Type: You may be using the wrong document type that has a different number range.
    3. Number Range Status: The number range may be set to "not available" or "closed" for the period you are trying to post in.
    4. Custom Number Ranges: If your organization has custom number ranges, they may not be configured correctly.

    Solution:

    1. Check Number Range Configuration:

      • Go to transaction code SNRO (Number Range Objects).
      • Enter the object name related to the document type you are working with (e.g., FBN1 for financial documents).
      • Check the defined intervals to ensure that the document number you are trying to use falls within the specified range.
    2. Adjust Number Range:

      • If the number range is incorrect or does not include the required document number, you may need to adjust the number range intervals.
      • This can be done in transaction code SNRO or OBA7 (for financial documents).
    3. Use Correct Document Type:

      • Ensure that you are using the correct document type that corresponds to the number range you are trying to use.
    4. Check Document Type Settings:

      • Go to transaction code OBD4 (for document types) and verify the settings for the document type you are using.
    5. Consult with SAP Basis or Configuration Team:

      • If you do not have the necessary permissions to change number ranges or document types, consult with your SAP Basis or configuration team to resolve the issue.

    Related Information:

    • Transaction Codes:
      • SNRO: Number Range Objects
      • OBA7: Maintain Number Ranges for Document Types
      • OBD4: Document Types
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to number ranges and document types.
    • Documentation: Review SAP documentation for number range management to understand how to configure and manage number ranges effectively.

    By following these steps, you should be able to resolve the error message and successfully post your document in SAP.

    • 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