How To Fix >A586 - Document number is last number in number range


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >A -

  • Message number: 586

  • Message text: Document number is last number in number range

  • 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 >A586 - Document number is last number in number range ?

    The SAP error message A586: Document number is last number in number range typically occurs when you are trying to post a document (such as an invoice, journal entry, etc.) and the document number you are attempting to use is the last number in the defined number range for that document type. This means that there are no more available numbers in the number range to assign to new documents.

    Cause:

    1. Exhausted Number Range: The number range for the document type has been exhausted, meaning that all available document numbers have been used.
    2. Configuration Issues: The number range may not be configured correctly, or it may not have been extended to accommodate more document numbers.
    3. Manual Number Assignment: If manual number assignment is being used, the last number may have been reached without a proper extension of the number range.

    Solution:

    1. Extend the Number Range:

      • Go to the transaction code SNRO (Number Range Objects).
      • Find the relevant number range object for the document type you are working with (e.g., for accounting documents, it might be FBN1).
      • Check the current number range intervals and extend them if necessary. You can add a new interval with a higher starting number.
    2. Check Number Range Status:

      • Use transaction code SNUM to check the status of the number ranges and see how many numbers are available.
      • If the number range is set to "internal," ensure that the system is configured to generate new numbers automatically.
    3. Adjust Document Type Settings:

      • If applicable, check the settings for the document type in the configuration (transaction code OBY6 for financial documents) to ensure that the number range is correctly assigned.
    4. Use a Different Number:

      • If you are manually entering a document number, try using a different number that is not the last one in the range.
    5. Consult with SAP Basis or Functional Team:

      • If you are unsure about making changes to the number range, consult with your SAP Basis or functional team for assistance.

    Related Information:

    • Transaction Codes:
      • SNRO: Number Range Objects
      • SNUM: Number Range Status
      • OBY6: Configuration for Document Types
    • Documentation: Refer to SAP Help documentation for detailed instructions on managing number ranges.
    • User Authorization: Ensure that you have the necessary authorizations to make changes to number ranges.

    By following these steps, you should be able to resolve the error and continue with your document posting 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant