2007 Feb 01 8:59 AM
Hi All.
I have a table which has got some more tables in it.
For eg, one particular applicant can have taken 5 subjects at a level, 3 at another level and so on.
I want to show this data in ALV.
Is it possible? If so, how do I make the field catalog?
Table would be something like this :
begin of itab occurs 0,
field1 type c,
field2 type c,
deep_1 type table of ws1,
deep_2 type table of ws2,
field3 type c,
end of itab.
Please assist.
2007 Feb 01 6:06 PM
Hi,
Define a structure of the required fields and use that in the REUSE_ALV_GRID_DISPLAY's I_STRUCTURE_NAME .
Regards
Subramanian
Hi All.
I have a table which has got some more tables in it.
For eg, one particular applicant can have taken 5 subjects at a level, 3 at another level and so on.
I want to show this data in ALV.
Is it possible? If so, how do I make the field catalog?
Table would be something like this :
begin of itab occurs 0,
field1 type c,
field2 type c,
deep_1 type table of ws1,
deep_2 type table of ws2,
field3 type c,
end of itab.
Please assist.
2007 Feb 01 6:06 PM
Hi,
Define a structure of the required fields and use that in the REUSE_ALV_GRID_DISPLAY's I_STRUCTURE_NAME .
Regards
Subramanian
2007 Feb 01 8:26 PM
Hello Aishi
You cannot use deep structures in ALV. The structure must be flat.
Regards
Uwe
2007 Feb 02 4:18 AM
Hi Aishi,
You cannot add deep structure.
Instead what you can do is create another table and include the fields of the deep structure independently and then fill this table with the contents
so for one entry if you have 3 rows in deep structure then your new structure will have 3 rows in all.
This then you can display
In your case you can add the information 'level' also so it will distinguish which subject is chosen by also looking at level.
Hope this helps
Regards
Nishant
Message was edited by:
Nishant Rustagi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |