‎2007 Mar 12 9:43 AM
Hi all,
How to sort all the materials into two groups on the basis of MLGN-BSSKZ field where MLGN-MATNR = VBAP-MATNR.
Two groups -
(say) MLGN-BSSKZ = 'A'.
MLGN-BSSKZ = ' '
Regards,
Mainak.
‎2007 Mar 12 9:48 AM
Hello,
Get all the material into one itab and use
<b>SORT ITAB BY BSSKZ DECSENDING</b>
Thanks !!!
Vasanth
‎2007 Mar 12 10:07 AM
sort itab by matnr bsskz [descending].
here it will sort first matnr and according bsskz.
suppose
matnr bsskz
a a
a b
b a
c a
b c
b a
it will give
a a
a b
b a
b b
b c
c a
regards
shiba dutta