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

Close

How To Fix WS_EA006 - &1 documents were selected but the maximum allowed is &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS_EA - Settlement Management Messages (Add-On)

  • Message number: 006

  • Message text: &1 documents were selected but the maximum allowed is &1

  • Show details Hide details
  • What causes this issue?

    On the selection screen you have restricted the maximum number of
    documents that can be processed to &V2&. However, &V1& were selected.

    System Response

    The system cannot process the documents.

    How to fix this error?

    Check your selection criteria or, if necessary, increase the maximum
    number of documents permitted.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS_EA006 - &1 documents were selected but the maximum allowed is &1 ?

    SAP Error Message:
    WS_EA006 &1 documents were selected but the maximum allowed is &1


    Cause:

    This error occurs when you try to process or select more documents than the system allows in a single operation. The number of documents you are attempting to handle exceeds the maximum limit configured in the system or program.

    For example, if the system or a particular transaction is set to allow a maximum of 100 documents at once, and you try to select 150, this error will be triggered.


    Explanation:

    • &1 (first placeholder) = Number of documents you tried to select.
    • &1 (second placeholder) = Maximum number of documents allowed.

    The message indicates that the number of selected documents exceeds the configured maximum limit.


    Common Scenarios:

    • Mass processing transactions (e.g., mass changes, mass printing, mass posting).
    • Background jobs or batch input sessions that process multiple documents.
    • Reports or interfaces that have a limit on the number of documents processed at once.

    Solution:

    1. Reduce the number of documents selected:
      Select fewer documents so that the number does not exceed the maximum allowed.

    2. Increase the maximum allowed documents:
      If business requirements demand processing more documents at once, the limit can be increased by adjusting the relevant parameter or customizing setting.

      • This limit is often controlled by a parameter in the program or a profile parameter.
      • For example, in some SAP modules, the limit can be adjusted in the program variant or via transaction parameters.
      • Consult the documentation or SAP notes related to the specific transaction or program you are using.
    3. Process documents in batches:
      If increasing the limit is not possible or not recommended, process the documents in smaller batches.


    How to find and change the limit:

    • Check the documentation or configuration of the specific transaction or program.
    • Sometimes the limit is set in a customizing node (SPRO) or in the program variant.
    • In some cases, the limit is hardcoded and requires an SAP note or support package to change.
    • You can also check if there is a parameter in the user profile or system profile that controls this limit.

    Related Information:

    • This message is a standard SAP warning/error to prevent system overload or performance issues.
    • Always consider system performance and memory when increasing limits.
    • If unsure, consult SAP support or your SAP Basis/functional team before changing limits.
    • Check SAP Notes for your specific module or transaction for any known issues or recommendations.

    Example:

    If you are using a mass change transaction in FI (Financial Accounting) or MM (Materials Management) and get this error, try selecting fewer documents or check the program variant for a parameter like MAX_DOCS or similar.


    If you provide the exact transaction or module where this error occurs, I can help you find more specific 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker