In table (SE11) ICON you can get the codes of icon which is of four characters.
Declare the field in you final itab as of char(4). Just move these icon codes to it. Then while display icons will be displayed.
Now based on your conditions populate this icon field in your internal table.
See program BCALV_DEMO_TOOLTIP for your reference.
Regards,
Dipin