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

Close

How To Fix WG220 - The last number in number range object & has been assigned


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WG - Messages for store order and investment buy

  • Message number: 220

  • Message text: The last number in number range object & has been assigned

  • Show details Hide details
  • What causes this issue?

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

    System Response

    How to fix this error?

    Contact your system administrator.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG220 - The last number in number range object & has been assigned ?

    Certainly! Here's a detailed explanation for the SAP error message WG220:


    SAP Error Message: WG220

    Text: The last number in number range object & has been assigned


    Cause:

    This error occurs when the system tries to assign a new number from a number range object, but the last number in the defined number range has already been used. In other words, the number range is exhausted or fully assigned, and there are no more numbers available to allocate.

    Number ranges in SAP are used to generate unique document numbers, master data numbers, or other identifiers. Each number range has a defined interval (from number X to number Y). When the system reaches the upper limit (last number), it cannot assign any new numbers unless the number range is extended or a new number range interval is created.


    Where it typically occurs:

    • Document number assignment (e.g., sales orders, purchase orders, delivery documents)
    • Master data number assignment (e.g., material numbers, vendor numbers)
    • Any custom or standard process that uses number range objects

    Solution:

    1. Extend the Number Range Interval:

      • Go to the transaction code SNRO (Number Range Objects) or SNUM (Number Range Maintenance).
      • Enter the relevant number range object (e.g., BUS2032 for sales orders).
      • Check the current intervals and extend the upper limit of the number range interval to a higher number.
      • Save the changes.
    2. Create a New Number Range Interval:

      • If extending the current interval is not possible or desirable, create a new number range interval with a new range of numbers.
      • Assign this new interval to the relevant application or user group.
    3. Check Number Range Buffer:

      • Sometimes the number range buffer might be out of sync.
      • You can reset the buffer by using transaction SNRO ? Utilities ? Reset Buffer.
    4. Check for Custom Code or User Exits:

      • If the number range is custom or used in custom developments, verify that the number assignment logic is correct and not causing premature exhaustion.

    Related Information:

    • Transaction Codes:
      • SNRO – Number Range Objects maintenance
      • SNUM – Number Range intervals maintenance
      • SE91 – Message maintenance (to check message WG220 details)
    • SAP Notes:
      • Search for SAP Notes related to number range exhaustion for your specific module.
    • Best Practices:
      • Monitor number range usage regularly to avoid exhaustion.
      • Set up alerts or reports to notify administrators before number ranges run out.
      • Use sufficiently large number ranges to accommodate business growth.

    Summary:

    Aspect Details
    Error WG220 – Last number in number range assigned
    Cause Number range interval is fully used up
    Solution Extend or create new number range interval
    Transaction SNRO, SNUM
    Prevention Monitor number ranges, set alerts

    If you provide the specific number range object or module, I can help with more tailored instructions.

    • 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 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