How To Fix EDOCUMENT_MX010 - ODN Prefix not defined for CoCd &1 and doc. type &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDOCUMENT_MX - Messages for eDocument Mexico

  • Message number: 010

  • Message text: ODN Prefix not defined for CoCd &1 and doc. type &2

  • Show details Hide details
  • What causes this issue?

    You have not defined an Official Document Number (ODN) prefix (number
    range number) for the relevant company code and document type.

    System Response

    The system cannot generate the eDocument.

    How to fix this error?


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


    Maintain the ODN prefix for the company code in the
    <DS:SIMG.EDOMXSERIEV>Define ODN Prefix for eDocuments</> Customizing
    activity.

    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 EDOCUMENT_MX010 - ODN Prefix not defined for CoCd &1 and doc. type &2 ?

    The SAP error message EDOCUMENT_MX010 indicates that there is an issue with the ODN (Orden de Documento Nacional) prefix not being defined for a specific Company Code (CoCd) and Document Type in the context of electronic document processing, particularly for Mexico.

    Cause:

    This error typically arises when:

    1. The ODN prefix, which is required for generating electronic documents in compliance with Mexican regulations, has not been configured in the system for the specified Company Code and Document Type.
    2. The configuration settings for electronic documents in the SAP system are incomplete or incorrect.

    Solution:

    To resolve this error, you need to define the ODN prefix for the relevant Company Code and Document Type. Here are the steps to do this:

    1. Access the Configuration:

      • Go to the SAP Easy Access screen.
      • Navigate to the following path:
        SPRO -> SAP Reference IMG -> Financial Accounting (New) -> Financial Accounting Global Settings (New) -> Document -> Electronic Document -> Define ODN Prefixes
    2. Define the ODN Prefix:

      • In the configuration screen, you will see a list of existing ODN prefixes.
      • Click on "New Entries" to create a new entry.
      • Enter the required details:
        • Company Code (CoCd): Enter the relevant company code.
        • Document Type: Enter the document type for which you want to define the ODN prefix.
        • ODN Prefix: Specify the ODN prefix that should be used for the electronic documents.
    3. Save the Configuration:

      • After entering the necessary information, save your changes.
    4. Test the Configuration:

      • After saving, perform a test transaction that previously resulted in the error to ensure that the issue has been resolved.

    Related Information:

    • Documentation: Refer to SAP Help documentation for electronic document processing in Mexico for more detailed information on the configuration and requirements.
    • Transaction Codes: You may also use transaction codes like OBY6 (for Company Code settings) and OBD2 (for Document Types) to check related configurations.
    • Support: If the issue persists after configuration, consider reaching out to your SAP support team or consulting SAP Notes for any known issues or additional troubleshooting steps.

    By following these steps, you should be able to resolve the EDOCUMENT_MX010 error and ensure that your electronic document processing complies with Mexican regulations.

    • 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