How To Fix EDI_SD042 - The terms of payment key cannot be determined.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDI_SD - Messages for EDI SD Integration

  • Message number: 042

  • Message text: The terms of payment key cannot be determined.

  • Show details Hide details
  • What causes this issue?

    You received this error message due to the following:
    The inbound message doesn?t contain a terms of payment key, and the
    system cannot determine the key by the details in the terms of payment.
    You have set the system not to allow discrepancies in the terms of
    payment.

    System Response

    The system stops processing the EDI message.

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EDI_SD042 - The terms of payment key cannot be determined. ?

    The SAP error message EDI_SD042, which states "The terms of payment key cannot be determined," typically occurs in the context of sales and distribution (SD) processes when the system is unable to find or determine the appropriate payment terms for a sales document. This can happen for various reasons, and here are some common causes, solutions, and related information:

    Causes:

    1. Missing Payment Terms Configuration: The payment terms may not be defined in the system for the specific customer or sales area.
    2. Customer Master Data Issues: The customer master record may not have the payment terms assigned, or it may be incomplete.
    3. Sales Document Type Configuration: The sales document type being used may not have the payment terms configured correctly.
    4. Inconsistent Data: There may be inconsistencies in the data between the customer master, sales area, and payment terms.
    5. Custom Logic or User Exits: Custom code or user exits may be interfering with the determination of payment terms.

    Solutions:

    1. Check Customer Master Data:

      • Go to the customer master record (transaction code XD03 for general data or VD03 for sales area data) and verify that the payment terms are correctly assigned.
      • Ensure that the payment terms field is filled in the sales area data.
    2. Review Payment Terms Configuration:

      • Check the configuration of payment terms in the SAP system (transaction code OBB8).
      • Ensure that the payment terms are defined and active for the relevant sales area.
    3. Examine Sales Document Type:

      • Verify the configuration of the sales document type (transaction code VOTXN).
      • Ensure that the payment terms are correctly assigned to the sales document type.
    4. Check for Custom Logic:

      • If there are any custom enhancements or user exits that might affect the determination of payment terms, review the code to ensure it is functioning as intended.
    5. Test with Different Scenarios:

      • Try creating a sales order with a different customer or sales area to see if the issue persists. This can help isolate whether the problem is specific to certain data.
    6. Consult SAP Notes:

      • Check the SAP Support Portal for any relevant SAP Notes that might address this specific error message or provide additional troubleshooting steps.

    Related Information:

    • Transaction Codes:
      • XD03 / VD03: Display Customer Master
      • OBB8: Maintain Payment Terms
      • VOTXN: Sales Document Types Configuration
    • Documentation: Review SAP documentation related to sales and distribution processes, particularly around payment terms and customer master data.
    • SAP Community: Engage with the SAP Community forums for insights from other users who may have encountered similar issues.

    By following these steps, you should be able to identify the root cause of the EDI_SD042 error and implement the necessary solutions 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