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

How to print table data after filtering on table fields

$
0
0

Hi All,

 

I have a requirement where I need to print the final table data after filtering on company code and currency.

 

For example I have an internal table with 6 rows.

 

Company code Currency   Amount

ABC                    EUR          100

ABC                    EUR           200

ABC                    INR            200

XYZ                     EUR           200

XYZ                     EUR          100

XYZ                     INR            200

 

Now my ouput should be

 

Company code Currency   Amount

ABC                    EUR          300

ABC                    INR            200

XYZ                    EUR          300

XYZ                    INR             200

 

I am able to print correct output only when I consider Company code . But here I also need filter on currency along with the company code. I am not able to print the correct data as shown above.

 

Can anyone please help me out the achieve the above outptut ?

 

 

Thanks and Regards,

Karthik Ganti.


Viewing all articles
Browse latest Browse all 8545


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