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

Close

How To Fix WG363 - Result of last iteration rejected. Target restriction exceeded


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 363

  • Message text: Result of last iteration rejected. Target restriction exceeded

  • 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 WG363 - Result of last iteration rejected. Target restriction exceeded ?

    The SAP error message:

    WG363 - Result of last iteration rejected. Target restriction exceeded

    typically occurs in the context of SAP Workflow or Planning functions (such as in SAP APO or other planning tools) where iterative calculations or processing steps are performed.


    Cause

    • The error indicates that during an iterative process (e.g., planning, workflow iteration, or calculation), the result of the last iteration was rejected because it exceeded a predefined target restriction or limit.
    • This means that the system has a constraint or threshold set for the result values, and the iteration produced a value outside this allowed range.
    • Common scenarios:
      • In SAP APO (Advanced Planning and Optimization), during heuristic or optimizer runs, the solution violates target restrictions (e.g., supply/demand constraints, capacity limits).
      • In workflow or batch processing, iterative steps produce results that do not meet validation criteria or exceed configured limits.
    • The system rejects the iteration result to prevent invalid or infeasible data from being accepted.

    Solution

    1. Check Target Restrictions / Constraints:

      • Review the target restrictions or limits configured in the planning or workflow setup.
      • In APO, check the planning book, data slices, or heuristics settings for any constraints that might be too tight or incorrectly defined.
      • Adjust the target restrictions if they are too restrictive or incorrect.
    2. Analyze the Iteration Logic:

      • Verify the logic or algorithm used in the iterative process.
      • Ensure that the input data and parameters are correct and consistent.
      • Check if the iteration step is expected to produce results within the allowed range.
    3. Review Data Consistency:

      • Check the master data and transactional data involved in the process.
      • Look for anomalies or inconsistencies that might cause the iteration to fail.
    4. Increase Allowed Limits (if applicable):

      • If the target restriction is a configurable parameter, consider increasing the allowed limits to accommodate realistic results.
    5. Debug or Trace the Process:

      • Use SAP debugging or trace tools to identify exactly where and why the iteration result is rejected.
      • Look for detailed logs or dumps related to the error.
    6. SAP Notes and Support:

      • Search for SAP Notes related to message WG363 for your specific module (e.g., APO, Workflow).
      • Apply any relevant patches or corrections.

    Related Information

    • SAP APO Planning: In APO, target restrictions are often set in the planning book or heuristic profiles to control the planning results.
    • Workflow Iterations: In workflow scenarios, iterative steps may have validation rules that reject results exceeding thresholds.
    • Message Class WG: The message class WG is often related to workflow or planning functions.
    • Transaction Codes: Depending on the module, transactions like /SAPAPO/SDP94 (heuristics), /SAPAPO/OM17 (planning book), or workflow transaction codes may be relevant.
    • SAP Help and Documentation: Refer to SAP Help Portal for your specific module and version for detailed explanations of target restrictions and iterative processing.

    If you provide the exact module or context where this error occurs (e.g., APO, Workflow, Planning), I can give more precise guidance.

    • 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