How To Fix MPD317 - &1 &2 &3 &3 is not the key of the current document


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MPD - Message Class for A&D MPD

  • Message number: 317

  • Message text: &1 &2 &3 &3 is not the key of the current document

  • Show details Hide details
  • What causes this issue?

    You are using the Data Collector BAdI for data transfer. One of the
    parameters of the BAdI is the DRAD table, which stores object links.
    Records of this table should refer to the current document, however,
    there were records found for which the key fields do not correspond to
    the current document.

    System Response

    The system handles this as a data inconsistency. It does not allow data
    transfer if the data is inconsistent.

    How to fix this error?

    Check the BAdI implementation you used for the data transfer. Make sure
    the DOKAR, DOKNR, DOKTL, DOKVR fields of each record in the DRAD table
    correspond to the keys of the current document.

    Procedure for System Administrators

    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 MPD317 - &1 &2 &3 &3 is not the key of the current document ?
    The SAP error message MPD317 typically indicates that there is a mismatch or inconsistency in the key fields of a document you are trying to process. This error often occurs in the context of Material Management (MM) or Production Planning (PP) modules when dealing with documents such as purchase orders, production orders, or inventory documents.
    
    Cause: The error message "MPD317 &1 &2 &3 &3 is not the key of the current document" suggests that the system is expecting a specific key (like a document number, item number, or other identifiers) that does not match the key of the document currently being processed. This can happen due to several reasons: Incorrect Document Reference: The document you are trying to reference may not exist or may have been deleted. Data Entry Errors: There may be a typo or incorrect entry in the key fields when trying to access or process the document. Document Status: The document may

    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