Skip to Content
0
Former Member
Mar 05, 2009 at 10:46 AM

ouput table

25 Views

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--


30 -20 10 2--4

MEASURE_LEG3--


70 -50 60 3--6

MEASURE_LEG2--


50 -30 20 8--9

MEASURE_LEG6--


80 -70 40 9--7

MEASURE_LEG9--


80 -70 40 9--7

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