2008 Nov 19 6:21 PM
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..........
2008 Nov 19 6:23 PM
when i look in the debugger i can see the light in the field but not in my table, why?
2008 Nov 20 2:11 AM
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
2008 Nov 24 2:50 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |