05-31-2007 4:15 PM
Hi,
I have the ORDERS05 extended .
I have extended the segment E1EDKT2 with the custom segment.
I will be having the multiple lines to be appeded into the custom segment
How can i do that ?
READ TABLE dint_edidd WITH KEY segnam = 'E1EDKT2'.
lv_tabix = sy-tabix.
CLEAR dint_edidd.
ADD 1 TO lv_tabix.
MOVE 'XXXX' TO l_z1sdeue-con_type.
MOVE 'XXXX' TO l_z1sdeue-pieces.
MOVE: 'Z1SDEUE' TO dint_edidd-segnam,
l_z1sdeue TO dint_edidd-sdata.
INSERT dint_edidd INDEX lv_tabix.
This is working fine for one line.
How can i handle for multiple lines ?
Thanks.
Rohita.
05-31-2007 4:36 PM