My internal table has 7 material numbers, ITAB-MATNR1 to ITAB-MATNR7. I have to count(mcnt) the number of MATNR which are not initial. Can some one please help me how to count this.
If 2 MATNR has value then MCNT should be 2, if 4 of them has value then MCNT should be 4.
I will really appriciate your help.