Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WS_INTRASTAT040 - Additional number does not exist for company code &1 and country &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS_INTRASTAT - Settlement Management - Intrastat

  • Message number: 040

  • Message text: Additional number does not exist for company code &1 and country &2

  • 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 WS_INTRASTAT040 - Additional number does not exist for company code &1 and country &2 ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WS_INTRASTAT040 - Additional number does not exist for company code &1 and country &2


    Cause:

    This error occurs during Intrastat reporting when the system tries to retrieve an Additional Number (also known as the VAT identification number or statistical number) for a specific company code and country, but no such number has been maintained or assigned in the system.

    In Intrastat reporting, the Additional Number is required to identify the reporting entity in the partner country. If this number is missing or not maintained in the system for the relevant company code and country, the system cannot complete the Intrastat declaration, resulting in this error.


    Where is this Additional Number maintained?

    The Additional Number is maintained in the SAP system in the following customizing path:

    • SPRO ? Logistics General ? Foreign Trade/Customs ? Intrastat ? Basic Settings ? Define Additional Numbers

    Or more specifically:

    • Transaction code: OBXD (to maintain Additional Numbers)
    • Or via the vendor/customer master data (depending on the scenario)

    Solution:

    1. Check if the Additional Number exists for the company code and country:

      • Go to transaction OBXD or the relevant customizing path.
      • Verify if the Additional Number is maintained for the company code and the country in question.
    2. Maintain the Additional Number:

      • If missing, create/assign the correct Additional Number for the company code and country.
      • The Additional Number is usually the VAT number or a statistical number required by the Intrastat authorities.
    3. Verify master data:

      • Ensure that the partner master data (customer/vendor) has the correct country and additional number information.
      • Sometimes, the error can also be triggered if the partner's country is not correctly maintained or if the additional number is missing in the partner master.
    4. Re-run the Intrastat report:

      • After maintaining the Additional Number, re-execute the Intrastat report or transaction to confirm the error is resolved.

    Additional Information:

    • Intrastat Reporting: Intrastat is a system for collecting statistics on the trade in goods between countries of the European Union (EU). It requires detailed information about shipments and receipts of goods between member states.

    • Additional Number: This is a key identifier used in Intrastat declarations to identify the reporting entity in the partner country. It is mandatory for Intrastat reporting.

    • Company Code &1: This placeholder will be replaced by the actual company code in the error message.

    • Country &2: This placeholder will be replaced by the actual country code in the error message.


    Summary:

    Aspect Details
    Error WS_INTRASTAT040 - Additional number does not exist for company code &1 and country &2
    Cause Missing Additional Number for the company code and country in Intrastat customizing
    Solution Maintain the Additional Number in transaction OBXD or via SPRO for the company code and country
    Related Info Intrastat reporting requires this number to identify the reporting entity in partner country

    If you need the exact steps to maintain the Additional Number or further help with Intrastat configuration, feel free to ask!

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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