Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Can we perform Distinct and Grouping operation on OData services ??

$
0
0

Hello Experts,

 

I am using an OData service whose output consists of few repeated rows. I want to display distinct data in the UI and also group the repeated rows. Can this manipulation be done in the service itself ??

 

Following is the scenario:

 

Lets say a customer orders same product in two different categories(different packs,but same product). Only one order number is generated for this order, but its displayed twice in the output because categories of product are different.  In my table, Order number must be visible only once and under "no of items" 2 must be displayed.(Hence grouping is required).

 

I hope i have explained my question properly.

 

Please reply,

Thnak you,

Best Regards,

Chetna


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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