How To Fix /SEHS/DG_DG666 - Error while determining expected delivery via user exit


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SEHS/DG_DG -

  • Message number: 666

  • Message text: Error while determining expected delivery via user exit

  • 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 /SEHS/DG_DG666 - Error while determining expected delivery via user exit ?

    The SAP error message /SEHS/DG_DG666 typically indicates an issue related to the determination of expected delivery dates in the context of a user exit. This error can occur in various scenarios, particularly when customizing or enhancing standard SAP functionality through user exits or BAdIs (Business Add-Ins).

    Cause:

    1. User Exit Logic: The error may arise from incorrect or incomplete logic in the user exit that is responsible for calculating the expected delivery date. This could be due to missing data, incorrect calculations, or unhandled exceptions.
    2. Data Issues: There may be issues with the data being processed, such as missing or incorrect material master data, vendor information, or purchase order details.
    3. Configuration Issues: Incorrect configuration settings in the relevant modules (like MM, SD, or PP) can lead to this error.
    4. Custom Code: If there is custom code that interacts with the expected delivery date calculation, it may not be functioning as intended.

    Solution:

    1. Debugging the User Exit:

      • Use the ABAP debugger to step through the user exit code to identify where the error occurs. Look for any logical errors or unhandled exceptions.
      • Check the input parameters and ensure that all necessary data is available and correctly formatted.
    2. Review Custom Code:

      • If there is custom code involved, review it for any potential issues. Ensure that it adheres to best practices and does not conflict with standard SAP logic.
    3. Check Configuration:

      • Review the configuration settings related to delivery date determination in the relevant modules. Ensure that all necessary settings are correctly configured.
    4. Data Validation:

      • Validate the data being processed. Ensure that all required fields are populated and that the data is consistent and accurate.
    5. Consult Documentation:

      • Check SAP notes and documentation related to the specific user exit or BAdI being used. There may be known issues or additional guidance available.
    6. Testing:

      • After making changes, conduct thorough testing to ensure that the expected delivery date is calculated correctly and that the error no longer occurs.

    Related Information:

    • User Exits and BAdIs: Familiarize yourself with the specific user exit or BAdI being used for expected delivery date determination. Understanding its purpose and how it interacts with other components can provide insights into potential issues.
    • SAP Notes: Search for relevant SAP Notes that may address this specific error message or provide guidance on user exits related to delivery date determination.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they have found.

    If the problem persists after following these steps, it may be beneficial to consult with an SAP expert or reach out to SAP support 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
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