Do you have any question about this error?
Message type: E = Error
Message class: OIJ_RU - Messages for TSW-ETRAN integration
Message number: 504
Message text: Different company code in source document items
The program found different company codes in different items of the
source document from which you want to copy this data.
The program does not fill the company code data field in the customs
declaration header.
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.
OIJ_RU504
- Different company code in source document items ?The SAP error message OIJ_RU504, which states "Different company code in source document items," typically occurs in the context of SAP Oil and Gas (OIJ) when there is an inconsistency in the company codes associated with the source documents being processed. This error is often encountered during transactions that involve multiple documents or when trying to perform operations that require consistency in company codes.
Cause:
The primary cause of this error is that the source documents (such as purchase orders, invoices, or other financial documents) being referenced in the transaction belong to different company codes. In SAP, each company code represents a separate legal entity, and transactions involving multiple company codes must be handled with care to maintain financial integrity.
Solution:
To resolve the OIJ_RU504 error, you can take the following steps:
Identify the Source Documents: Determine which source documents are causing the error. You may need to check the document numbers or references in the transaction that triggered the error.
Check Company Codes: Review the company codes associated with each of the source documents. You can do this by navigating to the relevant transaction or document in SAP and checking the header information.
Ensure Consistency: Make sure that all source documents involved in the transaction belong to the same company code. If they do not, you will need to either:
- Change the company code of the documents to match, if appropriate and possible.
- Adjust your transaction to only include documents from a single company code.
Reprocess the Transaction: After ensuring that all documents are consistent in terms of company code, reprocess the transaction that triggered the error.
Consult Documentation: If you are unsure about how to change company codes or handle the documents, refer to your organization's SAP documentation or consult with your SAP support team.
Related Information:
By following these steps, you should be able to resolve the OIJ_RU504 error and proceed with your transaction in SAP.
Get instant SAP help. Start your 7-day free trial now.
OIJ_RU503
Ticket & & & does not contain subitems
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OIJ_RU502
Ticket & & & does not contain items
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OIJ_RU505
Different sold-to party in source document items
What causes this issue? The program found different sold-to party data in different items of the source document from which you want to copy this dat...
OIJ_RU506
Different ship-to party in source document items
What causes this issue? The program found different ship-to party data in different items of the source document from which you want to copy this dat...
Click on this link to search all SAP messages.