Skip to Content
0
Former Member
Nov 24, 2008 at 05:47 PM

3 items into 1 records

63 Views

Hi to averybody

I'm using the table konm into my table ITAB.

The filed key is knumh.

My question is it possibile to have all into 1 records?

I tried with didn't work

CASE konm-klfn1.

WHEN 1.

clear itab

append

WHEN 2

clear itab

append

ECC

ECC

***********************************************

TABLE KONM

knumh klfn1 QT Value

0000034937 0001 1,000 40,00

0000034937 0002 0,965 250,00

0000034937 0003 0,822 500,0

************************************************

I would have

TABLE ITAB

knumh QTA1 VAL1 QTA2 VAL2 QTA3 VAL3

0000034937 1,000 40,00 0,965 250,00 0,822 500,00

Thanks a lot and good works