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

Close

How To Fix W+587 - Layout number is not within the defined number range


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W+ -

  • Message number: 587

  • Message text: Layout number is not within the defined 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 W+587 - Layout number is not within the defined number range ?

    SAP Error Message:
    W+587 Layout number is not within the defined number range


    Cause:

    This warning message occurs when a layout number used in a process (such as printing forms, output layouts, or data exchange formats) is outside the number range that has been defined and maintained in the system. In SAP, certain objects like layouts, forms, or output types have assigned number ranges to ensure consistency and avoid conflicts. If a layout number is manually entered or generated that falls outside these predefined ranges, the system raises this warning.


    When does it typically occur?

    • When creating or modifying output layouts (e.g., Smart Forms, SAPscript layouts).
    • During configuration or runtime of output management (e.g., in SD output types, HR forms).
    • When assigning or calling a layout number that is not maintained in the number range intervals.

    Solution:

    1. Check the Number Range Intervals:

      • Go to the relevant number range maintenance transaction (e.g., SNRO or specific IMG path).
      • Identify the object related to the layout number (e.g., SAPSCRIPT, SMARTFORMS, or a custom object).
      • Verify the number range intervals defined for that object.
    2. Adjust or Extend the Number Range:

      • If the layout number you want to use is outside the current intervals, extend the number range to include this number.
      • Alternatively, choose a layout number within the existing number range.
    3. Use Correct Layout Number:

      • Ensure that the layout number assigned in the configuration or during runtime is valid and falls within the defined number range.
    4. Re-assign or Create Layout:

      • If necessary, create a new layout with a valid number within the range.
      • Re-assign the output or form to this valid layout number.

    How to Maintain Number Ranges:

    • Transaction: SNRO (Number Range Objects)
    • Enter the relevant object name (e.g., SAPSCRIPT, SMARTFORMS, or a custom object).
    • Click on "Intervals" to view or maintain the number ranges.
    • Add or adjust intervals as needed.

    Related Information:

    • Number Range Objects: SAP uses number range objects to control the assignment of unique numbers to various entities.
    • Layouts in SAP: Layouts can refer to forms, print layouts, or output formats.
    • Customizing Path: Depending on the module, layouts and their number ranges can be maintained in SPRO under Output Management or Form Management.
    • Impact: Using a layout number outside the defined range can cause inconsistencies or errors in output processing.

    Summary:

    Aspect Details
    Error Layout number not within defined number range
    Cause Layout number used is outside the maintained number range intervals
    Solution Check and extend number range intervals or use a valid layout number within the range
    Transaction SNRO for number range maintenance

    If you provide the specific module or context (e.g., SD output, HR forms), I can give 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
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