Skip to Content
0
Former Member
Mar 01, 2007 at 09:53 AM

Getting runtime Error 'UC_OBJECTS_NOT_CHARLIKE' for ALV grid

262 Views

Hi,

When I call method SET_TABLE_FOR_FIRST_DISPLAY of ALV I get runtime error 'UC_OBJECTS_NOT_CHARLIKE'.

Actually i have set in the fieldcatalog the field 'CHK' of internal table as checkbox.

wa_fcat-fieldname = 'CHK' .

wa_fcat-coltext = 'Clear' .

wa_fcat-seltext = 'Clear' .

wa_fcat-checkbox = 'X' .

wa_fcat-edit = 'X' .

APPEND wa_fcat to p_lt_fieldcatalog .

Field CHK is of type c.

when i dont set the field as checkbox, I stop getting the error.

Please find a solution.

regards,

auro