Hi Vasanth,
I recommend you, check your requierement again.
Is very easy pass data in internal table, but if you dont have conditions, your performance is very poor. If is only for test porpouse try:
report zprog.
types: begin st_01 of
calday
material
quant_b
end of st_01.
data: it_table type table wa,
wa like line of st_01.
parameters: p_calmonth(2) TYPE c.
select calday
material
quant_b
into table it_table
from zods
where calmonth EQ p_calmonth
Regards.