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
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
Eswar
Message was edited by: Eswar Rao Boddeti
Add a comment