Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Set Attribute not working for icon

$
0
0

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.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>