Message type: E = Error
Message class:  IDFIVAT - FI Localization 
Message number: 031
Message text: You are not authorized to &1 data for company code &2
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 IDFIVAT031 indicates that a user is not authorized to access specific data related to a company code. This error typically arises in the context of financial transactions, particularly when dealing with VAT (Value Added Tax) data.
Cause: The error is usually caused by one of the following reasons: Authorization Issues: The user does not have the necessary authorizations assigned to their user profile to access the specified data for the given company code. Role Configuration: The roles assigned to the user may not include the necessary permissions for the specific transaction or data access. Company Code Restrictions: The user may be restricted from accessing certain company codes due to organizational policies or system configurations.
Solution: To resolve the IDFIVAT031 error, you can take the following steps: Check User Authorizations: Use transaction code SU53 immediately after encountering the error. This will show you the last authorization check and help identify which authorization object is missing. Review the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
IDFIVAT030 Document '&1' is assigned to 'Dummy' section '&2'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIVAT029 No section found for document '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIVAT032 Quartely period is not supported for FI-CA
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFIVAT033 No invoice number found for document '&1'
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.