Message type: E = Error
Message class:  J_3RF_DDX - Message class for digital documents exchange 
Message number: 313
Message text: KPP value was not found for company code &1.
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 "J_3RF_DDX313 KPP value was not found for company code &1" typically relates to the Brazilian tax reporting functionality within SAP. This error indicates that the system is unable to find a valid KPP (Código de Receita) value for the specified company code. The KPP is a code used in Brazil for tax reporting purposes, particularly in the context of the SPED (Sistema Público de Escrituração Digital) system.
Cause: Missing KPP Configuration: The KPP value for the specified company code has not been defined in the system. Incorrect Company Code: The company code specified in the error message may not be correctly set up or may not have the necessary KPP values assigned. Data Inconsistency: There may be inconsistencies in the master data or configuration settings related to tax reporting.
Solution: Check KPP Configuration: Navigate to the configuration settings for tax reporting in SAP. Ensure that the KPP values are correctly defined for the relevant
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
J_3RF_DDX312 OKOPF value was not found for company code &1.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
J_3RF_DDX311 No authorization for company code &1.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
J_3RF_DDX314 OKPO value was not found for company code &1.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
J_3RF_DDX315 Document &1 &2 &3 added to TORG Journal.
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.