Message type: E = Error
Message class:  FKKINV - Invoicing in Contract Accounts Receivable and Payable 
Message number: 342
Message text: Charge/discount key &1 is unknown
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 FKKINV342, which states "Charge/discount key &1 is unknown," typically occurs in the context of billing or invoicing within the SAP system, particularly in the Contract Accounts Receivable and Payable (FI-CA) module. This error indicates that the system is unable to recognize the specified charge or discount key, which is essential for processing the invoice correctly. Causes: Missing Configuration: The charge/discount key specified in the invoice may not be configured in the system. This could happen if the key was deleted or never created. Incorrect Key: The key entered in the invoice might be misspelled or incorrect. Data Migration Issues: If data was migrated from another system, the charge/discount keys may not have been transferred correctly. Authorization Issues: The user may not have the necessary permissions to access the charge/discount key. Solutions: Check Configuration: Go to the configuration settings in SAP and verify if the charge/discount key exists. This can typically be found in the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FKKINV341 Charge/discount key &1 is already entered for valid-from &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKKINV340 Time periods overlap for charge/discount key &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKKINV343 Validity period &1 - &2 for charge/discount key &3 is invalid
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKKINV344 Enter a charge/discount key
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.