on 10-20-2014 1:06 PM
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.
This can be achieved by PPM configuration(SPRO). Enhancements are not required here.
Thanks All for you valuable comments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you missed closing @ it has to be '@5B@' or you can use LV_SCOPE_ICON = 'ICON_LED_GREEN'
hope this helps,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udaya,
Can you check if icon property would work for image field which is added statically? Create an image ui element in test component or check some standard component.
So that you would come to a conclusion, if its rendering issue? If so, as suggested go for implementing "Unified rendering correction" note .
Regards,
Rama
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.