Skip to Content

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

sql statement

hi all

i want to store the record into an internal table. What is the syntax?

example

select name from student where class = 'abc'.

i want to store all the name from the class 'abc' into a internal table. How can i do it? thankz.

Tags:
Former Member
Former Member replied

Hi Gary,

data: begin of itab occurs 0,

name type student-name,

end of itab.

select name

from student

INTO TABLE itab

where class = 'abc'.

Regards,

Atish

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question