09-01-2008 10:15 AM
Hi all,,
I want to create item symbols for cleared and open items . How can i do it? Plz help me.
09-01-2008 10:25 AM
Hi Ankita,
If you are using ALV then then ALV have prperties of display icon.
you can set up status/flag for these one.
And if using list display then u can use following combination.
START-OF-SELECTION.
WRITE: / check1 AS CHECKBOX, 'Checkbox 1',
/ check2 AS CHECKBOX, 'Checkbox 2'.
AT LINE-SELECTION.
READ: LINE 1 FIELD VALUE check1,
LINE 2 FIELD VALUE check2.
INCLUDE <list>.
WRITE icon_green_light AS ICON.
INCLUDE <list>.
WRITE sym_left_hand AS SYMBOL.
Regards
ricky
09-01-2008 10:25 AM
Hi Ankita,
If you are using ALV then then ALV have prperties of display icon.
you can set up status/flag for these one.
And if using list display then u can use following combination.
START-OF-SELECTION.
WRITE: / check1 AS CHECKBOX, 'Checkbox 1',
/ check2 AS CHECKBOX, 'Checkbox 2'.
AT LINE-SELECTION.
READ: LINE 1 FIELD VALUE check1,
LINE 2 FIELD VALUE check2.
INCLUDE <list>.
WRITE icon_green_light AS ICON.
INCLUDE <list>.
WRITE sym_left_hand AS SYMBOL.
Regards
ricky
09-01-2008 10:27 AM
09-01-2008 10:29 AM
Hi,
In the field catalog we have the ICON or SYMBOL options. Use it accordingly.
Check the SLIS type pool for this.
Regards
Lekha
09-01-2008 10:30 AM
In ALV you can use ALV icon.....
for example
http://sapprograms.blogspot.com/2008/04/icons-in-alv.html
check out this link
for more help write to me back
Ricky
09-01-2008 10:34 AM
Hi Ricky...
thank you....
But...
From where i get icon value?? i want red and green circles only...
09-01-2008 10:36 AM
Hi,Ankita,
You just check out type-symbols /icons.
even i am trying to check out avilable icon.
I will just forward to you soon.
Regards
ricky
09-01-2008 10:39 AM
Hi,
Just check out this list.
http://www.sapdesignguild.org/resources/icons_sap/icons_e1_1.htm
i think it will be very helpful to you in develpoment of ur report.
regards
Ricky
09-01-2008 10:43 AM
09-01-2008 10:47 AM
09-01-2008 10:43 AM
Hi Ankita,
Please check these programs
BCALV_DEMO_TOOLTIP
SALV_TEST_TOOLTIPS
Best regards,
raam
09-01-2008 10:52 AM
Hi there.
Simple, put this line into your fieldcat code:
WRITE icon_role AS ICON TO wa_fieldcat-coltext.
Dearest Tom.
09-01-2008 10:55 AM
Dear Tom...
I m using alv grid.. and before it i am using loop to identify condition for icon.
so hows this possible...
09-01-2008 11:13 AM
hi ankita,
As usual u r doing a loop of ur internal table before display and filling the fieldcatalog of ur ALV grid.
If m i right? then
http://help.sap.com/search/highlightContent.jsp
on this link u will find all possible field of fieldcatlog.
And u have to use Resue_alv_fieldcatlog_merge
at the time of filling of each field u have to just paas a field-icon to appropriate field mark of that fieldcatlog.
for eg.
IF <FS_FCAT>-FIELDNAME = 'MBLNR'.
<FS_FCAT>-KEY = ' '.
<FS_FCAT>-CHECKBOX = '0V '.(okay)
ENDIF.
Regards
ricky