Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

selecting records

hi all,

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.

append dtab.


plz. help me.



Former Member
Not what you were looking for? View more on this topic or Ask a question