2009 May 18 6:13 AM
Hi experts ,
Need to display the row data in ALV as column.
The column of an ALV has the fieldnames of a table , this needs to be displayed as row data , that is as single row.
How can this can be achieved?
2009 May 18 6:26 AM
Hi,
Actually it is not possible to disaply in multiple lines.
This problem was discussed many times in this forum, u can search for more results.
2009 May 18 6:28 AM
Hi sunitha this is not possible and if possible then you have to play with the internal table.
one more thing while preparing the fieldcatalog you have to assign all the rows as char(100) as you will not be knowing the size of the particular field.
ex: let in first case the table display be.
MATNR DES QUANTITY
MES001 toy 456
now when you convert rows to column matnr des and quantity come to the same colomn inthat case you need to create a column of c(100) as it keeps varying matnr(18) des(20) quantity(13).
Second reason why i sayits not possible bcause the second table length depends on the total number of records present in first table.
Hope things are clear.
Cheers,
Suvendu
2009 May 18 6:35 AM
Hi.. Sunitha....
From the table DD03L u will get table fields in one table. U just concatenate all the fields separated by delimiter according to your requirement and display in ALV report by adding this column also in field catalogue in as usual way.
Hope this is useful.
Regards,
KP.