How To Fix EI130 - Country of declaration &1 contradicts country of plant/company code &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EI - Foreign Trade: Gen. Output

  • Message number: 130

  • Message text: Country of declaration &1 contradicts country of plant/company code &2

  • Show details Hide details
  • What causes this issue?

    The country of declaration you have chosen is not the same as the
    country chosen using the selection criteria. The country of the
    selection criteria is derived from either the company code or from the
    plants entered.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EI130 - Country of declaration &1 contradicts country of plant/company code &2 ?

    The SAP error message EI130, which states "Country of declaration &1 contradicts country of plant/company code &2," typically arises in the context of foreign trade and customs processing within the SAP system. This error indicates a mismatch between the country of declaration specified in the document and the country associated with the plant or company code.

    Cause:

    1. Mismatch of Country Codes: The country of declaration (e.g., the country where the goods are being declared for export/import) does not match the country of the plant or company code where the goods are being processed.
    2. Incorrect Master Data: The master data for the plant or company code may be incorrectly configured, leading to discrepancies in country assignments.
    3. Document Configuration: The document being processed (e.g., sales order, delivery, etc.) may have been incorrectly set up with the wrong country of declaration.

    Solution:

    1. Verify Master Data:

      • Check the configuration of the plant and company code in the SAP system to ensure that the country settings are correct.
      • Go to the transaction code OVX5 (for company code) and OX10 (for plant) to review the country settings.
    2. Check Document Settings:

      • Review the document (sales order, delivery, etc.) that triggered the error. Ensure that the country of declaration is correctly specified.
      • If necessary, update the document to reflect the correct country of declaration that matches the plant or company code.
    3. Adjust Configuration:

      • If the country of declaration needs to be changed for specific transactions, consider adjusting the configuration settings in the relevant SAP modules (e.g., Sales and Distribution, Foreign Trade).
    4. Consult with Functional Team:

      • If the issue persists, consult with your SAP functional team or a consultant who specializes in foreign trade and customs to ensure that all settings are aligned correctly.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OVX5 for company code settings, OX10 for plant settings, and VA03 for viewing sales orders.
    • Documentation: Review SAP documentation related to foreign trade and customs to understand the implications of country settings and declarations.
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues or provide updates related to this error message.

    By following these steps, you should be able to resolve the EI130 error and ensure that the country of declaration aligns with the country of the plant or company code in your SAP system.

    • 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