some logic problem,i have data in internal table,i have diff values of matkl,now i want all the count of each matkl values.how can i do that.plz give me some code.
i will give some brief explanation.
for example matkl is having values 10,10,10,10,20,30,40,50,50.than what i want from this is
10 - 4,
20 - 1,
30 - 1,
40 - 1,
50 - 2.
like this i need the count of the diff matkl values,plz help me with some code.