2010 Jul 25 7:06 PM
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.
2010 Aug 06 10:00 AM
Hi Bachi,
You can use cl_gui_alv_tree for TREE ALV.
Check BCALV_TREE* programs for reference.
Regards,
Nisha Vengal.