Message type: E = Error
Message class:  IDFIHU - FI Developments for Hungary 
Message number: 312
Message text: Company codes cannot be derived from Group Tax Number
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.
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.
The SAP error message IDFIHU312 indicates that the system is unable to derive company codes from the specified Group Tax Number. This typically occurs in the context of tax configuration and can be related to issues with the setup of tax numbers or the configuration of company codes in relation to tax reporting.
Cause: Missing Configuration: The Group Tax Number may not be properly configured in the system, or the relationship between the Group Tax Number and the company codes may not be established. Incorrect Tax Number Assignment: The Group Tax Number might not be assigned to the relevant company codes in the system. Data Inconsistencies: There may be inconsistencies or missing data in the master data related to the company codes or tax numbers. Authorization Issues: The user may not have the necessary authorizations to access or modify the tax number settings.
Solution: Check Configuration: Go to the transaction code OBY6 (or the relevant configuration path) to
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
IDFIHU311 Do not select comp.codes and taxes on sls/purch.grps at the same time
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIHU310 Specified selection parameters are insufficient
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIHU313 XML file cannot be downloaded, check application log
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIHU314 Multiple ranges defined for invoice number and date
What causes this issue?  The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Syst...
Click on this link to search all SAP messages.