Application Development 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: 

Item symbols

Former Member
0 Kudos

Hi all,,

I want to create item symbols for cleared and open items . How can i do it? Plz help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

13 REPLIES 13

Former Member
0 Kudos

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

0 Kudos

Hi ,

I m using ALV GRID. SO which property i have to use...

0 Kudos

Hi,

In the field catalog we have the ICON or SYMBOL options. Use it accordingly.

Check the SLIS type pool for this.

Regards

Lekha

0 Kudos

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

0 Kudos

Hi Ricky...

thank you....

But...

From where i get icon value?? i want red and green circles only...

0 Kudos

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

0 Kudos

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

0 Kudos

hi,

table ICON.

Program SHOWICON.

Former Member
0 Kudos

Hi Ankita,

Please check these programs

BCALV_DEMO_TOOLTIP

SALV_TEST_TOOLTIPS

Best regards,

raam

Former Member
0 Kudos

Hi there.

Simple, put this line into your fieldcat code:

WRITE icon_role AS ICON TO wa_fieldcat-coltext.

Dearest Tom.

0 Kudos

Dear Tom...

I m using alv grid.. and before it i am using loop to identify condition for icon.

so hows this possible...

0 Kudos

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