Skip to Content
0
Oct 20, 2014 at 12:06 PM

Set Attribute not working for icon

25 Views

Hi Experts,

I am new to Webdynpro and just started the WD development. Kinldy help me to relsove the below issue.

Scenario:

on change of the drop down(zzscope_risk), we need to set the icon(zzindicator - type icon_d) value dynamically. These custom fields are created in a stadard table and configured in SPRO which is displayed dynamically in view. For displaying, no code and attributes created.

Problem:

onselect of zzscope_risk the following code is executed but not working.

LV_SCOPE_ICON = '@5B'.

CALL METHOD LO_EL_ITEM_ATTRIBUTES->SET_ATTRIBUTE

EXPORTING

VALUE = LV_SCOPE_ICON

NAME = 'ZZINDICATOR'.

set_atttibute is working fine for other fields except icon. Is there anyother way to make this work? Please post you comments

Thanks.