How To Fix /SEHS/DG_DG664 - Cannot determine countries and mode of transport categories via user exit


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SEHS/DG_DG -

  • Message number: 664

  • Message text: Cannot determine countries and mode of transport categories 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_DG664 - Cannot determine countries and mode of transport categories via user exit ?

    The SAP error message /SEHS/DG_DG664 Cannot determine countries and mode of transport categories via user exit typically occurs in the context of the SAP Extended Warehouse Management (EWM) or SAP Global Trade Services (GTS) when the system is unable to determine the necessary country and mode of transport categories during a specific process, such as during the creation of a delivery or shipment.

    Cause:

    1. Configuration Issues: The error often arises due to missing or incorrect configuration in the system related to the mapping of countries and transport modes.
    2. User Exit Implementation: If there is a custom user exit implemented that is supposed to determine the countries and transport categories, it may not be functioning correctly or may not be returning the expected values.
    3. Master Data Issues: Missing or incorrect master data related to countries, transport modes, or other relevant entities can also lead to this error.
    4. Transport Mode Settings: The transport mode settings in the system may not be properly defined or linked to the relevant countries.

    Solution:

    1. Check Configuration:

      • Navigate to the relevant configuration settings in SAP (e.g., SPRO) and ensure that the country and transport mode mappings are correctly defined.
      • Verify that the transport modes are correctly assigned to the relevant countries.
    2. Review User Exit:

      • If a custom user exit is being used, review the code to ensure it is correctly implemented and returning the expected values.
      • Debug the user exit to identify any issues in the logic that may be causing it to fail.
    3. Master Data Verification:

      • Check the master data for the relevant countries and transport modes to ensure that they are correctly maintained.
      • Ensure that all necessary data is available and correctly configured.
    4. Testing:

      • After making any changes, perform tests to ensure that the error no longer occurs and that the system can successfully determine the countries and transport categories.
    5. Consult Documentation:

      • Refer to SAP documentation or notes related to this specific error message for additional guidance and troubleshooting steps.

    Related Information:

    • SAP Notes: Check for any SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they have found.
    • Transaction Codes: Familiarize yourself with relevant transaction codes that may help in troubleshooting, such as:
      • SPRO for configuration settings.
      • SE80 for reviewing user exits and custom code.
      • SE37 for function modules related to transport and country determination.

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

    • 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