Skip to Content
Former Member
Jul 03, 2007 at 06:18 AM

About material sort programn


Hello Experts,

i want material sort logic in follwing code by materail description in that also i want to sort those materail which having same material description so if i give perticular number range from that number range i want to sort only one materail which having exact same discription other same discription should not sorted through that report, i got one yesterday which is given as follows so what changes i need to do in following code reward for useful answer send me solution on following mail id

mail id ""

and the code i am using is as follows:

report z_test.

tables: makt.

select-options: s_matnr for makt-matnr.

data: t_makt type table of makt with header line.


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,



thanx in advance

Rahul Talele