How To Fix >5724 - External document numbers withing the selected documents are not unique


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >5 -

  • Message number: 724

  • Message text: External document numbers withing the selected documents are not unique

  • 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 >5724 - External document numbers withing the selected documents are not unique ?

    The SAP error message "5724 External document numbers within the selected documents are not unique" typically occurs in the context of document processing, such as during the posting of invoices or when handling external documents in SAP. This error indicates that there are duplicate external document numbers within the set of documents you are trying to process.

    Cause:

    1. Duplicate External Document Numbers: The primary cause of this error is that the external document numbers (e.g., invoice numbers, reference numbers) you are trying to process are not unique. This can happen if:

      • Multiple documents have been assigned the same external document number.
      • There is a data entry error where the same number has been entered for different documents.
    2. Configuration Issues: Sometimes, the configuration settings in SAP regarding document number ranges or number assignment may lead to conflicts.

    3. Data Migration Issues: If data has been migrated from another system, there may be duplicates that were not caught during the migration process.

    Solution:

    1. Identify Duplicates:

      • Use transaction codes like SE16 or SE11 to query the relevant tables (e.g., BKPF for accounting documents) to find the duplicate external document numbers.
      • You can also use reports or custom queries to identify duplicates based on the external document number.
    2. Correct the Duplicates:

      • Once you have identified the duplicates, you will need to either change the external document numbers to ensure uniqueness or delete the duplicate entries if they are not needed.
      • If the duplicates are in the system due to a data migration, you may need to clean up the data accordingly.
    3. Review Configuration:

      • Check the configuration settings for document number ranges in the relevant modules (e.g., FI, MM) to ensure that they are set up correctly and do not allow for duplicates.
    4. Reprocess the Documents:

      • After resolving the duplicates, attempt to reprocess the documents that triggered the error.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:

      • SE16: Data Browser for table queries.
      • FB03: Display Document to view existing documents.
      • FBL1N/FBL3N: Vendor/Customer line item display to check for related documents.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. You can search the SAP Support Portal for specific notes that may address this issue.

    • Documentation: Review SAP documentation or help files related to document management and external document number handling for best practices.

    By following these steps, you should be able to resolve the error and ensure that your external document numbers are unique within the selected documents.

    • 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