cancel
Showing results for 
Search instead for 
Did you mean: 

Query Designer - How to display the first and last date of transaction on a report?

Former Member
0 Kudos

Hi all,

I am trying to provide a report using query designer. This report is based on following informations: customer, transaction date, net invoice value.

I would like to display only the first date of sales, and the last date of sales.

Did anybody do it before?

Thanks for your feedback.

Bob

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182343
Active Contributor
0 Kudos

Hi,

Can you provide your requirement more clearly.

If you want to know first and last transaction datas out of multiple records.

Say:

Customer  - -  doc date   - -- - amt

101  -------- 01.01.2010  - - - - 100

101  -------- 11.02.2010  - - - - 1000

101  -------- 01.11.2010  - - - - 500

101  -------- 01.02.2011  - - - - 1100

output :

Customer --- first transaction date --- last trns date --

101 -----    01.01.2010      - - ------- 01.02.2011

Then I suggest you to go with either WEBI or ABAP.

This is mostly not possible with bex. Reason is without drilldown the report output upto Doc wise level, how can we get first and last date.

With the help of Exception aggregation you will get KF value restricted with that date(either first or last) , not that date.

Customer exit even not helps you.

waiting for your replay .

_Vijay

ravi_chandra3
Active Contributor
0 Kudos

HI bob,

Have you tried with exception aggregation with reference date as date

former_member182470
Active Contributor
0 Kudos

HI,

You can achieve either by using a User Exit variable for Transaction date field in the Query or You can try to achieve by Offset Values for Transaction Date.

Regards,

Suman