Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Icon declaration problem

Former Member
0 Likes
526

I am declaring data as follows

V_ICON LIKE ICON,

V_ICONCK LIKE ICON VALUE ICON_CHECKED,

V_ICONTR LIKE ICON VALUE ICON_TRANSPORT,

V_ICONRED LIKE ICON VALUE ICON_INCOMPLETE,

V_ICONGREEN LIKE ICON VALUE ICON_CHECKED,

Now when I use

WRITE: /3 V_ICONTR AS ICON.

I get a warning that v_ICONTr cannot be converted to character type field.. please hep me with this

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
463

Its a warning, you can just ignore it if the output works. I have tested your code in my 46c system, i don't get a warning and it works fine.

Regards,

Rich Heilman

Read only

rahulkavuri
Active Contributor
0 Likes
463

Well I am in a unicode conversion spree and just found a solution, if i can declare that as a character and assign ICON_CHECKED value to it works fine... anyways thanks for the reply