Hi All,
I have data in a internal table like below.
| Product no | customer no | country | Product category | sale value | Total Sales value | Discount |
| P001 | C001 | US | Home | 5000 | ||
| P002 | C002 | UK | ELECTRONICS | 3000 | ||
| P003 | C003 | GERMANY | KIDS | 2000 | ||
| P004 | C004 | INDIA | HOME | 4000 | ||
| P005 | C001 | US | ELECTRONICS | 1000 | ||
| P006 | C003 | GERMANY | KIDS | 6000 | ||
| P007 | C005 | FRANCE | HOME | 5000 | ||
| P008 | C004 | INDIA | ELECTRONICS | 3000 | ||
| P009 | C002 | UK | KIDS | 2000 | ||
| P010 | C001 | US | HOME | 1000 |
I have total sales value and Discount blank in the table. Need to fill total sales value based on combination of (customer number + country + product category).
For example in the above data we see C001 + US + Home occurs three times. Total sales value should be filled as 5000 + 1000.
The total sales value should be filled as 6000 at record 1 and record 10.
How can i acheive this?
Regards,
FM.