2010 Nov 09 6:57 PM
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
2010 Nov 10 1:23 AM
Hi,
Please refer to SAP DEMO REPORT: SAPCOLUMN_TREE_CONTROL_DEMO
The column tree control should be suitable for your requirement.
Cheers,
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
2010 Nov 09 7:25 PM
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
2010 Nov 09 8:48 PM
Check this Link may be is what you looking for http://www.sapgeek.net/2009/12/example-of-hierarchical-sequential-list/
2010 Nov 10 1:23 AM
Hi,
Please refer to SAP DEMO REPORT: SAPCOLUMN_TREE_CONTROL_DEMO
The column tree control should be suitable for your requirement.
Cheers,
2010 Nov 10 10:53 AM
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
2022 Jan 23 1:04 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |