Hello Folks,
Need to create a Dynamic ALV List where first 5 columns are fixed whereas the count of remaining no of column are not fixed.
E.g. ALV List Table Structure
DATA: BEGIN OF bestand OCCURS 0,
Matnr LIKE mara-matnr,
Werks LIKE t001w-werks,
Charg LIKE mchb-charg,
FieldValue1 type string,
FieldValue2 type string,
FieldValue3 type string,
FieldValue4 type string,
FieldValue5 type string,
.
.
.
FieldValueN type string,
DATA: END OF bestand.
How to set the 'N' nos of FieldValue with Column Header Transposed in a single row of ALV like below??
ALV List Table/Column Fields
|
MatNo Plant Batch Characteristics1 Characteristics2 ...... CharacteristicsN
ALV List Table/Data -> Matnr Werks Charg FieldValue1 FieldValue2 ....... FieldValueN
Thanks !!