Calendar year quarter

dear all,
any function module in bw which returns me the calendar year quarter for 0CALQUART1 and 0CALQUARTER.
while we on the data subject, what does 0FISCVARNT do? thanks.

Hello Amit,
thanks for replying once again.
i dont want current or previous quarter... nothing wanting to write my own routine, is there any function module in sap which e.g. throws in a date 21/02/2001 and it returns me the quarter.

Similar Messages

  • Customer Exit  for Calendar year/Quarter

    Hi Experts,
    I had a scenario as I had a Time char 0Calquarter.  Based on this I need to derive the current quarter headcount and Pervious year same quarter headcount.  To get the headcount I defined a counter constant '1' for each employee at cube level.
    In a Query
    a)  Assign a system date to 0Calquarter variable in query.
    b) If the variable is blank till current quarter the headcount need to display and same as previous quarter headcount.
    c) If the user enters any value (say 20083) tht quarter current headcount and pervious year quarter(20073) headcount.
    For the above scenarios I need to write customer exit. 
    Thanks,

    Hi Shanthi,
    Thanks for u r reply.
    Headcount is defined as 'constant'.  when Z_COUNT Keyfigure is dran & droped in rows it'll cumulate and display the current headcount.
    hope u understand the headcount.
    I require the cmod logic.
    Thanks

  • Calender year quarter

    dear all,
    i would like to get year quater from my 0fiscper... is there anyway to do that?

    Hi,
    You can write a simple code with the help of "if..elseif...".
    For eg.g.
    V_fiscper = 2010001
    If v_fiscper+4(3) = '1' or
       v_fiscper+4(3) = '2' or
       v_fiscper+4(3) = '3'.
    v_qrt = 2. (Calendar year quarter).
    elseif v_fiscper+4(3) = '4' or
       v_fiscper+4(3) = '5' or
       v_fiscper+4(3) = '6'.
    v_qrt = 3.
    and so on...
    Hope this willl help.
    - Jaimin

  • "non assigned" value for Calender year quarter not possible

    All of us know that we can not assign "#" value to calender year quarter.
    In my planning level (which is a part of multi planning area consinsting 2 cubes, Actual COPA cube and Plan COPA cube), I want to copy data from Actual copa cube to plan copa cube using planning function of formula type, but actual copa cube is not getting populated against calyear quarter.
    I want to retain calyearquarter as a characteristic in my level as it is acting as a key to  my plan data. What shoould be done in such a scenario?

    santoshkumar,
    I would suggest you build a characateristic relationship exit on calendar year quarter, probably based on fiscal year period or 0calmonth..  Make sure you leave Calendar year quarter out of your planning level in the copy so it would derive it.
    Hope this helps,
    Mary.

  • Quarter Variable from Calendar Year/month

    Hi,
    Does anybody know how to get the quarter value from a selected calendar year/month (0calmonth) entered in the selection screen? Is there any standard variable for that? I don't want current quarter but the quarter that will come from the entered 0calmonth.
    Thanks,

    you need to do it thru a customer exit to derive the cal quarter. I dont think there is any delivered varaible for that. We did it thru a exit though.
    If you have the luxury of adding a char in the cube, you can derive it at cube level too.

  • Formula for calculating Quarter value in current calendar Year

    Hi All,
    I have a requirement where in i need to display values for Q1 of Current Calendar Year, Q1 of Previous Calendar Year,Variance in Value and % Variance in Value...Similarly for Q2,Q3,Q4.
    We have built the report directly from Bex Query from the SAP tab in Crystal Reports. The formula for Quarter1,Variances etc are defined in Bex Structures and i am unable to get 'em individually here rather i am getting them as a whole in a single object with the structure name. Now is there a way that i can define my own formula in Crystal Reports so that i can get the values for the constraints defined above???
    If yes please give me the syntax or an example formula so that i can work around.
    please Help,
    Thanks & regards,
    R.N

    What fields are you getting?
    or what is the data you are working with is it
    transID, date, value......
    or is it
    Q1, Year1, Value.......

  • Calendar Year & Fiscal Year

    Hi All
    I have a table which contains a calendar period and fiscal period. I want to use one table only, no alias to bring back all the periods in the current calendar year e.g 200701 which is January to 200712 which is December and also to bring back all periods from the current fiscal year e.g. 2007/08-01 which is April 2007 to 2007/08-12 which is March 2009 so my result set should look something like below
    Calendar Period Calendar Month Fiscal Period Fiscal Month
    200701          January 2007/08-01     April
    200702          February 2007/08-02     May
    200703          March 2007/08-03     June
    200704          April 2007/08-04     July
    200705          May     2007/08-05     August
    200706          June      2007/08-06     Spetember
    200707          July 2007/08-07 October
    200708          August     2007/08-08     November
    200709          September 2007/08-09 December
    200710          October     2007/08-10     January
    200711          November 2007/08-11     March
    200712          December 2007/08-12     April
    Can I restrict one table to bring back both of these?

    Below is what i am using at the moment for testing before i create the table. A table has not yet been created for this yet but this is the format I was told is needed
    select
    '200701' as period, '200701' as quarter, 'January' as month, '2006/07-10' as fiscal_period, '2006/07-04' as fiscal_quarter
    from dual
    UNION
    select
    '200702' as period, '200701' as quarter, 'February' as month, '2006/07-11' as fiscal_period, '2006/07-04' as fiscal_quarter
    from dual
    UNION
    select
    '200703' as period, '200701' as quarter, 'March' as month, '2006/07-12' as fiscal_period, '2006/07-04' as fiscal_quarter
    from dual
    UNION
    select
    '200704' as period, '200702' as quarter, 'April' as month, '2007/08-01' as fiscal_period, '2007/08-01' as fiscal_quarter
    from dual
    UNION
    select
    '200705' as period, '200702' as quarter, 'May' as month, '2007/08-02' as fiscal_period, '2007/08-01' as fiscal_quarter
    from dual
    UNION
    select
    '200706' as period, '200702' as quarter, 'June' as month, '2007/08-03' as fiscal_period, '2007/08-01' as fiscal_quarter
    from dual
    UNION
    select
    '200707' as period, '200703' as quarter, 'July' as month, '2007/08-04' as fiscal_period, '2007/08-02' as fiscal_quarter
    from dual
    UNION
    select
    '200708' as period, '200703' as quarter, 'August' as month, '2007/08-05' as fiscal_period, '2007/08-02' as fiscal_quarter
    from dual
    UNION
    select
    '200709' as period, '200703' as quarter, 'September' as month, '2007/08-06' as fiscal_period, '2007/08-02' as fiscal_quarter
    from dual
    UNION
    select
    '200710' as period, '200704' as quarter, 'October' as month, '2007/08-07' as fiscal_period, '2007/08-03' as fiscal_quarter
    from dual
    UNION
    select
    '200711' as period, '200704' as quarter, 'November' as month, '2007/08-08' as fiscal_period, '2007/08-03' as fiscal_quarter
    from dual
    UNION
    select
    '200712' as period, '200704' as quarter, 'December' as month, '2007/08-09' as fiscal_period, '2007/08-03' as fiscal_quarter
    from dual
    union
    select
    '200801' as period, '200801' as quarter, 'January' as month, '2007/08-10' as fiscal_period, '2007/08-04' as fiscal_quarter
    from dual
    UNION
    select
    '200802' as period, '200801' as quarter, 'February' as month, '2007/08-11' as fiscal_period, '2007/08-04' as fiscal_quarter
    from dual
    UNION
    select
    '200803' as period, '200801' as quarter, 'March' as month, '2007/08-12' as fiscal_period, '2007/08-04' as fiscal_quarter
    from dual
    UNION
    select
    '200804' as period, '200802' as quarter, 'April' as month, '2008/09-01' as fiscal_period, '2008/09-01' as fiscal_quarter
    from dual
    UNION
    select
    '200805' as period, '200802' as quarter, 'May' as month, '2008/09-02' as fiscal_period, '2008/09-01' as fiscal_quarter
    from dual
    UNION
    select
    '200806' as period, '200802' as quarter, 'June' as month, '2008/09-03' as fiscal_period, '2008/09-01' as fiscal_quarter
    from dual
    UNION
    select
    '200807' as period, '200803' as quarter, 'July' as month, '2008/09-04' as fiscal_period, '2008/09-02' as fiscal_quarter
    from dual
    UNION
    select
    '200808' as period, '200803' as quarter, 'August' as month, '2008/09-05' as fiscal_period, '2008/09-02' as fiscal_quarter
    from dual
    UNION
    select
    '200809' as period, '200803' as quarter, 'September' as month, '2008/09-06' as fiscal_period, '2008/09-02' as fiscal_quarter
    from dual
    UNION
    select
    '200810' as period, '200804' as quarter, 'October' as month, '2008/09-07' as fiscal_period, '2008/09-03' as fiscal_quarter
    from dual
    UNION
    select
    '200811' as period, '200804' as quarter, 'November' as month, '2008/09-08' as fiscal_period, '2008/09-03' as fiscal_quarter
    from dual

  • Fiscal year variant AM is not maintained for calendar year 2008

    Hi All,
    I want to have a different fiscal year variant for asset accounting do to the company go live will be at the third quarter of the year we want to use a shortened fiscal year variant.
    I've already create a fiscal year variant called 'AM' for year 2008 and it is a shortened year-depent variant. Next step is to assign this year variant to the company code in this customizing path
    spro>Financial Accounting>Asset Accounting>Valuation>Fiscal Year>Fiscal Year Variants>Specify other versions on company code level
    When I try to set this and press save button this message is displayed
    "Fiscal year variant AM is not maintained for calendar year 2008"
    Do you know why is displayed this message? Am I missing any customizing step?.
    Many thanks.

    Hi Suresh Upadhyayula ,
    In fact it appears in the proposed value when I press F4. When I press save button this message appears.
    I mean that in this path
    IMG>Financial Accounting>Asset Accounting>Valuation>Fiscal Year>Fiscal Year Variants>Specify other versions on company code level
    You can assign a diferent fiscal year variant to the company code at AA level keeping the one that you have in global paramenters at GL level. We are cosidering this solution due to we want to depreciate the assets in a shortened fiscal year variant at AA level.
    Many thanks.

  • Logic to update Calendar Month & Calendar Year

    hi experts i have to update calender month & calender year my requirement is like below:
    1 - 4 weeks are of 1st Month , 5 u2013 8 weeks are of 2nd Month , 9 u2013 13 weeks are of 3rd Month and 1 u2013 13 weeks are of 1st  Quarter.
         Rep Week C     Valid From     Valid To     Reporting     Fiscal Qua     Calendar y     Calendar m     Quarter
         201008     12.02.2010     18.02.2010     8     1     2010     2     1
         201009     19.02.2010     25.02.2010     9     1     2010     3     1
         201010     26.02.2010     04.03.2010     10     1     2010     3     1
         201011     05.03.2010     11.03.2010     11     1     2010     3     1
    this changes i have to done in t-code  SCAL. so please let me know how to update this, give me step by step procedure.
    Thannks in advance
    BHARATI.

    Hi ,
    If you do not have a datasource...
      First step : you need to create a datasource for the required fields,
      go the relevent fields in r/3 , like cal week ,etc where u have made the changes ,
      press F1,in the technical information, you will find the information of the relevant tables fom which u can create the    datasource.create a datasource through t-code RSO2 .
    Replicate the same in BW .
    For Quarter (last field in your data) , a field routine can be written where you can write a code as:
    If Calweek4(2)<=13 and Calweek4(2)>0.
    Result = 1.
    Elseif Calweek4(2)<=26 and Calweek4(2)>13.
    Result= 2 and so on till quarter 4 .
    For Calyear  , u can use 0calyear field directly and map it to calweek field from source
    or in the field routine of Calyear write code: result = source_field-Calweek+4.
    for fiscquarter also , try using a 0calquarter field provide by SAP or
    in field routine of FiscalQuarter write result= source_field-Calweek+4(2)

  • Quota credit on 1st of calendar year for existing employees and for new joinees on prorata basis

    Dear All,
    we are having an issue in quota generation, where casual leave quota should get credited on 1st of every calendar year and for mid month joiners on prorate basis. If we select calendar year it is crediting on 31st of calendar year, but we need it to be credited on 1st  of January and also checking the prorate condition for new joiners.
    So please guide on whether it is possible through standard or any work around solution. If so how can it be achieved.
    Thanks
    Vijaya

    Hi,
    check this one prorate basis -
    http://scn.sap.com/docs/DOC-52928
    for you quota on 1st day of calender year, check the settings in the table V_T559L
    - Validity/deduction interval
    - Validity period for default values
    Best Regards.

  • Absence Quota Generation begining of Calendar Year

    Hello Experts,
    Although the said requirment has been already posted in SDN, could not see any solution for this from the threads.
    I have a requirment to Generate Absence Quota i.e Annual Leave at the begining of the year, precisely when i run Time Evaluation on 01.01.2011 system should generate the Quota in advance for the Calenday year.
    I could generate via Report RPTQTA00 but the same is not happening in TE, even i tried with all Accrual options like Calendar Year, Monthly, Payroll Period, Base Period etc but system picking only the last day of the month or year.
    I am wondering if some potential solution would have released from SAP during EHP 4 and 5
    Kindly help me with your expertise
    thanks
    Gita

    Hi Vivek,
    i am facing the following senio can you please provide and document with pcr. I dint find the solution in SCN so please provide solution ASAP...
    I have one senario in TIme management ....
    Employee have 1year probation period ,but he is entiteled for taking leave after 1 year . that to leave should be accured for calender years after probation period. & henceforth it should accur per calender year.
    For Example: Employee have joined on April 2011 ,Then his leave should be accured after April2012 upto Dec 2012 & then for next year 2013 leave should accure from Jan 2013 to Dec 2013.
    Please help me to map the senario with detailed configuration steps
    Pls help me out here the requirement is immediate.

  • The old calender iOS6, in the year view, it shows how much busy I am in a day by indicating the color intensity. But the new calendar year view is totally useless!!! also too bright!! Why apple does this?? What is the way to revert the calendar back???

    The old calender iOS6, in the year view, it shows how much busy I am in a day by indicating the color intensity. But the new calendar year view is totally useless!!! also too bright!! Why apple does this?? What is the way to revert the calendar back???

    Unfortunately, that's the way the cookie crumbles nowadays. Sir Jony Ive's GUI design for iOS7 has been met with much skepticism (to say the least). But until the company sees the compelling need for an adjustment or reversal, it "ain't happenin' ". So amble over to the feedback page ( http://www.apple.com/feedback/ ) and make your displeasure known to the company, OR make it known by not purchasing its products. Because as long as the iGadgets continue selling as fast as they can make them, they will see no need for change.
    BTW, do note you are NOT talking to Apple here. This is just a user-to-user forum.
    Edit: for now, you can also try out any of the alternate calendaring apps available in the App Store.

  • Calendar day and Calendar Year/Week  mapping

    Dear SDN,
    I am unable to view Calendar Year/Week and Calendar Day ...Data..
    I have observed that they have not mapped in the Update rules of 0SD_C03 InfoCube...
    I have checked all the InfoSources (2LIS_11_VAHDR, 2LIS_11_VAITM, 2LIS_11_V_ITM, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_13_VDHDR, 2LIS_13_VDITM)...
    There in all the Update Rules...
    Update Rules -- Details -- Time Ref.---
    Time Characteristic of Fiscal Year Variant is mapped with Source fields of Fiscal Year variant
    similarly,
    Calendar Year/Month is mapped with Update Date Statistics
    But Calendar Year/Week and Calendar Day are Blanck...
    I am thinking they also should be mapped..
    Please suggest me how to resolve this...
    Help will be greatly appreciated with points..
    Thanks in advance..
    This is very urgent...

    Thanks...
    But i have already assigned my self...
    0calyear/week to Update date statistics...
    and
    0calendarday to Update date statistics..
    I have assigned points to you...
    Thanks for your informatioon

  • Unable to view the Calendar Year/Month in the Query

    Hi All,
    We are having a standard query on Customer InfoCube 0sd_c01_q0003.
    I was able to get the data. But I am unable to view the Calendar Year/month. In that place I am getting '#'.
    I am able to view the details in the InfoCube. There aren't any errors while executing the error.
    Regards
    YJ

    hi,
    U r Problem is not clear...if u r getting # for characteristic values means..u don't have data in Infoprovider...try to view data in InfoProvider with the same selections that u r executing the Query with.
    thnaks

  • Ios 7 Calendar year view lost gradient colours

    Noticed that on ios 7 the calendar year view no longer shows the gradient colours.
    This was very cool feature so you could have an overview of how busy was my agenda.
    Any idea if this is a setting that needs to be activated somewhere or is it totally gone?
    If not year view seems pretty useless...

    When you restarted the app did you quit it first?
    I would first quit the app then reset the phone.
    Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app.
    Then press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

Maybe you are looking for

  • Regarding Internal Table Manipulation

    Hi All, I have a issue when working against Internal Table inside a function module. Issue is: My I.Table declaration is as below: <b>DATA: BEGIN OF i_vbfa_tab OCCURS 0.           INCLUDE STRUCTURE vbfa. DATA: END   OF i_vbfa_tab.</b> Then in code i

  • Issue in document creation

    hi all, when i am creating a document in pm-wcm  it shows an error Message no. I4812 Update could not be completed successfully in sap kindly help me pls

  • Is a database table required for temporary interfaces with flat file data set source ?

    Folks,  this is the situation I have in ODI 11.1.1.7 I have a temporary interface (yellow), called MJ_TEMP_INT,  that pulls data from TWO data sets in the source into a temporary target (TEMP_TARG). The catch is one data set pulls from a from a table

  • How to determine the cursor record count before the "open cursor"?

    Is it possible to determine the record count of an explicit cursor without running a count()? Say, my cursor definition is something like this, CURSOR cur_vehicle IS SELECT os.order_id, os.order_item, vs.part_id vs.part_num, vs.iso_num, vs.model_yr v

  • Significance of Global_names parameter in Oracle CDC and Oracle Streams

    Hi, I am trying to implement a sample Oracle CDC example. I read in some examples that we need to set a parameter *'global_names= TRUE'*. (which means that all dblink names should be same as their respective database names) But my doubt is that what