07-02-2007 1:17 PM
Hello Experts,
Can anyone send me sample report example for sorting same description material from any table like makt table so if i give some number range so i can get material of same description. mail me following id.
reward points for useful answer
mail id "talele.rahul@gmail.com"
Thanx and Regards,
Rahul Talele
07-02-2007 1:32 PM
report z_test.
tables: makt.
select-options: s_matnr for makt-matnr.
data: t_makt type table of makt with header line.
start-of-selection.
select * into table t_makt
from makt
where matnr in s_matnr
and spras eq sy-langu.
sort t_makt by MAKTG.
loop at t_makt.
write: / t_makt-matnr,
t_makt-maktx.
endloop.
Is a basic way of doing it.
Regards
Darren