Message type: E = Error
Message class:  SEPMH_DG - EPM HANA DG - Messages 
Message number: 502
Message text: Invalid Literals in formula
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 SEPMH_DG502 "Invalid Literals in formula" typically occurs in the context of SAP BusinessObjects or SAP BW when there is an issue with the syntax or structure of a formula used in a report or query. This error indicates that the formula contains literals (constants or values) that are not recognized or are incorrectly formatted. Causes: Incorrect Syntax: The formula may have syntax errors, such as missing operators, parentheses, or incorrect use of functions. Invalid Data Types: The literals used in the formula may not match the expected data types. For example, trying to perform arithmetic operations on string literals. Unsupported Functions: The formula may include functions that are not supported in the context where it is being used. Missing Variables: If the formula references variables or fields that do not exist or are misspelled, it can lead to this error. Locale Issues: Sometimes, the use of different decimal or date formats based
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
SEPMH_DG501 Opening without closing bracket at position &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SEPMH_DG500 Closing without opening bracket at position &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SEPMH_DG503 Invalid function name &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SEPMH_DG504 The function &1 requires two parameters
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.