‎2008 Jul 16 11:38 AM
Hi folks,
Please let me know how to insert the "Symbols" and "icons" in a Report program.
Scenario: need to display a Telephone symbol in the list insted of just writing as Phone Number .
Note: send a demo program if possible.
Regards,
Naveen
‎2008 Jul 16 11:47 AM
hi,
Check the extract from SAP HELP,
You can output symbols or R/3 icons on a list by using the following syntax:
Syntax
WRITE <symbol-name> AS SYMBOL.
WRITE <icon-name> AS ICON.
The names of symbols and icons (<symbol-name> and
<icon-name>) are system-defined constants that are specified in the
include programs <SYMBOL> and <ICON>
(the angle brackets are part of the name). The includes also contain a short description of the symbols and icons.
The easiest way to output symbols and icons is to use a statement structure (see the example in Using WRITE via a Statement Structure).
To make symbols and icons available to your program,
you must import the appropriate include or the more comprehensive include <LIST> in your program.
For further information about importing include programs, see Using Include Programs.
INCLUDE <symbol>.
INCLUDE <icon>.
/ 'Phone Symbol:', SYM_PHONE AS SYMBOL.
SKIP.
WRITE: / 'Alarm Icon: ', icon_alarm AS ICON.I thing , it will help you.
Regards,
anirban
‎2008 Jul 16 11:46 AM
Hi
GOT SE38--> EDIT->PATTERN---->select WRITE --->you will see an new window there you can include the symbol that you want
but after using it you ahve to add a statement at the top of the report
INCLUDE <LIST>.
Regards
Pavan
‎2008 Jul 16 11:46 AM
Hi Naveen,
Hope this link will help you,
http://hometown.aol.com/skarkada/sap/sapicons/sapicons.htm
http://hometown.aol.com/skarkada/sap/symbols/symbols.htm
Regards,
Sravanthi
‎2008 Jul 16 11:47 AM
hi,
Check the extract from SAP HELP,
You can output symbols or R/3 icons on a list by using the following syntax:
Syntax
WRITE <symbol-name> AS SYMBOL.
WRITE <icon-name> AS ICON.
The names of symbols and icons (<symbol-name> and
<icon-name>) are system-defined constants that are specified in the
include programs <SYMBOL> and <ICON>
(the angle brackets are part of the name). The includes also contain a short description of the symbols and icons.
The easiest way to output symbols and icons is to use a statement structure (see the example in Using WRITE via a Statement Structure).
To make symbols and icons available to your program,
you must import the appropriate include or the more comprehensive include <LIST> in your program.
For further information about importing include programs, see Using Include Programs.
INCLUDE <symbol>.
INCLUDE <icon>.
/ 'Phone Symbol:', SYM_PHONE AS SYMBOL.
SKIP.
WRITE: / 'Alarm Icon: ', icon_alarm AS ICON.I thing , it will help you.
Regards,
anirban
‎2008 Jul 16 11:49 AM
Hii!
Check out this sample code
REPORT z_sdn.
TYPE-POOLS icon.
WRITE:
icon_phone AS ICON,
'TELEPHONE'.
Regards
Abhijeet