Hi friends,
I have data in infoprovider as following:
Company code Account Amount
CGAS 008900142269 1.52
CGAS 008900142269 0.00
COLX 008900142269 5.88
PS 008900142269 1.89
PUB 008900142269 10.06
PUB 008900142269 0.00
PUB 008900142269 3.02
My requirement is i need to find the category(Upto 10$, between 10-20$,.....) for the amount.
That is if user doesn't enter a company code, I need to total all values and find the categoryi.e., upto 10$ etc,......
If he enters a value for example: PUB then I need to total last three values and find the category.
Experts please help me on how to achieve this.
Thanks,
Raja
Add a comment