I have a transparent table ztab with fields kunnr , dptype ,etc..
I have internal table dtab with only field dptype.
In ztab,for kunnr = 1, i have 'n' no. of entries(records).
let number = 1.
for kunnr =1, i want all records from ztab to b appended into dtab.i have written the following code.i think its correct.but its taking only 1 record out of 'n' records
select dptype from ztab into dtab where kunnr = number.
plz. help me.