Partitioning of cube using Fiscal period

Hai Gurus
Gud Morning
Can u tell me how to partition a cube using 0fiscper ie Fiscal Year/Period.
I am having one in this
How to give value for 0FISCVARNT.
I just need the steps to partition the cube
Please suggest me.
Awaiting all ur replies.
Thanks
mahi

Hi Mahi,
To partition the cube double click the cube this will take you to the definition of the cube. Click on the extras button at the top of the screen. you will get a dropdown, there you can see Partition option, click on that you will get another window there you all time chars select on which you want to partition and continue.
you will get another popup window there you have to give Range.
When you activate the cube fact tble will be created in DB with number of partitions corresponding to your Range.
While you do this there should be no data in the cube.
Regards
Ananth

Similar Messages

  • Using fiscal period and Fiscal quarter reporting seemlessly in a BI Query

    Hi,
    We have a very specific issue. Reporting the Fiscal Period( in our
    case we have 53 fiscal periods) and Fiscal Quarter( we have 4 quarters)
    in the same query seamlessly as we would have done using Calander Month
    and Calander quarter in other reports that uses SAP delivered standard
    time dimensions.
    However unlike the Calander time dimension (SAP provided all
    possible...0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR) where you have all of these inside your info provider, you can get
    aggregation on week, month, quarter etc in your query seamlessly, The Fiscal Year/Period offers a problem in doing report seamlessly.
    When we delve into Fiscal realm, SAP only provided with 0FISCVARNT,
    0FISCPER, 0FISCYEAR and a special period 0FISCPER3. It doesn't provide
    anything like 0FISCQUARTER etc and rightly so, because you can have
    only one 0FISCVARNT in the Time dimension and can have related periods
    (0FISCPER) only for a Row of data in your infocube. For example if you need to model as per the Fiscalweek, you can create a custom Fiscal year variant (Say z1) and can configure to have only 53 periods (Mapped to 0FISCPER) representing
    53 Fiscal WEEK. Similarly for mapping Fiscal Quarter you can create
    another fiscal year variant (Say Z2) and have only 4 periods (mapped to
    0FISCPER also in this case) to represent the 4 Fiscal Quarter. However
    the issue is that for one record you can only map either of those and
    not both since you can only have one Fiscal year variant in one row of
    data in the info provider.
    For example
    If I have two rows OF DATA coming from different sources (One FOR
    Fiscal Week and another for Fiscal Quarter) I can have the following in
    my info provider.
    1> Example data in Fiscal
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER Quantity
    X  ......  y .....10/22/07 ....Z1 ....           43’2007 .......10
    X .......  Y .....10/22/07 ....Z2 ....          Q3’2007 .......20
    The issue is how do I report the Quantity in a query in Quarter Q3 as
    (10 + 20 = 30) since both the rows corresponds to FISCAL Q3’2007?
    (Please note that Fiscal week 43’2007(For VARIANT Z1 ) actually is
    Fiscal Quarter Q3’2007( For Fiscal Variant Z2) as per our
    configuration of Fiscal Year Variant configuration Z1 and Z2)
    The same is very simple when I have infoprovider with CALENDAR Time
    dimensions , for example if we don’t have any fiscal reporting
    requirement and just report on calendar time dimension the record in
    the info provider would look like the following ( example)
    2> Example Data in CALENDAR DIMENSION
    Char1 Char2 0CALDAY 0CALWEEK 0CALQUARTER Quantity
    X ........ y .......10/22/07 .......43’2007 .......Q3’2007 .......10
    X ........Y .......10/22/07 ....... 44’2007 .......Q3’2007 .......20
    Here we can use both 0CALQUARTER and get the data aggregated on the
    quarter level in addition to the 0CALWEEK.
    To solve this issue, One option that we are thinking of Using 0CALQUARTER to represent the
    Fiscal Quarter and use Update rule to populate this one. For example
    THE example 1 can be as follows.
    1A> Example of using 0CALQUARTER along with 0FISCVARNT and 0FISCPER
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER 0CALQUARTERE Quantity
    X .......y .......10/22/07 ..............Z1 .......43’2007 .......Q3’2007 ..............10
    X .......Y .......10/22/07 ..............Z2 .......Q3’2007 .......Q3’2007 ..............20
    In this case we would populate the 0CALQUARTER by the actual Fiscal
    Quarter and then can use both as per example 2 above. But this is not a
    smooth option since we have various other info providers to join and
    report based on solely Fiscal Quarter etc…
    I am certain that this issue have already been solved by somebody as this bound to happen in any finance application.
    Would appreciate if we can get some light on this regarding the data modelling, reporting etc.
    Thanks
    Arun G.

    You have yourself suggested a solution, which is fine,
    Other option is to have a new characteristic Fiscal Qtr in all the infoproviders ans update the same using a routine in the updaterule depending on the fiscal year variant.
    for eg. for transaction with variant Z1 in one case you can say if fiscal week 01 between 01 to 13 the Fiscal Qtr should be update with1 and if it is between 14 to 26 then update fiscal qtr with 2 and so on.
    For other Variants Z2 you write a different login in the routine ans so on.
    so for all the data irrespective of the variant you will have the qtr as either 1 or 2 or 3 or 4 and you can report on this fiscal qtr.
    assign points if it helps.
    regards
    Venkata Devaraj

  • Partitioning of cube

    Gurus,
    I am extracting AR data using standard datasources in BW3.5 and would like to partition the data by creating year specific cubes. I have to store data for around 15 years so I was thinking of having cubes with data for 3 years each and report using a multiprovider. But wanted to clarify a few things -
    The data that will be coming for deltas, should that be going to the current cube or should my update rules be connected to all the cubes? What happends in case an older invoice is cleared, say from 1998 is cleared should the data be updated in 1998 cube as well as current or only in the current cube?
    The company has 16 posting periods. If I am doing logical partioning based on 0FISCPER so should that partioning be from say 001/1998-016/2001 or will it be 001/1998-012/2001.
    The company is not having fiscal variant based on calendar year, but is from April to March. Could this be a problem for me to partition the cube.
    Thanks for your help.
    Regards,
    Venkat

    Hi,
    The data that will be coming for deltas, should that be going to the current cube or should my update rules be connected to all the cubes? What happends in case an older invoice is cleared, say from 1998 is cleared should the data be updated in 1998 cube as well as current or only in the current cube?
    --> Chances of getting such old records are rare or almost ZERO.
    --> Those records supposed to load into that particular cube only. Not to current cube(2009).
    The company has 16 posting periods. If I am doing logical partioning based on 0FISCPER so should that partioning be from say 001/1998-016/2001 or will it be 001/1998-012/2001.
    The company is not having fiscal variant based on calendar year, but is from April to March. Could this be a problem for me to partition the cube.
    --> Fiscal variant required to report against fiscal poriod. To restrict at cube level.
    Loading into a multiple cubes only useful, if query contains selection and filter restriction on infocubes. Or again accessing all cubes through multiprovider(multiple joins) creates Negative performance than a single cube.
    Srini

  • Allow two fiscal periods

    I have the following situation:
    My company fiscal period now used is from Jan - Dec.
    However my HQ uses fiscal period from Apr - Mar.
    When we try to enter budget entry in Tcode 7KE1, KP06, FSE5, it only allows to process for half fiscal periods, ie Jan - June and Jul - Dec. However, I would like to maintain the figures for up to Mar the following year to meet my HQ reporting.
    Is there anyway to maintain to fiscal year variants. One main and the other for reporting purposes?
    regards
    Shakeer

    Hi Expert,
    Your company fiscal period is using Fiscal Year -  Jan - Dec - K4.
    However your HQ wants to use Fiscal Year -  Apr - Mar - V3.
    Scenario - 1:
    If you are using ECC6.0 Version, then just create one Non-Leading ledger for your HQ, which is to be assigned with Fiscal year - V3 and it leads to post the transaction parallel to the HQ Fiscal year.
    Scenario - 2:
    Use Special Purpose Ledger to use Fiscal Year - V3, which need to customize the Special Purpose ledger.
    Regards,
    GK
    SAP

  • Macro to Unlock the Cell on the start day of the Fiscal period

    Dear Experts
    We are using  fiscal periods for the forecasting.1 period = 15 days.We forecast for 24 fiscal periods.
    We only give chance to some customers to update forecast on  1 day of the fiscal period in the customer planning book .In this regard we have to lock the cell all most all the days except on 1 st day of the fiscal period.If the first of the Fiscal period is Sunday or Saturday, system should not unlock.
    We did not maintained any Time stream ID to the storage bucket profile.
    Example:
    KF1 is used by our customers to update forecast.This keyfigure should always in the unedit mode.On the first day of the Fiscal period system should unlock the keyfigure.If first day of the period is saturday or sunday then system should not unlock this keyfigure.
    Can we use calender in Macro?
    Is it possible to achieve above logic in our case since we did not maintained time stream ID in storage bucket profile.
    Please give your expertise opinion on my requirment.
    regards
    Vicky

    Hi Vicky,
    Whilst other simpler  options are given by others for locking /unlocking a KF with macros, Work around as below,  if feasible in your environment.
    Create two planning books (or with authorization at data view level, 2 data views).
    One planning book PB1 with the KF1 in  non-edit mode. This will be used normally.
    Other planning book PB2 with KF1 in edit mode.
    Create one more authorization profile/ role   for each customer user.
    Assign this additional authorization profile/ role only on specific dates as per background job to give additional authorizations.
    Otherwise, if  no. of user licenses is not an issue, then create an additional user id for each of the customer with additional authorizations and unlock these additional user accounts only on specific dates by background jobs.
    We had in one project, some additional user accounts for similar( not exactly same) requirement. This gave better traceability.
    Regards
    Datta

  • Issue creating planning query on cube partitioned by fiscal period

    I have a cube that is partitioned by fiscal period (0FISCPER).  This requires that there is a constant value for fiscal year variant (0FISCVARNT).  When I try to create an agg level on this cube 0FISCVARNT is automatically pulled into the agg level.  However, because 0FISCVARNT is set to a constant value it is not available in query designer to add into a planning query...as such, I cannot create a planning query on this cube.
    I can repartition the cube (i.e. remove the partitioning), but does anyone know of any other work arounds?
    Thanks.

    We resolved this.

  • Function module reqd for fiscal period using current date

    Hi,
    Is there any function module which gives fiscal period using current date.
    Thnaks,
    Maheedhar

    Hi Maheedhar,
    Try the code below.
    CALL FUNCTION 'GET_CURRENT_YEAR'
      EXPORTING
        BUKRS         = '1000'     " Company Code
        DATE          = SY-DATUM   " Date to find fiscal year for
      IMPORTING
        CURRM         = w_currm    " Current Fiscal Month
        CURRY         = w_curry    " Current Fiscal Year
        PREVM         = w_prevm    " Previous Fiscal Month
        PREVY         = w_prevy.   " Previous Fiscal Year
    Regards,
    Amit.

  • Using Fiscal/Year Period to get last year all months data

    Hi,
    Had a requirement to get Last Years 1-12 months data based on Fiscal/Year Period. So here i am using Fiscal/Year period as my input. Please let me know with code.
    Regards,
    Vishnu

    Hi ,
    Where you want to write code ?
    Well the basic logic will be like :
    TYPES: BEGIN OF ty_range,
    sign TYPE c LENGTH 1,
    option TYPE c LENGTH 2,
    low TYPE c LENGTH 8,
    high TYPE c LENGTH 8,
    END OF ty_range.
    DATA : t_range TYPE TABLE OF ty_range,
    w_range LIKE LINE OF t_range.
    DATA :v_lastyear type c length 4  .
    v_lastyear = sy-datum(4) - 1 .
    w_range-sign = 'I'.
    w_range-option = 'EQ'.
    concatenate  v_lastyear '001'  t into w_range-low.
    concatenate  v_lastyear '012'  t into w_range-high.
    APPEND w_range TO t_range.
    ****it will select data from source package for last one year .Internally year and period store like YYYYPPP  (2011001)
    select  SOURCE_PACKAGE WHERE 0fiscper  IN t_range.
    you can modify selection statement as per your requirement .
    hope this will be helpful .
    Regards,
    Jaya Tiwari

  • What FM to use to check on closing fiscal period?

    Hi Guys,
    Any function module to use to check on the fiscal period is closed or not?
    Thanks.

    Hi,
    Check:
    https://forums.sdn.sap.com/click.jspa?searchID=1165790&messageID=2923726
    CHECK_PERIOD_POSTINGS
    FI_PERIOD_CHECK
    Regards
    Subramanian
    Message was edited by:
            Subramanian PL

  • Using variable 0P_FPER to calculate YTD Fiscal period

    Could someone please explain the procedure for creating a variable which will use the value entered from the variable 0P_FPER - Period/Fiscal Year (Single Value Entry, Required) to calculate the YTD Fiscal Period.
    Regards,
    Craig Stephen

    You have to create a Customer Exit variable for this :
    <b>Customer Exit - > YTD from Fiscal Period</b>
    <b>Let ZVCCYTDX be the tech name of Customer Exit Variable & 0P_FPER  be the user entered variable for Fiscal Year Period.</b>
    User Exit: ZVCCYTDX
    Input: 0P_FPER
    Output: Jan of Accident Year Range
    Logic Description:
    WHEN 'ZVCCYTDX'.
    if i_step = 2.
    clear loc_var_range.
    loop at i_t_var_range into loc_var_range WHERE vnam = '0P_FPER '.
    if sy-subrc = 0.
    curr_year = loc_var_range-low(4).
    concatenate curr_year '001' into jan_accidentyear.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = jan_accidentyear.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    append l_s_range to e_t_range.
    exit.
    **endif.
    endloop.
    endif.
    **Coding is not required if you can enhance the Datatarget with Fiscal Year and Posting Period.

  • Error when using SAP Exit Variable for Current Fiscal Period (0FPER)

    Hi Friendz,
    My requirement is to execute a query for the current fiscal period. I am using the SAP Exit Variable 0FPER.
    I placed this variable on char. Fiscal year/period 0FISCPER.
    When I execute the Query, it is returning the error: No value could be determined for variable ZVBSYCUR; Variables Contain Invalid Values.
    Please give inputs on how to use this variable.
    Regards...
    Ganesh

    Hello Dipika,
    I am also getting the same error.
    ERROR: Variable 0FPER could not be replaced.
    Yesterday we created one customer exit. But this should not affect the SAP Exit right? Till yesterday the 0FPER variable was working fine. I tried re-installing from BI content, but still getting the same error. If anybody has a clue please let me know.
    Thanks,
    Harshal

  • Calculate cubes using transparent partitions

    hello,since I have had a transparent partition to my cube (my cube is the target) the calculation duration increases dramaticaly although the calc script do not fix on the members used in the partition.Have you already met this problem? Is it possible to define particular parameters to avoid this increase?many thanks for your help!

    I have hesitated to suggest this because it involves changing more than your environment and calc, and it may not even be appropriate for you, but it would definitely help if you can do this.Instead of having 2 cubes, use 3 (ouch). The current cube becomes a facade to the two source cubes that contain data, call this CUBE_Facade, and also copy it to CUBE_SRC_Current (dropping the members mapped to CUBE_Source), and then CUBE_Source becomes CUBE_SRC_History. You should get the idea from this layout.Now for the calc. You wouldn't perform this on CUBE_Facade, but directly on CUBE_SRC_Current. If you further want to ensure that users don't interfere, you could temporarily drop the partition, but for a 3 minute calc I doubt this is a concern for you (if it is, you should also know doing it this way is a lot easier and cleaner than trying to kick users off and disabling logins). Security would also be associated with the facade, but it doesn't hurt to set it on all cubes (the users would have the ability if not the knowledge to connect to the source cubes, after all).Aside from the approach above, I can only surmise that perhaps the fix that limits your calc to the current portion (time/scenario?) doesn't account for variance formula's (even if dynamically calculated?). A solution for this may exist be making them stored (another ouch), and calculating them in a script instead of with a formula? I'm only guessing that this might help, or that the situation even applies.

  • Function module to find get the  Fiscal period using date

    Hi Experts,
    I am need of getting fiscal period and year from the given date. Is there any function module exists. Please advise.
    Thanks in advance,
    Viven

    DATA: I_FYV1 LIKE T009-PERIV.
      CALL FUNCTION 'CCODE_GET_FISCAL_YEAR_VARIANT'
        EXPORTING
         COMPANY_CODE           = i_billno-bukrs
         COMPANY_CODE           = S_BUKRS-LOW
        IMPORTING
          FISCAL_YEAR_VARIANT    = I_FYV1
       EXCEPTIONS
         COMPANY_CODE_NOT_FOUND = 1
         OTHERS                 = 2.
    IF SY-SUBRC <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'ME_DETERMINE_GJAHR'
       EXPORTING
      I_BSTYP         =
          I_BEDAT         = P_DATE
         I_PERIV         = I_FYV1
      IMPORTING
      E_H_MONAT       =
        E_H_GJAHR       = GJAHR1
      E_H_DATUM       =

  • Where are partitioning a cube based on calmonth & fiscper

    Q1.where are partitioning a cube based on calmonth & fiscper ok In partitioning cube there are two types 1.physical partition & 2.logical partition so i want to know the both things and diferrences.

    Hi Kishore,
    Logical Partitioning means dividing the data into two or more cubes. The cubes will have the same structure, but will store mutually exclusive data sets. For eg. storing data from Calendar year 2000 to 2005 in one cube, 2006 to 2008 in another cube and 2009 to 2011 in another cube. As these three cubes will have the same structure, we can create a multiprovider to combine these cubes for comprehensive reporting. This can be done any characteristic....like company code, controlling area, sales organization, distribution channels or any time characteristics. This is more of data model designing option.
    Physical Partitioning is done on one cube. This is based on the Calender Month or the Fiscal period. This physically partitions the Fact table of the cube. For eg. you want to partition a cube that stores 2 years of data. The maximum no. of partitions allowed here are 26... (24 for each of the 24 months and two for data not belonging to these 24 months - these two partitions are system defaults and we have not control over). However, we can define any number  less that 26 and the system calculates the maximum number to be utilized. Supposing we specify, a maximum of 18 partitions to be used, the system will use a 14 partitions only - 12 partitions for the 24 months (each 2 months) and 2 on either side of the time scale.
    rgds
    Naga

  • Fiscal Period in 0PA_C01

    The cube 0PA_C01 works on the basis of calmonth and it is easy to map it to fiscal period if each fiscal period corresponds to a whole calendar month.
    But we are facing a peculiar situation where the Client's fiscal periods are irregular and do not correspond to exact calendar months.For example Fiscal Period 01.2009 corresponds to the period 02.04.2009 to 29.04.2009 and not to Calendar month April'09.
    In such a case it is becoming a challenge to extract the headcount on the basis of fiscal period from the cube 0PA_C01.
    Could any one offer a clue as to how this could possibly be achieved?

    Hello Rajeev,
    you can always use FM DATE_TO_PERIOD_CONVERT during extraction in ZXRSAU01 or in transfer/update rules on BW. Remember to transfer Global Settings from source system to BW when using second method. Don't forget about transfer data to 0FISCVARNT as well.
    Thanks = points.
    Best Regards,
    Maciej Janik

Maybe you are looking for

  • New computer choice question

    Hello: I am a windows user currently using XP Pro to run CS3, and my system (2G memory, core duo laptop) is pretty slow when editing video on Premier Pro and using After Effects. I am thinking about getting a high end HP desktop with 64 bit windows v

  • How do you embed ePub3 in a web page using 'embed code'?

    I have an epub3 that i desperately need to embed onto my web page. I am using Weebly who allow for embed code on the web page, and also have a code editor where you can upload files. Is it easy enough to somehow upload the mp3's that are in my epub,

  • Batching TIF to PNG - metadata lost

    For many years now (since the days of PS7) I have used some carefully crafted actions to prepare entire directories of up to 1,000 images for publishing to the Internet.  Or it may be that I am running a series of tonal adjusting commands and saving

  • How to Start Java RMI Server Application as Windows NT Service

    Hi!!, I have problem regarding the Installation of Java Application as NT Service this Java app in turn will start RMI Registry using LocateRegistry.createRegistry() at some specific port number. The Service is created successfully but i have problem

  • Pictures in labview

    Is there anyway to open a picture in labview without getting a white background square shape around it? Solved! Go to Solution.