Fiscal Year to Date
Is there a BC variable in BW that will give me the Fiscal Year to date range. For example since we are in January, this variable would give me from the Fiscal Year variant that I have which is V6 (July - June), July 1st, 2004 to December 31st, 2004. Of course this requires no user entry. Also, is there one for the previous FY? July 1st 2003 - December 31st 2003?
Would an SAP-Exit be required for this?
Thanks,
Angel
Hi Roberto,
I 'm also facing similar kind of issue.in my report Fiscal year and Fiscal period s are the manual input and fiscal variant restricted by K4.
For example if my user enter fiscal year : 2009 and fiscal period: 3.
where i need to display columns dynamically based on posting period (is the manual input).
User manual input is 03........report should display..........Period 01 | Period 02 | Period 03 | .
char1 char2 char3 ............................... .......................... 34578 | 569789 | 39590
User input is 05 ...........................report should display.... Period 01 | Period 02 | Period 03 | Period 04 | Period 05|.
char1 char2 char3 ............................... .......................... 34578 | 569789 | 39590 | 54656 | 8789
Please help me out .........as early as possible.
Regards
Chandra Sekhar
Similar Messages
-
Return current period based off of current fiscal year and date
Good Afternoon,
Is there a way in the webi that I can create a dimension that always reflects the current Fiscal Month based of Fiscal year and date? I have a report that I am trying to show sales for a customer based off the current fiscal month. I would like this report when refreshed to be based off this fiscal month dimension instead of showing each fiscal month or changing it manually. What is the best way to do this?
I have attached an image that shows current numbers by period (month) and then the YTD Totals. I would like to have my 'Period' column always reflect the current period and the Total column to reflect that months totals based off the period column. So for this period (3), instead of seeing 3 lines for each month I would just see the '3' and the total as $541,310.46, monthly as 412,502.09 and my YTD as 1,080,091.06.
Any help is always appreciated!
Thank you,
TiffanyHi,
Create a variable
FlagVar=If([Period]=Max([Period]) In Report;"Show";"Hide")
And apply block filter of FlagVar=Show
Are these coming TotalSales MonthlyGoal YTDSales directly from universe? If they are calculated at report level then you might want to use NoFilter. like =NoFilter([YTDSales]) -
Current month and previous months of fiscal year period data
Hi All,
My requirement is end user will enter month ie (fiscal year period ) and in report my requiremnt is to show data in two columns 1.Current month data and
2.April till date.
Please let me know how to do this and please send the coding to be done in CMOS.
RegardsHi,
In your query, you should have following object :
in filters:
fiscal period object, with an user entry variable on it (UE_MONTH)
in rows/ratios:
Current month column, with your KF and a restriction on 0calmonth2 with an customer exit variable on it (ie: CE_VAR1)
same for April column. (CE_VAR2)
in your customer exit, CMOD, step 2, add these two cases :
WHEN 'CE_VAR1'.
READ TABLE i_t_var_range WITH KEY vnam = 'UE_MONTH' INTO
intern_range.
CONCATENATE intern_range-low(6) sy-datum+4(2) INTO l_s_range-low.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
Same for April, add a new case and just replace sy-datum+4(2) by '04'.
Hope it helps, -
FISCAL year from Date in the Selection Screen.
Hi Folks,
Is there any function module which returns the Fiscal year if we provide the date in ranges.
I mean, I have a select option for date in the selection screen.So,if a user enters the date say 01042007 01042007 it should return the corresponding fiscal year.
Kindly let me know if anyone here has any idea regarding this.
Thanks,
K.Kiran.Hello,
Check these FM's
FTIS
FTI_FISCAL_YEAR_MONTH_GET
KBPA Budget/Plan - application-specific
KBPA_GET_START_FISCAL_YEAR Determine Start Year for Funds Management
KBPA_GET_START_FISCAL_YEAR_OPT
Vasanth -
Hello BW Experts,
I need your help.
There is a KF that I want to restrict by an interval from the first day of the current fiscal year to current day. If anyone can help me on this, it would be great. My problem is similar to if I want to restrict by last 10 days..60 to 30 days etc etc....but here I have a fixed day (first day of current fiscal year) and I have to restrict from that day to current day.
Thanking
Regards
akshat
Will be more than happy to assign points.Hi,
You need to create a customer exit variable (with range selection) for date.
Then write the below code in CMOD enhancement for Variable.
Case I_VAR.
when 'YOURVAR'.
data: l_year type /bi0/oifiscyear,
l_first_year type sy-datum.
if i_step = 2. "After Selection screen is shown
l_year = sy-datum+0(4).
read table I_T_VAR_RANGE into l_s_var_range with key vnam = 'YOURVAR'.
if sy-subrc = 0.
concarenate l_year '0101' into l_first_dat.
clear l_s_RANGE.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = l_first_date.
l_s_range-high = sy-datum.
append l_s_range to e_t_range.
endif.
ENDCASE. -
How to know fiscal year start date?
How can I know when is the starting date of the fiscal year of my company from the tables or FM? They told me it is April 1st. Can I get this information from any SAP tables? I just don't want to hardcode that in my report.
Thank you very much.U can try the FM 'FIRST_AND_LAST_DAY_IN_YEAR_GET'
REPORT ZEXAMPLE.
DATA: V_FIRST LIKE SY-DATUM,
V_LAST LIKE SY-DATUM.
PARAMETERS: P_GJAHR LIKE T009B-BDATJ,
P_PERIV LIKE T009B-PERIV.
CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET'
EXPORTING
I_GJAHR = P_GJAHR
I_PERIV = P_PERIV
IMPORTING
E_FIRST_DAY = V_FIRST
E_LAST_DAY = V_LAST
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC EQ 0.
WRITE:/ P_GJAHR, '\', P_PERIV,
/ 'FIRST DAY:', V_FIRST,
/ 'LAST DAY:', V_LAST.
ELSE.
WRITE:/ 'COULD NOT DETERMINE DATES FOR', P_GJAHR, P_PERIV.
ENDIF. -
Asset value date must be in fiscal year of posting date
Hi,
When i try to post settlement of AuC in transaction AIBU with parameters:
document date: previous fiscal year
asset value date: previous fiscal year
posting date: new fiscal year
I know that:
The asset value date is the value date for Asset Accounting. It can deviate from the posting and document date and be in posting periods already closed for Financial Accounting. <b>However, the posting year and asset value date year must be the same.</b> (SAP documentation).
But maybe someone knows the way, how to post such a document??
Regards
GosiaThanks for Your replay,
But the pravious year is opened in FI-AA and closed in FI. We can't open previous year in FI.
Do You know another way to solve it??
regards
gosia -
Please advise me to generate this fiscal closing month dates as shown below
2007 2008 2009 2010
October 10/27/2007 10/25/2008 10/31/2009
November 11/24/2007 11/29/2008 11/28/2009
December 12/29/2007 1/3/2009 1/2/2010
January 1/26/2008 1/31/2009 1/30/2010
February 2/23/2008 2/28/2009 2/27/2010
March 3/29/2008 4/4/2009 4/3/2010
April 4/26/2008 5/2/2009 5/1/2010
May 5/31/2008 5/30/2009 5/29/2010
June 6/28/2008 7/4/2009 7/3/2010
July 7/26/2008 8/1/2009 7/31/2010
August 8/30/2008 8/29/2009 8/28/2010
September 9/29/2007 9/27/2008 10/3/2009 10/2/2010
Fiscal calendar closing dates for FY2008-2010.
‘Fiscal’ month and ‘Fiscal’ year closing dates will always be on Saturday so
the fiscal month will include either 4 or 5 complete weeks and fiscal
year will be 52 or 53 complete weeks. ‘Fiscal’ months and ‘Fiscal’
years do not close in the middle of a week as ‘calendar’ months and ‘calendar’ years may do.
For example, Fiscal April 2008 started on 3/30/2008 (Sunday, the day after the close of Fiscal March 2008)
and ended on 4/26/2008 (Saturday). Fiscal Year 2008 started on 9/30/2007 (Sunday)
and ends on 9/27/2008 (Saturday).
thanks,Hi,
try this (vers. 10g/above)
SQL> with t as ( -- "SAMPLE DATA"
2 select to_date('10/21/2007','mm/dd/yyyy') dt from dual
3 ) -- "END SAMPLE DATA"
4 select
5 decode(to_char(add_months(dt, ctr),'Mon'),'Dec',
6 next_day(add_months(dt, ctr-1)+35 , 'Saturday')
7 ,next_day(last_day(add_months(dt, ctr)) - 7, 'Saturday')
8 ) col1
9 ,decode(ctr,0
10 ,next_day(add_months(last_day(add_months(dt, ctr)), 12) - 7, 'Saturday')
11 ,next_day(add_months(last_day(add_months(dt, ctr-1))+35, 12) -7, 'Saturday')
12 ) col2
13 ,decode(ctr,0
14 ,next_day(add_months(last_day(add_months(dt, ctr)), 24) -7, 'Saturday')
15 ,next_day(add_months(last_day(add_months(dt, ctr-1))+35, 24) -7, 'Saturday')
16 ) col3
17 from t
18 model
19 dimension by (0 dim)
20 measures ( 0 ctr)
21 rules iterate(12)
22 ( ctr[iteration_number+1] = ctr[iteration_number]+1 )
SQL> /
COL1 COL2 COL3
10/27/2007 10/25/2008 10/31/2009
11/24/2007 11/29/2008 12/5/2009
12/29/2007 1/3/2009 1/2/2010
1/26/2008 1/31/2009 1/30/2010
2/23/2008 2/28/2009 3/6/2010
3/29/2008 4/4/2009 4/3/2010
4/26/2008 5/2/2009 5/1/2010
5/31/2008 5/30/2009 5/29/2010
6/28/2008 7/4/2009 7/3/2010
7/26/2008 8/1/2009 7/31/2010
8/30/2008 8/29/2009 9/4/2010
9/27/2008 10/3/2009 10/2/2010
10/25/2008 10/31/2009 10/30/2010
13 rows selected -
Fiscal year 2010 Not allowed while creating Process order in COR1
Dear Friends,
We have gone SAP live in the month of October. The fiscal yeat we are using is 2011 as the client is Indian client. I have made the fiscal year variant for 2011 (V3). The FI document posting with Fiscal year 2011. It is also creating the Controlling document and Profit center document without any problem.
We have also made the period open as 2011 in MMpv and MMRV. The goods receipts is working fine and the finance entry and material document gets generated for the fiscal year 2011.
Now we are creating the process order in COR1 and getting the error message Fiscal year 2010 not allowed as below.
Fiscal year 2010 is not allowed
Message no. F5568
Diagnosis
The fiscal year entered (2010) is different from the fiscal year derived from the posting date and fiscal year variant (2011).
System Response
Error.
Procedure
Correct the fiscal year entered.
In KP26 we have maintianed for activity price for 2010 & 2011 and the system is picking the data for the fiscal year 2010 data and not the FY 2011 data.
I have checked in OKEQ (Costing version '0') The valide start date for FY2011 is 01.04.2010.
Is there any other place to maintain the fiscal year in Controlling area or Prodduction Planning???
I last my patient last 5 days doing R&D. Can any one help me where the fiscal year is picking and why it is picking FY 2010??
Regards,
DevendranHi Ajay,
Thank you for your comments. I have checked the Factory calendar and that is 2010 (January to December). We have tried to change to 2011 but the system automatically picking the date from January 1st 2011 to 31st December 2011. I am unable to create calendar year with date from 01.04.2010.
I have discussed with my PP consultant about this issue, he is telling the factory calendar nowhere related to Fiscal year. Do you have any idea how to change the factory calendar of 2011 from 01.04.2010 to 31.03.2011?? Is there any there reason why my system considering the Fiscal year 2010 instead of 2011???
Your inputs will defenitely help me to get an clue.
Regards,
Devendran -
How to create a year to date filter?
All,
I would like to create a date range filter on the opportunity close date column so that the report retrieves records with a close date between the beginning of the current calendar year and the current date.
I am having trouble using date/time functions to establish the first day of the current calendar year.
Any help is appreciated.
Thanks,
DanI'm so sorry... I missed this thread and have not replied.
You could place a filter on the Fiscal Year column in the Date Dimension folder of your subject area to get Fiscal Year to Date (most of the time):
Date."Fiscal Year" = VALUEOF(NQ_SESSION.CURRENT_YEAR)
This would likely not work, however, if the current year is 2008 and you are already in Fiscal Year 2009.
To allow for this, your filters become much more complex. I will use Opportunity Close Date in my example.
First, we want to ensure that no data in the report is more than one year old...
TIMESTAMPDIFF(SQL_TSI_DAY, Opportunity."Close Date", CURRENT_DATE) < 366
With the next filter, we want to ensure that the data in the report is not from months outside of the fiscal year. You can do this with a CASE statement in a hidden column.
CASE WHEN MONTH(Opportunity."Close Date") > 06 AND YEAR(Opportunity."Close Date") < VALUEOF(NQ_SESSION.CURRENT_YEAR) THEN 'Current Fiscal Year'
WHEN MONTH(Opportunity."Close Date") < 06 AND YEAR(Opportunity."Close Date") = VALUEOF(NQ_SESSION.CURRENT_YEAR) THEN 'Current Fiscal Year'
ELSE 'Not Current Fiscal Year' END
Your Filter will be:
CASE WHEN MONTH(Opportunity."Close Date") > 06 AND YEAR(Opportunity."Close Date") < VALUEOF(NQ_SESSION.CURRENT_YEAR) THEN 'Current Fiscal Year'
WHEN MONTH(Opportunity."Close Date") < 06 AND YEAR(Opportunity."Close Date") = VALUEOF(NQ_SESSION.CURRENT_YEAR) THEN 'Current Fiscal Year'
ELSE 'Not Current Fiscal Year' END = 'Current Fiscal Year'
Assuming my code is correct, July 2007 - June 2008 evaluates as current fiscal year and July 2008+ evaluates as not current fiscal year.
There are bound to be other ways to accomplish this, but this is one method that should work.
Regards,
Mike L -
HI,
There is one query regarding fiscal year. In our report we made fiscal year variants as a compounding object in fiscal year info-object.
So that when we check data in report that with respect to fiscal year variant, data comes in different column.
Like if fiscal year variant is K4 and BW then there will be different column for some particular key-figure.
But i want these value in one column. It can be possible, if i remove compounding object (fiscal year variants ) from fiscal year,
but i can't do this becoz this fiscal year is used in other query also.
So can i create some different info-object for fiscal year in which fiscal year variants should not used as a compounding object.
But value of fiscal year should come with respect to fiscal year variants.
Thanks
Devesh BabuHi,
Put Fiscal year variant in the rows. Now create a formula and add all key figures which display data for diff fisc variants, like KF1 might display data for K4, KF2 might display data for V3, etc. Add KF1 + KF2 in the formula and hide the individual KF. But you should have fisc variant in rows, otherwise the data would be wrongly added.
Best Regards,
Murali. -
Change in Specify Transfer Date/Last Closed Fiscal Year in Asset Accounting
Hi,
While uploading the asset master data and values,I have given the Specify Transfer Date/Last Closed Fiscal Year date as 31-12-2008.But as per the fiscal year 4-4-5,2008 closed on 03-01-2009.
what are the consequences,If we change the Specify Transfer Date/Last Closed Fiscal Year date from 31-12-2008 to 03-01-2009 as the 2008 closed on 03-01-2009.
Kindly give me some inputs regarding this change.
Thanks
SupriyaHi
Please note
I you change the transfer date to current FY date , system will not allow u to upload data in PY.
See the below
Transfer Date
This date determines the status of posting to be used for the
transfer (posting up to this date will be included in the transfer), not
the actual date the data transfer is carried out. This specification
also determines whether you want to perform the transfer during the
fiscal year (with transfer of posted transactions/depreciation in the
current fiscal year) or at the end of the fiscal year (without
transactions).
If the transfer date is not the last day of the fiscal year (according
to the fiscal year variant in FI), the system interprets this as
transfer during the fiscal year. The system cannot transfer any
historical transactions. It can only transfer cumulative values from the
end of the last fiscal year, and the transactions in the current fiscal
year (the second is only possible for transfer during the fiscal year).
Example
transfer date = December 31, 1997
=> last closed fiscal year = 1997
Specify Last Period Posted in Prv.System (Transf.During FY)
You must specify the period up to which depreciation was posted in the previous
system. This period refers to the posted depreciation that is to be
transferred during old assets data takeover.
Thanks
GG -
Fiscal year variants in co.code have inconsistent start date.Msg no AC531
Hi Experts
We went with 24 periods after Go live. I am trying to assign the TAX basis fiscal year variant(TX) at Depreciation area level. But it's not letting to add with the following error message.
Fiscal year variants in co.code have inconsistent start date
Message no. AC531
Diagnosis
The first day of the fiscal year for variant TX (24periods) in company code in Asset Accounting differs from the first day of the fiscal year for variant D1(12 periods) in General Ledger Accounting.
However, both variants must have the same start and end date! Only the periods within the fiscal year can be different in the two variants.
Please guide me how to fix this error message.
Thanks in advance
Meenakshi.N
Edited by: Meenakshi.Nakshatrula on May 3, 2010 5:45 AMHi,
Message no. AC531 says:
The first day of the fiscal year for variant K4 in company code in Asset
Accounting differs from the first day of the fiscal year for variant NL
in General Ledger Accounting.
However, both variants must have the same start and end date! Only the
periods within the fiscal year can be different in the two variants.
The error is described in note 844029 :-
In the NewGL in Asset Accounting, it is still not possible for
depreciation areas to have fiscal year variants with different start and
finish dates. If you try to assign a fiscal year variant to an area,
whereby the fiscal year variant infringes this restriction, the system
issues error message AC 531.
Regards Bernhard -
Date Range for a fixed fiscal year
Dear All,
How to write a code to fix the date range for 12months only. Example like mine selection should be between one fiscal year only.
I have check that the date is of one year range like 1.05.2008 to 30.04.2009
month bt 05 & 04 for one particular year. how to write the code.hi,
check for the year like this.
if v_date1(4) EQ v_date2(4).
endif.
this will check for the first 4 characters of the date string which is the year.
regards,
Peter -
POS data variation in bw report for fiscal year
HI ,
I got issue from User like ,In a BW report I have given sold to party as best buy with actual sel though and fiscal year form 2006 to 2008.I got some values with factory week 14/2009 for it.But when i selected fiscal year 2007 to 2008 i got some other value for factory week 14/2007 which is not matching with previous value when i drilled down fro Fiscal year 2006 to 2008.Please tell me hwo to proceed wiht this issue .If I would come across this problem, I would perform following checks.
- Run Query for 2006 - 2007 (Check and note down the value for 14/2007)
- Run Query for 2007 - 2008 (Check and note down the value for 14/2007).
MAKE SURE THAT YOU HAVE USED SAME SELECTION CRITERIA OTHER THAN YEAR.
Then check your cube data, put the same selection in the cube and check the data for the week 14/2007 and see which value of the above two noted value is correct.
You may also want to check if there is any other restriction based on year selection in the query. If any KFs are restricted by some more values based on the fiscalyear selection.
- Danny
Maybe you are looking for
-
Can I Use any iTunes music in personal business ads?
I made a iMovie trailer ad for my photography website using only my own photos. I was questioned re: the song I played part of in the background. Honestly, it was a good challenge because I did not have any knowledge whether or not I can use any or a
-
New hard disk not detected on openboot
hello guys, would like to request help if there are any settings i need to enable for a netra t1 to detect the new hard disks that were added on a dell disk array. the netra t1 is able to detect scsi hds 1-3 but not the 8-11. have checked netra t1 ma
-
Officejet 6700 Premium Override
Hi everyone, Just want to find out if someone can help me please. I have run out of black ink and am printing now with only color that simulates black. I normally have the printer's settings to print everything in only grayscale using the black ink o
-
How do I reset font book?
Fontbook keeps hanging on me everytime I launch it and there are a number of fonts that have been disabled for some reason that previously were enabled. Is there a way to reset it?
-
Hi, I need some help, I'm going to setup oracle HA under sun cluster 3.1. We will put 1 oracle instance but will be having several database instances running. My question is do I need to create a seperate resource group for each database instance? An