Experts Im having a problem on how to formulate my logic.
Please pardon if I cant explain it well and let me show you an example of my problem.
Example I have 5 number:
shine
mary
mary
arenas
gilbert
john
john
the above names are my data then I want to give numberings of each data and it would look like this.
shine - 1
mary - 1
mary - 2
arenas-1
gilbert-1
john - 1
john - 2.
did you notice the pattern of my numbering?if the data changed i would number it as 1 if in the next loop it didnt change I would number it 2 and so fort.
Could you help me on my logic...those data are stored in one field inside in internal table then I put it in a loop.
Help me please on constructing my logic...
2
1
2