cancel
Showing results for 
Search instead for 
Did you mean: 

Quick Info on ALV Tree node

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member214498
Contributor
0 Kudos

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

Former Member
0 Kudos

HI WAZ,

I already tried this logic, If we do like this this displaying the standard text attached to the icon. But i need custome text like WRITE_TEXT.

for style you are passing color code. I dont need any color codes.

Thanks!!

Former Member
0 Kudos

solved using create_icon FM