2007 Apr 16 11:46 AM
can nybody tell me how to include icons in a report!!!
2007 Apr 16 11:47 AM
Hi
Just write in the report Starting in Se38.
TYPE-POOLS: icon.
or
INCLUDE <ICON>.
regards,
Anji
Message was edited by:
Anji Reddy Vangala
Message was edited by:
Anji Reddy Vangala
2007 Apr 16 11:50 AM
hi check this code
report ztx1502.
2 include <icon>.
3 tables: ztxmara, ztxmgef.
4 data ico like icon_generate.
5
6 write: / 'checkmark', 15 icon_checked as icon,
7 / 'red x', 15 icon_incomplete as icon,
8 / 'overview', 15 icon_overview as icon,
9 / 'time period', 15 icon_period as icon.
10 skip.
11 uline.
12 skip.
13 write: / 'List of Materials with Radioactive Indicators'.
14 uline.
15 select * from ztxmara.
16 clear ico.
17 if not ztxmara-stoff is initial.
18 select single * from ztxmgef where stoff = ztxmara-stoff.
19 if ztxmgef-lagkl = 7.
20 ico = icon_generate.
21 endif.
22 endif.
23 write: / ico as icon,
24 ztxmara-matnr,
25 ztxmara-mtart,
26 ztxmara-matkl,
27 ztxmara-brgew,
28 ztxmara-ntgew,
29 ztxmara-gewei.
30 endselect.
regards
praveen
2007 Apr 16 11:48 AM
hi,
program list for you all the SAP ICONS that can be used in your reports. Take note that the SAP ICONS are used for interative reports. It can be display on screens. You will only see the icon names when you do a print out.
REPORT ZICONS .
TABLES: ICON.
INCLUDE <ICON>.
FIELD-SYMBOLS: <F>.
When displaying ICON, specify the maximum length of 4
WRITE: / 'ICON IN WRITE STATEMENT ', (4) ICON_ALARM.
SKIP.
WRITE: / 'List of SAP ICONS, minimum length 2, maximum length 4.'.
SKIP.
SELECT * FROM ICON.
ASSIGN (ICON-NAME) TO <F>.
WRITE: /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
ICON-NAME.
ENDSELECT.
chk this for example how to include icon:
http://help.sap.com/saphelp_nw04/helpdata/en/59/348efa61c611d295750000e8353423/content.htm
regards,
keerthi
2007 Apr 16 11:48 AM
Hi,
declare type-pools icon. in ur report
Message was edited by:
kiran kumar
2007 Apr 16 11:48 AM
Hi ......
write the statement <b>type-pools: icon</b>
in your report
Regards
Siresh.....
2007 Apr 16 11:50 AM
Hi,
Use <b>TYPE-POOLS: ICON. (OR) INCLUDE <ICON>.</b> to have ICONS in your report. These statements will shows you the icons in your report.
Check ICON table to view the Icons aviable in your system.
Check this code.
INCLUDE <ICON>.
When displaying ICON, specify the maximum length of 4
WRITE: / 'ICON IN WRITE STATEMENT ', (4) ICON_ALARM.
Thanks,
Vinay
2007 Apr 16 11:50 AM
include <icon>.
FORMAT COLOR COL_HEADING HOTSPOT.
WRITE: (91) SY-ULINE,
/ SY-VLINE NO-GAP, (4) ICON_SELECT_ALL NO-GAP, 'Select All',
SY-VLINE NO-GAP, (4) ICON_DESELECT_ALL NO-GAP, 'Deselect All',
SY-VLINE NO-GAP, (4) ICON_SHORT_MESSAGE NO-GAP, 'Send Popup',
SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, 'Last Name' NO-GAP,
SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, 'First Name' NO-GAP,
SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, 'Client' NO-GAP,
SY-VLINE,
/(91) SY-ULINE,
/(108) SY-ULINE.
FORMAT HOTSPOT OFF.
Regards
Rusdiar.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |