Application Development 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: 

TREE ALV with separate header line

Former Member
0 Kudos

Hi Experts,

My req is to display an alv in a tree structure with separate header name.

I found all the examples in SDN which has the same header name.only values are displayed into the next expand.

little explanation: when i expand my tree the displayed line have a separate header.

in first line if i have vendor code, vendor name etc,

then after expanding the vendor code separate header line will come like subrange code , subrange name etc, and under the header the corresponding values.

again when i expand the subrange code another header will come with partner type, partner name etc.and the corresponding values under the header.

Any idea or any examples.

Thanks,

Jo

1 ACCEPTED SOLUTION

former_member184578
Active Contributor
0 Kudos

Hi.,

Check BCALV_TREE_01 report.

hope this helps ur requirement.,

Thanks & Regards

Kiran

3 REPLIES 3

former_member184578
Active Contributor
0 Kudos

Hi.,

Check BCALV_TREE_01 report.

hope this helps ur requirement.,

Thanks & Regards

Kiran

0 Kudos

Thanks Kiran,

I checked this program earlier also.. i need a separate header like subrange code, subrange name etc header into the 2nd level expandation.which is not available in any of the standard sap BCALV* program.

Thanks,

Jo

0 Kudos

Hello Jo,

I don't think this is possible using Tree ALVs. You can alternatively use Hierarchical-Sequential lists to achieve your requirement.

Please refer to the demo programs: BCALVHIER or SALVHIER for further details.

BR,

Suhas