Skip to Content

ALV Tree leafs

I'm extending ALV Tree, which dinamicaly build it own structure. I'm trying ti find function/property which can change view of my leaf, precise:

when we have leaf with no subleaf when this leaf is shown with special icon (looking like notepad icon),

when we have leaf with subleafs then it is shown with folder icon.

I want to change some leafs which should be loocing like leafs with folder icon, beacause in future, some data for this leafs will be read and some subleafs will appear (this reading will be performed, when user click on this leaf and will try to expand it).

For any help I reward in points

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 08:10 AM

    Hi Tomasz

    If you are using, CL_GUI_ALV_TREE, there is an exporting parameter: IT_ITEM_LAYOUT of structure: LVC_S_LAYI.

    Within this structure, a field called: T_IMAGE exists. If we pass the icon code here, the icon can be displayed.

    Please check for the same.

    Also please check programs of pattern: BCALVTREE

    Kind Regards


    Message was edited by: Eswar Rao Boddeti

    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.