Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 4032

Bex Query Designer

$
0
0

Hi All,

 

We have a requirement where we have fields Employee ,Plan ,Start date ,end date.

An employee can have more than 1 Plans in a year.

We only need to show those employees in report who have more than one Plan in a year.

 

Sample Data:

 

Employee Plan  Start Date       End Date

 

101           A       01.01.2014     31.03.2014

101           B       01.01.2014     31.07.2014

101           C       01.08.2014     31.12.2014

102           D       01.01.2014     30.04.2014

103           E       01.01.2014     31.12.2014

104           F       01.01.2014     30.06.2014

104           G       01.07.2014     31.12.2014

 

Expected Output:

 

Employee Plan Start Date       End Date

101           A       01.01.2014     31.03.2014

101           B       01.01.2014     31.07.2014

101           C       01.08.2014     31.12.2014.

104           F       01.01.2014     30.06.2014

104           G      01.07.2014     31.12.2014

Is there any code which can be written to achieve this?

I tried doing this at report level using exception aggregation but its not working since we require Plan field in output and we r able to count correctly only when plan is removed from report output.

 

Thanks,

Tanvi


Viewing all articles
Browse latest Browse all 4032

Trending Articles



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