How To Fix BORGR671 - You can return a maximum of &2 for &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: BORGR - Messages Multi-Level Goods Receipt

  • Message number: 671

  • Message text: You can return a maximum of &2 for &1

  • Show details Hide details
  • What causes this issue?

    The quantity you are trying to return for item &v1& is too large. The
    total return delivery quantity of all outbound deliveries cannot be
    larger than the sum of all goods receipt material documents.

    System Response

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

    How to fix this error?

    Reduce the quantity of the return delivery to &v2&.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message BORGR671 - You can return a maximum of &2 for &1 ?

    The SAP error message BORGR671, which states "You can return a maximum of &2 for &1," typically occurs in the context of a function module or method that is trying to return more data than is allowed based on the defined limits in the system.

    Cause:

    This error usually arises when:

    1. Data Limit Exceeded: The function or method you are calling has a predefined limit on the number of records it can return. The parameters &1 and &2 in the error message represent the function name and the maximum number of records allowed, respectively.
    2. Incorrect Configuration: There may be a configuration issue where the limits are not set correctly, or the calling program is not adhering to the expected limits.
    3. Business Logic: The business logic implemented in the program may be attempting to fetch or process more records than allowed.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check the Function Module/Method: Review the documentation for the function module or method you are using to understand its limitations regarding the number of records it can return.
    2. Adjust the Data Retrieval Logic: Modify your code to ensure that the number of records being requested does not exceed the maximum limit specified in the error message. This may involve:
      • Implementing pagination or limiting the number of records fetched in a single call.
      • Filtering the data more effectively to reduce the number of records returned.
    3. Review Configuration Settings: If applicable, check the configuration settings in your SAP system to see if the limits can be adjusted to accommodate your needs.
    4. Consult SAP Notes: Look for any relevant SAP Notes or documentation that might provide additional insights or updates related to this error message.

    Related Information:

    • SAP Documentation: Refer to the official SAP documentation for the specific function module or method you are using to understand its parameters and limitations.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they have implemented.
    • Debugging: If you have access to the ABAP debugger, you can step through the code to identify where the error is being triggered and gather more context about the data being processed.

    By following these steps, you should be able to identify the root cause of the BORGR671 error and implement a suitable solution.

    • 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