Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

About sort report

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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