How To Fix /SAPAPO/DM_SCHEDFAIL066 - External relationships have been violated - minimum pegging relationship


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SAPAPO/DM_SCHEDFAIL -

  • Message number: 066

  • Message text: External relationships have been violated - minimum pegging relationship

  • 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 /SAPAPO/DM_SCHEDFAIL066 - External relationships have been violated - minimum pegging relationship ?

    The SAP error message /SAPAPO/DM_SCHEDFAIL066 indicates that there is a violation of external relationships in the context of demand management and scheduling within SAP Advanced Planning and Optimization (APO). Specifically, it refers to a minimum pegging relationship that has not been satisfied.

    Cause:

    This error typically arises when there are issues with the relationships between demand and supply in the planning process. The following are common causes:

    1. Insufficient Supply: The supply does not meet the minimum requirements of the demand, leading to a violation of pegging relationships.
    2. Incorrect Configuration: The configuration settings for pegging relationships may not be set up correctly, leading to mismatches between demand and supply.
    3. Data Inconsistencies: There may be inconsistencies in the master data, such as product master, location master, or planning book settings.
    4. Planning Version Issues: The planning version being used may not have the correct data or settings, leading to discrepancies in demand and supply relationships.

    Solution:

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

    1. Check Supply and Demand: Review the supply and demand data to ensure that there is enough supply to meet the demand requirements. Adjust the supply if necessary.
    2. Review Pegging Relationships: Verify the pegging relationships in the system. Ensure that the minimum pegging requirements are correctly defined and that they align with the demand and supply data.
    3. Configuration Settings: Check the configuration settings for demand management and pegging in the APO system. Ensure that they are set up correctly according to business requirements.
    4. Data Consistency: Perform a data consistency check to identify any inconsistencies in the master data. Correct any issues found.
    5. Planning Version: Ensure that you are using the correct planning version and that it contains the necessary data for demand and supply planning.
    6. Re-run Planning: After making the necessary adjustments, re-run the planning process to see if the error persists.

    Related Information:

    • Transaction Codes: You may use transaction codes like /SAPAPO/DM for demand management or /SAPAPO/SDP94 for viewing the supply and demand situation.
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to this error message.
    • Documentation: Refer to SAP documentation on demand management and pegging relationships for more detailed information on configuration and best practices.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a consultant who specializes in SAP APO for further assistance.

    • 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'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