Skip to Content
0
Former Member
May 31, 2007 at 03:15 PM

Item Segments in the ORDERS05

22 Views

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.