How To Fix DMEE_PAYMFORMAT399 - Sort field &1 was not defined as a key field


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DMEE_PAYMFORMAT - Messages for DMEE Payment Formats

  • Message number: 399

  • Message text: Sort field &1 was not defined as a key field

  • Show details Hide details
  • What causes this issue?

    You use sort field &V1& as a key field without sorting, but you have not
    set the <DS:DE.DMEE_KEY_FIELD>Key Field</> indicator.
    If No Sorting is selected for a field, then it must also be defined as a
    key field.

    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?

    Set the Key Field indicator for the sort field in question.

    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 DMEE_PAYMFORMAT399 - Sort field &1 was not defined as a key field ?

    The SAP error message DMEE_PAYMFORMAT399 indicates that a sort field specified in the DMEE (Data Medium Exchange Engine) payment format is not defined as a key field. This error typically arises when configuring payment formats for electronic payments, such as bank transfers or direct debits.

    Cause:

    The error occurs when:

    1. A sort field is referenced in the DMEE tree structure, but it has not been defined as a key field in the relevant node.
    2. The DMEE configuration expects certain fields to be defined as key fields for sorting purposes, but the configuration does not meet this requirement.

    Solution:

    To resolve this error, you can follow these steps:

    1. Access DMEE Configuration:

      • Go to transaction code DMEE in SAP.
    2. Check the DMEE Tree:

      • Open the relevant DMEE tree that is causing the error.
      • Navigate to the node where the sort field is defined.
    3. Define Key Fields:

      • Ensure that the sort field (e.g., &1) is defined as a key field in the node where it is being used.
      • To do this, select the node and check the properties. You should see an option to define key fields. Add the sort field as a key field if it is not already included.
    4. Validate the Configuration:

      • After making changes, validate the DMEE tree to ensure there are no other errors.
      • You can use the "Check" function in the DMEE transaction to validate the configuration.
    5. Test the Payment Format:

      • Once the changes are made, test the payment format to ensure that the error no longer occurs and that the payment file is generated correctly.

    Related Information:

    • DMEE Documentation: Refer to SAP documentation for detailed information on configuring DMEE trees and understanding key fields and sort fields.
    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or solutions related to this error.
    • Transaction Codes:
      • DMEE: For configuring DMEE trees.
      • FBZP: For payment program configuration, which may also be relevant if you are working with payment formats.

    If the issue persists after following these steps, consider reaching out to your SAP support team or consulting with an SAP expert 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 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