Hello Experts !!!
Good Day...
We have a requirement to calculate the Exchange Rates on YTD basis to load it in to BPC. The requirement is as below(for Example) -
IF you calculate AVG YTD for Mar for eg, sum the exchange rate from JAN 1st of current year (system variable for current year can be used) till current date.
Divide this value with number of days from JAN 1st till current date.
So lets take current date as 31st MAR
And sum of exchange rate from JAN 1st till 31st MAR is = 3000
Number of days till 31st MAR are = 90 (please keep in mind the leap years)
So AVG YTD for MAR= 3000/90 = 33.33
We already have calculating the Monthly Avg rates in Endroutine with help of one of the SDN link -
https://scn.sap.com/thread/1894712
Can we write such kind of End routine code to Calculate YTD Average
Can you please help me in providing me the ABAP end Routine Code on how to calculate the YTD Avg in End routine in SAP BI. Its really very urgent to deliver this.
Please remember we have to do this calculations in BW backend not in Reports(as we are not using any Bex reportings)
Thanks,
Vikki