on 10-09-2009 8:02 AM
Hi Expert,
I am not able to put traffic light icon to table UI's column.
Can any one help me.
Thanks and Regards,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lekha,
I gone through the link provided by you. I have few doubt.
what is ls_book_aux? is it table UI anme? please help.
Define the cancelled icon
LOOP AT lt_book ASSIGNING <fs_book>.
MOVE-CORRESPONDING <fs_book> TO ls_book_aux.
IF sy-tabix eq 2.
ls_book_aux-CELL_EDITOR = 'IMAGE' giev the ICon of your type
ELSE.
ls_book_aux-CELL_EDITOR = 'TEXTVIEW'
ENDIF.
APPEND ls_book_aux TO lt_book_aux.
ENDLOOP.
Regards,
Anil
Hi Saurav,
Still not clear!!!
My table name at layout is TABLE_VAL and node name with which i am binding this table is TABLE_DISPLAY. I have 6 column where i need to put traffic light. Now you tell me which structure will have edtior field. As i assume it should be table UI. But how i can define my UI table?
Regards,
Anil
Hi,
For that column of the TABLE, while create BInding option, give the UI element as Image type.
In the Layout tab of the view, for that column, cell editor give the Image source as the
ICON......
Clarify this -
Do you want to show this icon on any condition basis or ?
Out of 6 oclumns for which column you want the traffic light icon...
Hope you got this.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a image UI element in your table. Now bind it with the attribute of type string.
In ur method set the velue of this attribue as:
ICON_YELLOW_LIGHT
ICON_GREEN_LIGHT
ICON_RED_LIGHT
Regards,
Pankaj Aggarwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAP provides predefined Web icons for the standard objects and functions that are used most frequently.
Refer this :
http://help.sap.com/erp2005_ehp_04/helpdata/EN/ec/bb08428dab5f24e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.