SAP Message SY320 - DB field with LIKE operator contains an invalid type

SY320 : DB field with LIKE operator contains an invalid type