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

Former Member
0 Likes
1,140

can nybody tell me how to include icons in a report!!!

can nybody tell me how to include icons in a report!!!

7 REPLIES 7
Read only

Former Member
0 Likes
1,040

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

Read only

0 Likes
1,040

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

Read only

Former Member
0 Likes
1,040

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

Read only

Former Member
0 Likes
1,040

Hi,

declare type-pools icon. in ur report

Message was edited by:

kiran kumar

Read only

Former Member
0 Likes
1,040

Hi ......

write the statement <b>type-pools: icon</b>

in your report

Regards

Siresh.....

Read only

Former Member
0 Likes
1,040

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

Read only

Former Member
0 Likes
1,040

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.