on 07-20-2011 3:27 PM
Hi All,
I have this requirement.
On ALV Tree node, when user places cursor then i should display some text as quick info.
while create node i have used ICON <- left arrow, i cannot use other ICOn as functional person need this icon only.
During Add_Node, if I pass icon through node layout then its showing nothing, Instead if I pass icon through item layout, then its showing SAP standard ICON text left arrow , but i need custom text write text there.
I tried using Context_menu_req as well, even that didnt worked. Any ideas/views will be highly appreciated.
Thanks n Regards
Hi Mr A.
You can try the following:
DATA: l_node_text TYPE lvc_value.
DATA: ls_item_layo TYPE lvc_s_layi,
lt_item_layo TYPE lvc_t_layi.
l_node_text = 'UR Text'
ls_item_layo-style = gs_detail-color_code.
ls_item_layo-t_image = gs_detail-icon.
APPEND ls_item_layo TO lt_item_layo.
After the above mentioned statement, you may call 'Add Node' method of ALV Tree.
Regards
Waz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.