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.
Similar Messages
-
The system could not calculate the fiscal year start or finish date message
While running the transaction FMO1 and FMOA in funds management we have confronted with the following problem.
Message no. FI 500
The system could not calculate the fiscal year start or finish date.
WE are using year dependent fiscal year and are implementing Funds Management for the first time.
SAP Version 4.0 B
Priority Urgent
For the same problem in Version 4.5 and 4.6 there is a note number 213713 available on service.sap.com.No, there is no bug.
Those activities that have asterisks (Stars) next to their start or finish dates (despite having no constraints) have "External Early Start" or "External Late Finish" dates, respectively, assigned to them. These dates get imported with XER and represent links to activities of those projects that are not in your database but in the external database where the XER originated from.
To remove, filter out all such activities (with stars) and delete their "External" dates. However, be aware that Start or Finish dates of such activities might change if you delete theire External dates. If getting rid of asterisks does alter your schedule, ask the person who sent you the XER to confirm start/finish dates of all such (starred) activiites.
Cheers -
How to Find the Year to Date ?
Dear Experts
How to find the Year to date in BI 7.0 i.e(1st April of Current year to Tilldate) is there any Standard Variable is there ,Please let me know .as we are needed in our project.
Thanks in Advance
SatishHi,
I hope Stadard variables(Cumilated upto current fiscal year-0FYTCFP) will be avalable for this kind of requirement. Try to create a restricted key fig by make use of the standard variables...
This is just my assumption.
Message was edited by:
Kameswari Ponnuri -
How to add FISCAL YEAR, Period and Day to cube.
hi,
I am using SD EXTRACTORS (2LIS_11_VAITM, 2LIS_11_VAKON, 2LIS_12_VCITM and 2LIS_13_VDITM) and directly updating each corresponding ODS and cube.
All the extractors only have FISCAL VARIANT has the time characteristic. So, all my ODS contains only one time char - fiscal variant and other dates (liek document created date etc. (not a time char)).
Now, I want to use fiscal period, fiscal year and fiscal day in my cube. I have added these time char in my cube.
My question:
1. how to get FISCAL YEAR, FISCAL PERIOD and FISCAL DAY get updated. Do I need to map to document created date in update rules or Do I need to use some functional module.
Pls note I am bringing only FISCAL VARIANT from R/3 into ODS and then to CUBE.
PLS REPLY.thanks sundar..i got your point..but I have one question
All the cubes (sales, sales condition and billing) have the sales order number (VBUK-VBELN) and item number (POSNR-VBUK). But info objects used for these fields in sales cube and sales condition cube are same but for billing it is not same.
Can I combine all cubes (sales order, sales condition, billing) in muliti provider.
1. Sales order cube (from VAITM)
Sales order number (VBUK-VBELN) -- (0DOC_NUMBER)
Sales Item (VBUK-POSNR) -- (0S_ORD_ITEM)
Date : Document created date (VBAK-AUDAT) -- 0DOC_DATE
2. Sales Condition cube (from VAKON)
Sales order number (VBUK-VBELN) -- (0DOC_NUMBER)
Sales Item (VBUK-POSNR) -- (0S_ORD_ITEM)
Date: Document created date (VBAK-AUDAT) -- 0DOC_DATE
Key field: Netprice (VBAP-NETWR) -- 0NET_VALUE
3. Delivery Cube (from VCITM)
Sales order number (VBUK-VBELN) -- (0DELIV_NUMB)
Item (VBUK-POSNR) -- (0DELIV_ITEM)
Date: Delivery Date :LIKP-WADAT_IST -- 0ACT_GI_DTE
4. Billing Cube (from VDITM)
Sales order number (VBUK-VBELN) -- (0BILL_NUM)
Sales Item (VBUK-POSNR) -- (0BILL_ITEM)
Date: Billing Date: (VBRK-FKDAT) -- (0BILL_DATE)
Key field: Net price (VBRP-NETWR) -- 0NETVAL_INV
I want to combine above cubes. If I combine, Will I get correct data??????
Points will be assigned to every useful answer -
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]) -
How to Change Fiscal year in Consolidation
HI all,
How to change Fiscal year in consolidation...iam posting the documents.... not showing any valuues in consolidation report only shwoing documents nos only ... bcoz its whoing 2007 fiscal year....
regards
JKhi
go to OKKP
here select the controlling area then click on Activate components/control indicators
here u have to do following entries
Cost Centers act
Order Management act
Commit. Management act
ProfitAnalysis not act
Acty-Based Costing not act
plz consult a FI guy for this
regards
KI -
How to open Fiscal year in Asset Accounting ( AJRW )
HI
how to open fiscal year in Asset Accounting (AJRW), if i open it how to check.
Thank you.Hi Anil,
To open fiscal year use AJRW. use T-Code OAAQ to check the same
prasanna -
How do I change the start date for the week from Monday to Sunday on my iPhone 5?
How do I change the start date for the week on iCal from Monday to Sunday on my iPhone5?
Yes. On my new iPhone 5 the iCal week begins on a Monday not a Sunday and does not give me the option to edit in settings on the phone
-
Org Management - How can I change the start date of all the org units
How can I change the start date of all the org unit objects and its relationships at one shot ? I have created some 100 Org units with the wrong start date. Please suggest.
Thanks in advance..
Cheers
VijayHello Archana,
Thanks a lot... This has solved my issue...
Cheers
Vijay -
How to find the Contract Start date
Hi Friends,
with the help of the Transaction type, Item Category,reference Interest rate, how to find the Contract Start date/Billing Strat date and the Contract number.
Regards,
Raju.Hi
naj you can find the contract start date and billing date in crmd_order Financial details data tab, start of contract and Billing and the contract no u will find after Approval of Eligibility Norms, then save go to actions create certificate of acceptance the you will get contract number
Reward with Points
Venkat -
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,
AngelHi 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 -
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 -
How to get Current Quarter and Fiscal Quarter for a Date - Fiscal Year starts from 1st April
Hi,
I need to calculate current quarter and fiscal quarter in my Sql query.
I have a column for DateTime Datatype.
I need to find out Current Quarter Name like Q12012, Q22012, Q32012, Q42012 and Fiscal Quarter Name as well.
Now Fiacal Year starts from 1st April, and Current Quarter starts from 1st Jan.
For Current Quarter of 2012
Jan-Mar = Q12012
Apr-Jun = Q22012
Jul-Sep = Q32012
Oct-Dec = Q42012
For Fiscal Quarter of 2012 ( starts from 1st Apr, 2011 )
Apr2011-Jun2011 = Q12012
Jul2011-Sep2011 = Q22012
Oct2011-Dec2011 = Q32012
Jan2011-Mar2012 = Q42012
means if its 1st April, 2012,
its a new Fiacal Year 2013 so Fiacal Quarter Name should be Q12013
and its Current Quarter Name should be Q22012
Can you help me to calculate this in a select query for given dates?
Thanks in advance,
NiravThis should do it..
Select
FORMAT(datepart(quarter,getdate()),'Q#')+FORMAT(getdate(),'yyyy') -
HOW TO GET FISCAL PERIOD WISE DATA BY GIVING FISCAL YEAR AS INPUT
Hi All,
I am creating a report where input field is FiscYear(0FISCYEAR). My fiscal year is Oct to Sep and 4 spl periods.
If we give input as 2014 (current FY) it has to show all fiscal periods as on date. i.e., Oct’13 to Feb’14. Which should show in columns each period
separately, like Oct 13, Nov’13, …. Feb’14.
If we give 2013, it has to show all fiscal periods separately each period in columns. i.e., Oct’12 to Sep’13.
InfoProvider Data: We have a cube, containing data for 0CALMONTH and Fiscal Year. No fiscperiod in the cube.
Could any one assist here as it’s a bit odd scenario never come across. All your suggestions and assistance are highly appreciable.
Best Regards
Venkat...Hi Anshu,
I am getting the below error when I try to execute in Analyser.
"No value could be determined for variable". Here is my code in CMOD.
*Variables for ESAS Project
DATA: curr_yy TYPE /BI0/OICALYEAR,
input_yy TYPE /BI0/OICALYEAR,
prev_yy TYPE /BI0/OICALYEAR,
zmonth(2) TYPE N.
WHEN 'ZCALMONTH_ESAS'.
IF i_step = 2. "tried with i_step 1 also, same error message is showing
READ TABLE i_t_var_range INTO loc_var_range
WITH KEY vnam = 'ZFISCYEAR_ESAS'.
IF sy-subrc EQ 0.
curr_yy = loc_var_range.
prev_yy = curr_yy - 1.
zmonth = SY-DATUM+4(2).
IF SY-DATUM+0(4) = curr_yy.
CONCATENATE prev_yy '10' into l_s_range-low.
CONCATENATE curr_yy month into l_s_range-high.
ELSEIF prev_yy EQ loc_var_range.
input_yy = loc_var_range.
prev_yy = input_yy - 1.
CONCATENATE prev_yy '10' INTO l_s_range-low.
CONCATENATE input_yy '09' INTO l_s_range-high.
ENDIF.
l_s_range-opt = 'BT'.
l_s_range-sign = 'I'.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDIF.
Everything is fine in CMOD. However, its giving error in execution. Any idea on this pls...
Best Regards
Venkat... -
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,
Maybe you are looking for
-
================================== PERFORM get_spool_number USING sy-repid sy-uname CHANGING mi_rqident. ===================================== FORM get_spool_number USING f_repid f_uname CHANGING f_rqident. DATA:
-
ISeries Views not in ODBC List
Post Author: Stephen_Piland CA Forum: Data Connectivity and SQL I can see all of Tables and Indexes (PF/LF), but I created a SQL View that I can use in Access thru the same ODBC connection. I don't see it when using CR (9 sp2). Iseries is V5R3. An
-
Cisco WCS Map Editor- Any suggestions???
Does anyone here on the forum have any suggestions to make the Map Editor function in Cisco's WCS easier to navigate?? I have been trying to set the "light walls" on the floor plan I uploaded and it keeps coming out a mess. Also, when I am done add
-
Hey So I left my Ipad 2 on charge and it was working absolutely fine. Later on when I came in the room to check up on it, it had a blank screen and the Ipad was lit in the background as it was giving off the dark blue light but nothing on the screen
-
Hi guru's i am learning help me
hi guru's i am learning ALE/IDOCS why we use this topic explain to me like real time why we use idocs concept plz help me