on 08-26-2014 11:05 AM
Hi, here I want the out amount to be calculated with the variable ranges..
I attached the report output.
I took doc.no and doc.date in column,
restricted doc.date with current day ( date changed to 05.05.2006)
2 variables as manual entry, 2 variables as customer exit.
with those manual entry variables i calculated different dates for 2 customer exit variables using ABAP
everything is going fine till here.
when i drag amount in a selection n restrict it with range of customer exit variables in doc.date
the output does not shows the value for the range
its just show the output for the particular date
dates
05.05.2006
05.04.2006
i want the output to show the total sum of amount for 30 days (or the no. which user enters)
Hi Praveen,
Please change date as constant selection in your selection key figure.(also add the variables for that date range)
Regards
Yasemin...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
i think, first you have to remove the document date drill down.
also, since you are restricting the document date = 05.05.2006,it always tries to fetch data from backend only for thsi date. you need to modify this filter at runtime, to fetch the date ranges according to your KF requirements.
eg. the first KF wants data from 01.05.2006 - 05.05.2006 and the second KF for 06.06.2006 - 08.06.2006
.you need to modify the documetn date restriction to 01.05.2006 - 08.06.2006
regards,
Sakthi
Hi Praveen,
i hope this is what your requirement(sample output as below):-
Customer | Amount(01.05.2006 - 05.05.2006) | Amount(06.05.2006 - 10.05.2006) |
C1 | $100 | $500 |
C2 | $200 | $700 |
if so, can we do this way: on KF1, restrict the document date with user input variable 1
and KF2 with user input variable 2.
if user enters first user input variable as 01.05.2006 - 05.05.2006
and the same way for the second one. in that case, no need of further logic to determine the variable ranges.
Let us know if this works?
Regards,
Sakthi.
hi, end user will manually enter a date for that date i have to calculate previous 30, 06, 90... dates
i.e
26.08.2014- user entry date
using abap i calculated these dates
27.07.2014-(-30)
27.06.2014(-60)
28.04.2014-(-90)
when i restrict the date to the amount in a selection result should be as u showed
but it does not..
Hi Praveen,
Got it.
so only thing you have to make sure.. after deriving your different value ranges. you need to modify the documetn date variable which user entered , to 28.04.2014 - 26.08.2014.
i hope this you have done in Istep_2. then in backend it will get all the required data and feed into the KFs according your variable set ups.
regards,
Sakthi
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.