Skip to Content
author's profile photo Former Member
Former Member

Quick Info on ALV Tree node

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 20, 2011 at 03:06 PM

    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.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.