Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Item Segments in the ORDERS05

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

Solved