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: 

Nested table in ALV grid

AntonPierhagen
Active Participant
0 Kudos

Hi all

i have the following types:

<begin of type1,

fieldA type i ,

fieldB type i,

<end of type1,

<begin of type2,

fieldC type i

fieldA type i,

<end of type2,

<begin of type3,

fieldA type i,

fieldB type i,

fieldC type i,

<end of type3,

<begin of type4,

fieldA type i

fields1 type type1 occurs 4,

fields2 type type2 occurs 5,

fields3 type type3 occurs 7,

fieldD type i,

<end of type4.

I would like to set a internal table of type4 in an ALV grid. How do you do this? because i thought it could

like to hear from you! And off course << Moderator message - Please do not offer points >>

kind regards

Anton

Edited by: Rob Burbank on Nov 9, 2010 2:03 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please refer to SAP DEMO REPORT: SAPCOLUMN_TREE_CONTROL_DEMO

The column tree control should be suitable for your requirement.

Cheers,

5 REPLIES 5

Former Member
0 Kudos

Hi

It's not possible, in ALV a "simple" table can be displayed.....and I don't know how the layout of a nested table should or could be

Max

Former Member
0 Kudos

Check this Link may be is what you looking for http://www.sapgeek.net/2009/12/example-of-hierarchical-sequential-list/

Former Member
0 Kudos

Hi,

Please refer to SAP DEMO REPORT: SAPCOLUMN_TREE_CONTROL_DEMO

The column tree control should be suitable for your requirement.

Cheers,

0 Kudos

I have found another solution. I make one internal table with all the fields in it. It is not what i like, but it works...

thanks all for your replies!

kind regards

Anton Pierhagen

former_member1321
Participant
0 Kudos