Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Tree Report

Former Member
0 Likes
418

I am trying to implement an ALV tree report. I have found a standard SAP code "RSDEMO_SAP_LIST_TREE"

which I am referring to.

But I am having a problem , how to find the images to be displayed. To make it clear I am pasting a relevant part of the code here:

item-item_name = 'Column2'. "

item-class = cl_gui_column_tree=>item_class_text.

item-text = 'Child1 Col. 2'.

item-t_image = *'@0B@'.*

APPEND item TO gt_item.

How to find out the image ?

I am trying to implement an ALV tree report. I have found a standard SAP code "RSDEMO_SAP_LIST_TREE"

which I am referring to.

But I am having a problem , how to find the images to be displayed. To make it clear I am pasting a relevant part of the code here:

item-item_name = 'Column2'. "

item-class = cl_gui_column_tree=>item_class_text.

item-text = 'Child1 Col. 2'.

item-t_image = *'@0B@'.*

APPEND item TO gt_item.

How to find out the image ?

1 REPLY 1
Read only

Kiran_Valluru
Active Contributor
0 Likes
388

Hi.,

Check BCALV_TREE_DEMO report ., Instead of ENJOYSAP_LOGO give your own logo name., u can create ur picture id in OAOR transaction.,

Check this wiki for more details.,

http://wiki.sdn.sap.com/wiki/display/Snippets/TopofPageinALV%28OOPS%29

also see Anji Reddy's response in this thread:

hope this helps u.,

Thanks & Regards

Kiran