Fiscal year period quarter in purchasing cube

*Dear friends,*
*I want to make one query on the basis of fiscal year  Qurterly . So please what is infobject in purchasing data cube is useful for making this query. Please guide me*
*Thanks and Regards*
*Anil*

Hi,
due to the fact that you dont want to use the quarter of the calendar year, you should build up an appropriate one and add it to the cube. Also you should fill it by formula or routine.

Similar Messages

  • 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

  • Variable for Fiscal Year Period in cube "0ECCS_C01" - Urgent

    Hi all,
    I have created a query based on cube "0ECCS_C01". I have restriced the characterstic " Fiscal Year Period" on  "Period/Fiscal Year (Single Value Entry, Required)" variable. Output of the query are just 2 numbers : sum of "cumulative value GC" and sum of "period value gc" for given period. This query is working fine in query designer. The variable takes input in following form "001.2008". I have checked that in analyzer that the 'key' value of the variable is in this format "001.2008".
    Now in VC , when i place "001.2008" in start point coding for fiscal year, it is giving error. Can any one please tell me that why it is throwing an error.I have given the same format as i gave in query designer. or shud i give period in some other format??
    Please respond.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi,
    can you give us further information about the data type in the cube resp. the infoobject, which is used in the cube for the fiscal year/period?
    Maybe you can try 0002008. Can you check which values you can enter when you execute the query in the web, so that the value helps for the variable comes up?
    Best Regards
    Marcel

  • Q1: Secondary Index. Q2: Fiscal Year /Period

    Hi gurus,
    I have two questions need your explain:
    Q1: To improve the query performance I am going to create some secondary indexes on an ODS, I am wondering whether this action will remove the data from the ODS therefore I have to reset the data loading process and if these indexes can be maintained while data loading automatically ?
    Q2: About fiscal year /period which technical name is 0fiscper. we know in sales order header, item also purchase order and billing ODS or CUBEs, FY/Period are existed in those models. but there are still some other dates e.g. delivery date, goods issue date, goods recieve date, document date, posting date and so on. So which date is used to generate FY/Period ?
    Thanks in advance
    Edited by: Leon Ouyang on Dec 3, 2008 4:27 PM
    Edited by: Leon Ouyang on Dec 4, 2008 1:26 AM

    Hi,
    1)The creation of index have no effect on the data stored and you need not delete or relaod the data.
    System will adjust the index with every data load to the DSO automatically.
    2)Fiscal year period depeneds upon the module from which you are using the data and you can tweak the logic for this suit your need.
    If the data source is providing the fiscal period values then well and good.
    If not then generally its mapped to those dates which are driving date of the query or the date which is going to be used by the user for the input selections in the report.
    for example if you want sales based on the posting date in the reports and user just wnt sale till month and not date then.......you map posting date to fiscal period in the transformation and use them in the reporting.
    This can vary too...there is no hard fast rule for what date it should be mapped...and it all depends upon the reporting requirement
    The good design practise is to fill it with the same date which is filling calday and calmonth objects.This will keep granuarlty as same...but if you want some other selection in the report then you can map calday to some other date and fiscal period to some thing else.
    Ajeet

  • Fiscal Year / Periods does not show properly in WebI and compunding

    Hi,
    I have few reports where I am using Fiscal Year /Period as filter.
    I have created a Universe on the top of a SAP BI Query and did not do any customization.
    Then I created a WebI report. In this report I created various filters beside Fiscal Year / Period. When I run report, filter window opens. I can select all other filters but when it comes to Fiscal Year / Period it does not show me the values I want to see. It shows AUG 0001, APR 0025 etc. I want to see AUG 2010, MAR 2009 etc so that I can select them and get the data of the required Fiscal Year / Period. In Cube I have the required data. If I select MAR 0010 etc I donu2019t get any data.
    On the other hand if I put fiscal Year / Period in columns or rows it shows the right value.
    If also run SAP BI Query and Fiscal Year / Period in Variable then on variable screen I can see the right value from where I can select and get the required result.
    Do I have to do any step at Universe level or something else?
    It seems that Fiscal Year / Period is compounding.
    Is there any help?
    Thanks
    Bashir Awan

    Ingo,
    for thanks for igniting my thoughts in this regards.
    Yes these values do exist in SAP BW.
    It is some how compunding the values at filter level.
    It does not let me see the whole value when filter screen popup in BOBJ.
    In SAP whole value shows when variable screen popup, I see three columns Fiscal Year / Period. Text, Posting Period Key, and Posting Year Key.
    Fiscal year / Period Text which shows Aug 2009, Posting Period Key which shows our period 1 to 16, and Fiscal year key which shows 2009 etc.
    Is there any setting in BOBJ which compunds the year for variable screen so that we may see the whole values for filters?
    thanks

  • 'Fiscal year period not expected error in BI 7.0

    Hi Guys,
    When I am loading data into Target(DSO, CUBE) It gives a error 'Fiscal year period not expected'. I got same error when I am loading into any target. Source is ECC 6.0 and Target is BI 7.0.  I am extracting the data from FI/CO module. Could you pls help on this.
    Warm Regards,
    G N

    Is that error 'Fiscal year period not expected' or 'Fiscal year variant K4 not expected'
    If it is 'Fiscal year variant K4 not expected', then try the following
    In BI, select source System --> Transfer Global Settings       (OR)
    In transfer rules, select filed '0FISCVARNT' ---click on 'Tp' .... select radio button 'Constant' and enter K4..save & activate.                   (OR)
    in ECC -- SE16--> check wether table T009 has value K4..If not enter new value (K4)

  • Custome variable exit for fiscal year/period

    Hello BW Gurus,
    Q1[1,2,3] Q2[4,5,6] Q3[7,8,9] Q4[10,11,12] quarterly periods
    I have a custom variable exit as shown for fiscal year period
           IF LOC_VAR_RANGE-LOW+4(3) =< '003'.
              L_S_RANGE-LOW+4(3) = '001'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '003' AND
                                              LOC_VAR_RANGE-LOW+4(3) =<'006'.
              L_S_RANGE-LOW+4(3) = '004'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '006' AND
                                                LOC_VAR_RANGE-LOW+4(3) =< '009'.
              L_S_RANGE-LOW+4(3) = '007'.
           ELSE.
              L_S_RANGE-LOW+4(3) = '010'.
           ENDIF.
    Now this works fine to give me the Current Quarter ....say if user puts 005/2007 i get the data Current quarter as [4+ 5] i.e. April and MAy data. Now for <b>Previous Period</b> I gave an offset as -3 to -1 inorder to get data for Q1[123] but the requirement is changed and I want the same time period i.e. [1+2] and not the entire quarter since the Current Quarter calculates only for 4 and 5.
    I hope u are getting my point....please give your suggestions will reciprocate with lots of points

    Hi gaurav,
    Basically If I am selecting period 005 I am getting the data for 4 and 5 as Current Quarter i.e. April is the starting period of that Q2.
    Similarly the previous Quarter should also give me data for period 1 and period 2.
    Right now the offset I gave is -3 to -1 on my custom variable so i am getting data for the entire previous quarter which is Q1[1,2,3] but in reality i just want data for period 1and period 2.
    Can you please help me in this
    Appreciate your concern
    Thanks

  • BSC:  Display values for Fiscal Year/Period

    Hi all,
        We are trying to create a small test scenario to know about balance score card. We have a cube which has Actual and Plan data in one KF diffentiated based on Value type character. Time character is fiscal year/period.
    We want to display a graph which displays actual and plan for fiscal year/period wise. But when we execute the score card it shows the total year's plan and actual for the individual fiscal year/period. But ideally it should display actual and plan for the respective fiscal year/period.
    we have created two value field in the measures of score card. and formula a/b (Plan / Actual ) is used.
    Please guide us in solving the problem.
    Regards,
    PM

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    Do you have Fiscal Year Period in the Rows of your BW Report? If not, please try that.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Web Report not printing the fiscal year period variable value

    Hi,
    In web report where in one text element, we enabled the fiscal year period variable value to display
    in the report result.
    If we run the report then this fiscal year period is displaying in the general information.
    We have print button (Java Code),  where user can take a printout of the same report.
    In the printout this Fiscal year period is NOT PRINTING, other variables like rollup time, technical name of report etc are printing perfectly.
    It is required to print the fiscal period also in the print out of the report.
    Any help to come out of this.....
    Thanks
    Srinivas

    Hi
    Any Help.....
    Srini

  • FM for month and year to Fiscal year period

    Hello ABAP Experts,
    Please suggest a FM to convert month+year to fiscal year period.
    Suggestions appreciated.
    Thanks in advance,
    BWer

    use the function moduleGM_GET_FISCAL_YEAR
    pass date and fiscal year variant as 24..
    see all the values of the fiscal year variant in the table T009
    Check with fm FI_PERIOD_DETERMINE
    Thanks
    Seshu

  • Formula to calculate two fiscal year/period difference for non null quantit

    We'd like to have a query result like the following:
    Person -- Jan_2007 -- Feb_2007 -- Mar_2007  --  No. of Months
    Tom --- 21 --- 54 --- 10 --- 2
    John --- 0 ---  3 --- 15 --- 1  
    In the above query, the row is sales persons, the 1st three columns list the sales quantity by each sales person restricted by fiscal year/period and we would like to create 4th column "No. of Months" to calculate (will use formula) the month span (difference) for each sales person from his last sale activity (the last month he performed sales) and the 1st sale activity (the first month he performed sales) as listed in the above query result, e.g.,  Tom performed his first sales (sales quantity: 21) in the month of January of year 2007, and he performed his last sales (sales quantity of 10) in the month of March, 2007, then the "No. of Months" column value for Tom is 2.  The calculation formula will be performed based on the last quantity value (> 0) to trace it's corresponding column fiscal year/period value (max of the fiscal year/period value with quantity value >0) and on the 1st quantity value (>0) to trace it's corresonding column fiscal year/period value (min of the fiscal year/period value with quantity value >0) and then do the subtraction between the max of the fiscal year/period value and the min one. 
    Would be appreciated if BEx experts here give the detailed steps on how to build up this formula to calculate the number of month difference and we will give you reward points!
    Edited by: Kevin Smith on Mar 18, 2008 1:47 PM

    hi Danny,
    I only gave an example of 3 columns, but actually, yes, the report can have more than 12 months, e.g. from Jan_1999, Feb_1999, ..., Mar_2011, Apr_2011.
    In our simple example of 3 columns for the three consecutive months, if John had (3)(0)(15), then the No. of Months is 2, or the last month value he performed sales and 1st month he performed sales.
    You said macro in Excel sheet?  Not sure if macro will work on web since we will eventually run the reports on web browser, therefore we still prefer using Formula.
    Any idea/solution?
    Thanks!

  • 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.
    Regards

    Hi,
    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,

  • Error while entering the Fiscal Year/Period Variable

    I keep getting the following error message when I try to input or select the Variable on the report that has been executed on the Portal. Everything is fine when done through Bex.
    <b> Please enter value in permitted format for variable Fiscal Year/Period (Selection Options, Optional).
    Entry needs template  ___/____
    For characteristic , enter value in a permitted format</b>
    Would anybody have any clue as to why?? It does have the Fiscal year Variant.
    Thanks

    This is fxed in BI JAVA SPS 12 Patch 2. Not sure whether there is any OSS notes for earlier SPS.

  • Issue with Fiscal Year Period in Custom Extractor

    We have a custom extractor that pulls posting period (PERIO) and Fiscal Year (GJHAR)...once we move it to BW we do a concatenate in the transfer rules to get Fiscal Year / Period.  Before we did the ERP Upgrade the concatenate worked and then  after the Upgrade it stopped working.  I have checked RSA3 and the extractor is not pulling the fields any differently then before.  I have also tested the same concatenate in our development system and it is working.  Does anyone have any idea what might be happening? 
    Before we were getting data that looked like 2008001 and now thet data is saying 8  1200.
    We also have another custom extractor that does the exact same thing and it is working!
    We are stumped....can anyone assist?
    Thanks!
    Caroline

    I dont understand why you had to extract period and year?
    Can you pl explain. Do you have other fields in the extractor, if so what are they?
    Can you paste your code here to look at.
    Ravi Thothadri

  • Up to the period : Fiscal year period Exit variable is not working

    Hi Experts,
    I have the following code to get the upto the Fiscal year period variable .It shoudl fetch the Values  From the starting of the Fiscal period like 2009001 whatever the  period user enters.But currnelty it is not woking.Please let me know am I doing any mistake in code.currently it is only fetching for the month user enters not up to the period.
    Prasad
    Variable Name : ZUPTOPER
    User Entry  Var : 0P_FPER
    WHEN 'ZUPTOPER'.
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = '0P_FPER'.
            fper = loc_var_range-low.
            fper+4(3) = '001'.
            CLEAR l_s_range.
            l_s_range-low      = fper.
            l_s_range-high     = loc_var_range-low.
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'BT'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.

    Hi Prasad,
    This would be happening if you have put the user entry variable in the global filter of your query.
    As a result the complete data set is restrcted to get the data only for one month.
    Please use the variable for user entry month in a selection and not globally.
    -Vikram

Maybe you are looking for