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

Tree ALV using Cl_SALV_TREE

Former Member
0 Likes
397

HI

I am using cl_salv_tree class for creating a tree report. For this I have created one internal table and passed to tree class and it is working fine. now I have a problem with displaying.

Example:

LGNUM TKNUM KODAT VBELN MATNR

101 222 25-07-10 450003 10 (Header)

101 222 25-07-10 450003 10 (items)

101 222 25-07-10 450003 20 (items)

I want to display like this..

LGNUM TKNUM KODAT VBELN MATNR

101 222 25-07-10 (Header)

450003 10 (items)

450003 20 (items)

Now for me in header vbeln and matnr should not come

and for items lgnum , tknum , kodat should not come.

I am using only one internal table for displaying all this.

Is there any function / method to display like.

Its very important to me...please suggest some ideas on this.

HI

I am using cl_salv_tree class for creating a tree report. For this I have created one internal table and passed to tree class and it is working fine. now I have a problem with displaying.

Example:

LGNUM TKNUM KODAT VBELN MATNR

101 222 25-07-10 450003 10 (Header)

101 222 25-07-10 450003 10 (items)

101 222 25-07-10 450003 20 (items)

I want to display like this..

LGNUM TKNUM KODAT VBELN MATNR

101 222 25-07-10 (Header)

450003 10 (items)

450003 20 (items)

Now for me in header vbeln and matnr should not come

and for items lgnum , tknum , kodat should not come.

I am using only one internal table for displaying all this.

Is there any function / method to display like.

Its very important to me...please suggest some ideas on this.

1 REPLY 1
Read only

Former Member
0 Likes
317

Hi Bachi,

You can use cl_gui_alv_tree for TREE ALV.

Check BCALV_TREE* programs for reference.

Regards,

Nisha Vengal.