SAPSQL_LIKE_VAL_TYPE is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
With LIKE conditions, use only type C fields as the value field. If it is a dynamic WHERE condition, then the comparing pattern of the LIKE condition must be enclosed by inverted commas.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
Value field with LIKE operator is not type C.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The value field "<runtime parameter>" referenced with a LIKE operator in the WHERE
clause of an Open SQL statement is not type C.
Types other than C are not allowed.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
SAPSQL_LIKE_VAL_TYPE - sapsql like val type SAPSQL_LIKE_QUOTES - sapsql like quotes SAPSQL_LIKE_PATTERN_TOO_LONG - sapsql like pattern too long SAPSQL_LIKE_ILLEGAL_FLDTYPE - sapsql like illegal fldtype SAPSQL_KEYS_NOT_CONVERTIBLE - sapsql keys not convertible SAPSQL_JOIN_ON_OJ_CMP - sapsql join on oj cmp