Message type: E = Error
Message class:  SALV_BS_MSG -  
Message number: 305
Message text: A character string must follow an operator
A character string is expected after an operator (in this case "&V1&")
in a filter condition.
The filter condition cannot be used.
Check the format of the filter condition. If necessary, use double
quotation marks to identify special characters as a normal character
string.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message SALV_BS_MSG305 ("A character string must follow an operator") typically occurs in ABAP programming when there is a syntax error in your code. This error indicates that the ABAP interpreter has encountered an operator (like =, <>, >, <, etc.) that is not followed by a valid character string or value.
Cause:
Missing String: You may have an operator in your code that is not followed by a string or a valid expression.
Incorrect Syntax: The syntax of your statement may be incorrect, leading to the interpreter not recognizing the intended operation.
Concatenation Issues: If you are trying to concatenate strings, ensure that you are using the correct syntax and that all parts of the concatenation are valid.
Variable Declaration: If you are using a variable that has not been properly declared or initialized, it may lead to this error.
Solution:
Check the Code: Review the line of code where the error occurs. Ensure Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
SALV_BS_MSG304 Filter condition cannot be interpreted
What causes this issue?  Linked expressions are permitted in filter conditions Some characters are interpreted as spearators or operators (for example...
SALV_BS_MSG303 Unknown comparison operator "&1"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SALV_BS_MSG306 Missing interval limit in filter condition
What causes this issue?  A hyphen is interpreted as an interval separator in a filter condition. Single values are expected as interval limits before ...
SALV_BS_MSG307 Comparison operators must be at the start in a filter condition
What causes this issue?  Filter conditions can be introduced with comparison operators ("<(> <<)>", ">", "!...
Click on this link to search all SAP messages.