Hi,
the task seems to be almost unsolvable (for me at least).
There is a table which provides us the data.
This table is the basis for further action. It is a customer table.
It consists of many fields like
HEADER_ID
MEASURE_LEG_ID
SIZE_ID
SIZE_NAME (column names of the output table)
MEASURE_LEG (rows(lines)of the output table)
DELFLAG
ISREFSIZE
STATUS
ORIGSIGN
SEASON
VENDOR
....
..
Due to this table must be created an new output table which looks as follows:
Create as many columns as the number of values in the field SIZE_NAME.
The lines(rows) should look as follows:
-
XXL--
XL
L
-M--S
MEASURE_LEG5--
MEASURE_LEG3--
MEASURE_LEG2--
MEASURE_LEG6--
MEASURE_LEG9--
SIZE_NAME: XXL,XL,L,M,S
ROWS(lines) MEASURE_LEG12, MEASURE_LEG3 etc are the rows(lines).
Finally this output must be generated in a new table with the information
from the first table.
I need only the LOOP on how to create the look as output internal table
and not the whole technology with ALV.
I hope from the whole heart someone can help me in this matter.
Regards
sas erdem