Skip to Content
0
Former Member
Jun 04, 2008 at 01:49 PM

internal table not storing duplicate records...

66 Views

HI,

i am trying to do a load test and for that i am passing a value 3 times. In the program it is received as 3 values. Now i try to retreive data for that from the tables and store in anotehr internal table, but i am geting only one record stored !! I dont see any unique constraints set on my internal table, and so shud not there be 3 records stored in the internal table though they r duplicates ? I need it like that!!

here inv is an internal table with the invoice numbers...i have 3 same numbers populated in that.

TYPES: BEGIN OF ttt

vbeln TYPE vbrk-vbeln,

kunag TYPE vbrk-kunag,

vtweg TYPE vbrk-vtweg,

END OF ttt.

DATA: vbrk TYPE TABLE OF ttt,

wa_vbrk TYPE ttt.

SELECT vbeln

kunag

vtweg

FROM vbrk

INTO TABLE vbrk

FOR ALL ENTRIES IN inv

WHERE vbeln = inv-vbeln.

Now in vbrk i am getting just one record !!! I need 3 records (though they r duplicates).

thks