Message type: E = Error
Message class: J1B_NFE - Message class for NF-e
Message number: 398
Message text: Material origin in XML &1 differs from determined origin &2
The material origin informed in the XML does not match to the material
origin that the system has retrieved from the purchase order or from the
material master data.
If split valuation is active for the related material, the system
cannot post the nota by means of the incoming automation process.
If the data in the master data or in the purchase order are correct, you
can only post this nota fiscal manually.
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.
J1B_NFE398
- Material origin in XML &1 differs from determined origin &2 ?The SAP error message J1B_NFE398, which states "Material origin in XML &1 differs from determined origin &2," typically occurs in the context of Brazil's Nota Fiscal Eletrônica (NF-e) process. This error indicates a mismatch between the material origin specified in the XML file and the origin that SAP has determined based on the material master data.
Cause: Mismatch in Material Origin: The origin of the material defined in the XML (e.g., imported, national, etc.) does not match the origin that SAP has determined based on the material master settings. Incorrect Configuration: The material master data may not be correctly configured, leading to discrepancies in the origin settings. XML Generation Issues: There may be issues in the way the XML is generated, possibly due to incorrect data mapping or settings in the NF-e configuration.
Solution: Check Material Master Data: Go to the material master record (transaction code MM03) and verify the "Basic Data" and "Sales Org. Data" views
Get instant SAP help. Sign up for our Free Essentials Plan.
J1B_NFE397
Error in BAdI implementation; invalid delivery date
What causes this issue? The logic in your implementation of the <ZK>Conversions for Incoming NF-e Automation</> Business Add-In (BAdI) ha...
J1B_NFE396
Invoice &1 already exists for NF-e &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
J1B_NFE399
Material origin in XML &1 differs from origin &2 in reference nota fiscal
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
J1B_NFE400
****** Messages in range 401-450 are used for Stock Transfer
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.