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

Close

How To Fix WS402 - Number range object &1 is not maintained


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 402

  • Message text: Number range object &1 is not maintained

  • 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 WS402 - Number range object &1 is not maintained ?

    SAP Error Message:
    WS402 - Number range object &1 is not maintained


    Cause:

    This error occurs when the system tries to assign a number from a number range object that has not been maintained or defined in the system. Number range objects are used in SAP to generate unique numbers for various business documents or master data (e.g., material numbers, purchase order numbers, invoice numbers).

    If the number range object specified in the transaction or program does not have any intervals defined or is missing entirely, the system cannot generate a number, resulting in this error.


    Explanation:

    • The placeholder &1 in the message will be replaced by the actual number range object name that is missing or not maintained.
    • Number range objects are maintained in transaction SNRO or SNUM.
    • This error typically happens during document creation or master data creation when the system tries to fetch the next number from the number range object.

    Solution:

    1. Identify the Number Range Object:

      • From the error message, note the number range object name (e.g., MATERIALNR, EBELN, etc.).
    2. Maintain Number Range Intervals:

      • Go to transaction SNRO (Number Range Objects).
      • Enter the number range object name from the error message.
      • Click on Intervals.
      • Check if any intervals are defined for the relevant application area or client.
      • If no intervals exist, create a new interval by specifying:
        • Interval name
        • From number
        • To number
        • Current number (usually set to the start number minus one)
      • Save your entries.
    3. Check Authorization:

      • Ensure you have the necessary authorization to maintain number ranges.
    4. Test the Transaction Again:

      • After maintaining the number range, retry the transaction or process that caused the error.

    Additional Information:

    • Transaction SNRO: Used to maintain number range objects and intervals.
    • Transaction SNUM: Also used for number range maintenance in some SAP systems.
    • Number ranges can be internal (system assigns numbers automatically) or external (user enters numbers manually).
    • Always ensure number ranges do not overlap and have sufficient capacity to avoid running out of numbers.
    • Some number ranges are client-specific; ensure you maintain intervals for the correct client.

    Example:

    If the error message is:
    WS402 Number range object MATERIALNR is not maintained

    Steps:

    • Go to SNRO
    • Enter MATERIALNR
    • Click Intervals
    • If empty, create a new interval, e.g., from 100000 to 199999
    • Save and exit
    • Retry material creation

    If you need further help, please provide the number range object name or the transaction where the error occurs.

    • 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