Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Data manipulation in an internal table

$
0
0

Hi All,

 

I have data in a internal table like below.

 

Product nocustomer nocountryProduct categorysale valueTotal Sales valueDiscount
P001C001USHome5000
P002C002UKELECTRONICS3000
P003C003GERMANYKIDS2000
P004C004INDIAHOME4000
P005C001USELECTRONICS1000
P006C003GERMANYKIDS6000
P007C005FRANCEHOME5000
P008C004INDIAELECTRONICS3000
P009C002UKKIDS2000
P010C001USHOME1000

 

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.


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>