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

icons in data dictionary table

Former Member
0 Likes
824

how do i get icons in a data dictionary table.

i make this:

DATA: BEGIN OF ls_structure,

list TYPE TABLE OF dictionarytable,

END OF ls_structure.

DATA: wa_list LIKE LINE OF ls_structure-list.

LOOP AT ls_structure-list INTO wa_list.

wa_list-zdate = wa_list-datatime(8).

wa_list-ztime = wa_list-datatime+8.

wa_list-zlights = '@5C@'.

INSERT dictionarytable FROM wa_list.

ENDLOOP.

my dictionary table has a field with zlight which is type icon_d.

but when i look in the table the column is empty..........

how do i get icons in a data dictionary table.

i make this:

DATA: BEGIN OF ls_structure,

list TYPE TABLE OF dictionarytable,

END OF ls_structure.

DATA: wa_list LIKE LINE OF ls_structure-list.

LOOP AT ls_structure-list INTO wa_list.

wa_list-zdate = wa_list-datatime(8).

wa_list-ztime = wa_list-datatime+8.

wa_list-zlights = '@5C@'.

INSERT dictionarytable FROM wa_list.

ENDLOOP.

my dictionary table has a field with zlight which is type icon_d.

but when i look in the table the column is empty..........

3 REPLIES 3
Read only

Former Member
0 Likes
754

when i look in the debugger i can see the light in the field but not in my table, why?

Read only

Former Member
0 Likes
754

Hi,

I wrote a sample code for your reference:

include <icon>.
tables zicon.
zicon-id = '111111'.
zicon-icon = icon_checked  .
insert into zicon values zicon.

for icon, I also used the type icon_d.

Hope it helps.

Regards,

Chris Gu

Edited by: Gu Chris on Nov 20, 2008 3:33 AM

Read only

0 Likes
754

Thanks.