I am writing below code to insert data into the table.
IF NOT i_tab1 IS INITIAL.
INSERT zvbeln FROM TABLE i_itab1 ACCEPTING DUPLICATE KEYS .
IF sy-subrc = 0.
the value of itab1 contains 10010 as VBELN and POSNR as 10 and
10010 as VBELN and POSNR as 20.
but my prg only updating only the first entry, I need to insert both.
Pls suggest hoe to do this.
Thanks in advance