Dear All,
I am creating ALV report in which my 1 of the column contain matnr , what i want to do is
my matnr should be sort descending , that I have done , now for ex. I have 5 matnr in which 2 matnr r repeating thrise, 2 matnr r repeating 4 times and 1 matnr is repeating 5 times , in a single column, now I want to keep all the 5 matnr , but only two similar copies , rest matnr which r repeating more than twice should be deleted. See below.
I want to delete . . .
Matnr
4000035248
4000035248
4000035248 <- delete this
4000035250
4000035250
4000035250 <- delete this
4000035251
4000035251
4000035251 <- delete this
4000035251 <- delete this
4000035252
4000035252
4000035252 <- delete this
4000035252 <- delete this
4000035258
4000035258
4000035258 <- delete this
4000035258 <- delete this
4000035258 <- delete this
Is it possible.
is there any syntax to do this.
Regards,
ANUP....
Edited by: rockabap on Apr 2, 2010 10:52 AM