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

Similar Messages

  • Can we only year value from "0FISCPER" (Fiscal Year/Period) at BEx level

    Hi all,
    I have two time characteristics "0FISCYEAR" (Fiscal Year) and "0FISCPER" (Fiscal Year/Period). In DSO initially "0FISCPER" was there and later request came to add "0FISCYEAR". Now data in char. "0FISCPER" is since beginning (from 2000) and for char. "0FISCYEAR" is since 2010.
    User's requirement is to create a report which will display data Year wise.
    My issue is if i am using "0FISCYEAR" then user is not able to see year instead it shows #. I dont want to do data reloading as this is GL data and hold huge no. of records in it.
    So my concern is : Is there any way to use only year value from "0FISCPER" (Fiscal Year/Period) at BEx level? Is there any setting which I can apply and get the same value of Year as I can see from "0FISCYEAR". Please assist me on this.
    Thanks,
    Arvind

    Hi Arvind,
    Your requirement can be realised through virtual characteristics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04be008-86cc-2c10-4bad-e517ea3f4c80?QuickLink=index&…
    however, I would still suggest to reload the data. you will only need to reload years before 2010 and you can do this in phases.
    Hope this helps.
    -Swati.

  • 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

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

  • 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

  • '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)

  • 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

  • ABAP routine for DTP fiscal year/period filter

    Hi All,
    Delta loads are which not possible for when the transformation source is an InfoSet.  To limit the data in these loads, currently a filter is set in the DTPs on fiscal year/period so only load the current month and 2 prior months are loaded.  This filter has to be updated each month for each of the DTPs manually.  To eliminate this monthly task a dynamic filter (routine) needs should be used rather than a static filter. Can anybody help me in providing the logic
    Regards
    Siri

    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = give field name .
         Data : Year(4) type n,
                   period1(2) type n.
                   period2(2)type n.
    Currper = sy-datum+4(2) .
    period1 = currper-1 .
    period2 = currper-2.
    year = sy-datum+0(4).
    concatenate  year currper to P1.
    concatenate  year period1 to P2. // define P1 , P2 , P3 as 0fiscper .
    concatenate  year period2 to P3.
    l_t_range-sign = 'I'.
    l_t_range-option = 'BT'.
    l_t_range-low =  P3.
    l_t_range-high=  P1.

  • Issue with Fiscal Year period - Variable

    Hello,
    I have requirement where I have two fiscal year variables selections available for the users. Both are independent to each other. FOR EX: A & B
    1ST Fiscal year period is straightforward. It is a single variable selection where User enters the fiscal year period then the Key figures data will be available to the user for that particular fiscal year what is selected in the variable screen.
    For ex: If user enters 01.2007 then the values will be only for that particular month/period
    However, the 2nd Fiscal year period user wants a Range (From and to). This is also a Single selection variable. Here user enters only TO value, which it should go and get the lower value from first variable screen and then it should take the higher value from the 2nd Variable screen and should calculate the result as a range.
    How this can be sorted? Can someone please help me to sort this Issue? If we need a customer exit, can you please give me some sample code?
    Thanks in advance
    Harish

    Hi,
    Create 3 variable
    One for from variable which will user input ZVAR1
    2nd to variable will be user input              ZVAR2
    3rd variable be variable exit type              ZVAR3
    In exit populate the VAR3 by reading the two user input variable.
    and use the option
    Try this:
    <b> when 'ZVAR3.
          if i_step = 2.
            read table I_T_VAR_RANGE into z_t_var_range
                            with key VNAM = 'VAR1'.
            read table I_T_VAR_RANGE into z_t_var_range1
                            with key VNAM = 'VAR2'.
                 ZE_T_RANGE-SIGN    = 'I'.
                 ZE_T_RANGE-OPT     = 'BT'.
                 ZE_T_RANGE-LOW     =  z_t_var_range-LOW
                 ZE_T_RANGE-HIGH     =  z_t_var_range1-LOW
                 APPEND ZE_T_RANGE TO E_T_RANGE.
                 clear ZE_T_RANGE.
          ENDIF.</b>
    Thanks,
    Debasish

  • Text variable for Fiscal year/period

    Hi gurus,
    We are on BI 7.0 (PL 15). In G/L i am using the standard 0FISCPER text variable 0T_FPERF in the columns, which should e.g. produce the text "04.2008".
    However instead it displays "4  .0800". Adding Fiscal year/period 0FISCPER to drilldown shows a correct format in the rows "APR.2008", so the problem seems to be only with the text variables.
    I have checked on a reference 7.0 system where the same variable is working fine, so i assume that some fix must be available. Any hints as to what should be performed to correct this display error?
    Points will be rewarded.
    BR
    Morten

    Hello Jamspam,
    I had a similiar problem with indicators in BEX. I had an numerical indicator that displays me value in a very weird way.
    My solution was to upgrade my frontend, with SAP Business Explorer patch.
    Have you got the latest BEX patch (or others) on your frontend? No guarantees that will solve your case, but for me it worked
    Regards,
    Bruno

Maybe you are looking for