Do you have any question about this error?
Message type: E = Error
Message class: 9J1UFDI - Messages for Ukraine E-Invoices
Message number: 341
Message text: Company Codes are different in XML and accounting document (&1 vs. &2).
You have tried to link an accounting document to an XML file with
different Company Codes.
You can only link accounting documents to XML files with the same
Company Code.
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.
9J1UFDI341
- Company Codes are different in XML and accounting document (&1 vs. &2). ?The SAP error message 9J1UFDI341 indicates that there is a mismatch between the company codes in the XML file and the accounting document being processed. Specifically, the error message states that the company code in the XML file is different from the company code in the accounting document, which can lead to issues in data consistency and processing.
Cause:
- Mismatch in Company Codes: The primary cause of this error is that the XML file being uploaded or processed contains a company code that does not match the company code in the corresponding accounting document. This can happen due to:
- Incorrect data entry in the XML file.
- An error in the configuration or mapping of company codes.
- The use of an outdated or incorrect XML file that does not correspond to the current accounting document.
Solution:
To resolve this error, you can take the following steps:
Verify XML File: Check the XML file to ensure that the company code specified in the file matches the company code in the accounting document. You can do this by:
- Opening the XML file in a text editor or XML viewer.
- Locating the company code element and comparing it with the company code in the accounting document.
Correct the Company Code: If you find that the company code in the XML file is incorrect, update it to match the company code in the accounting document.
Check Configuration: If the XML file is generated by a system or process, ensure that the configuration for generating the XML file is correct and that it is pulling the right company code.
Reprocess the Document: After making the necessary corrections, reprocess the XML file to see if the error persists.
Consult Documentation: If you are unsure about the correct company codes or how to modify the XML file, consult your SAP documentation or reach out to your SAP support team for assistance.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the error message 9J1UFDI341.
Get instant SAP help. Start your 7-day free trial now.
9J1UFDI340
Selected accounting document has already been processed.
What causes this issue? You have tried to create a summary Tax Invoice or Correction Tax Invoice, but one or more of the selected accounting document...
9J1UFDI339
Select at least one accounting document.
What causes this issue? You have tried to create a summary Tax Invoice or a Correction Tax Invoice, but you have not selected a accounting document t...
9J1UFDI342
Tax base amounts for tax base &1 are different in XML: &2 and FI: &3.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UFDI343
Could not create a TI/Correction TI for XML file due to incorrect type.
What causes this issue? You have tried to create a summary Tax Invoice and link it to an XML file of a Correction Tax Invoice, or you have tried to l...
Click on this link to search all SAP messages.