How To Fix E0859 - EDI: Key fields are not unique, IDoc saved anyway


E0859 - Overview

  • Message type: E = Error

  • Message class: E0 - SAP EDI messages

  • Message number: 859

  • Message text: EDI: Key fields are not unique, IDoc saved anyway

  • Show details Hide details
  • What causes this issue?

    IDoc &v1&, which was transferred in internal tables, could not be
    retrieved completely. At least one key field in &v2& has a double key.
    The IDoc was retrieved without the duplicated records.

    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?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message E0859 - EDI: Key fields are not unique, IDoc saved anyway ?
    The SAP error message E0859, which states "EDI: Key fields are not unique, IDoc saved anyway," typically occurs during the processing of IDocs (Intermediate Documents) in the context of Electronic Data Interchange (EDI). This message indicates that the key fields of the IDoc being processed do not have unique values, which can lead to potential issues in data integrity and processing.
    
    Cause: Duplicate Key Fields: The IDoc contains key fields (like the document number, customer number, etc.) that are not unique. This can happen if the same IDoc is being processed multiple times or if there are multiple records with the same key values in the source data.
    Configuration Issues: There may be issues with the configuration of the IDoc type or the associated message type, leading to incorrect handling of key fields. Data Quality Issues: The source system may have data quality issues, resulting in duplicate entries being sent in the IDoc.
    Solution: Check for

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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