Message type: E = Error
Message class:  VK - Pflege und Bearbeitung von Konditionen 
Message number: 796
Message text: The variable key can not be formatted
To display the variable key, it must first be formatted with data
procured from the relevant condition table.
An internal formatting error has occurred, preventing a detailled
display.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message VK796, "The variable key cannot be formatted," typically occurs in the context of SAP's pricing and condition techniques, particularly when dealing with variable keys in pricing procedures. This error indicates that there is an issue with the formatting or definition of a variable key that is being used in a pricing condition. Causes: Incorrect Variable Key Definition: The variable key may not be defined correctly in the system. This could be due to missing or incorrect configuration in the pricing procedure. Incompatible Data Types: The data type of the variable key may not match the expected format, leading to formatting issues. Missing Master Data: Required master data (like customer or material master) may be missing or incomplete, which can affect the variable key's ability to be formatted correctly. Custom Code Issues: If there are custom enhancements or modifications in the pricing logic, they may not handle the variable key correctly. Solutions: Check Variable
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
VK795 KONH and KONP also checked
What causes this issue?  The check selected requires data that can only be procured via tables KONH and KONP. For this reason, the system also carries...
VK794 No condition tables exist for the specified selection
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VK797 No application could be determined for the specified selection
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VK798 No condition record can be displayed for this line
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.