Hi
I have a internal table of the following format
Material | doc#
1000 | 1001
1000 | 1002
1000 | 1003
2000 | 2001
2000 | 2002
2000 | 2003
2000 | 2004
I want to a extend the progam to get total material doc count from that internal table
Desired format
Material | Count
1000 | 3
2000 | 4
Please let me know how to accomplish this.