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.

Similar Messages

  • Restrict Query to Year To Last Fiscal Period

    I have written a query that reports on Cost Centre line Item data. Up until now I had been using the variable 0I_CYFTD Year To Date for current fiscal year. However I now want to only report Year to then end of the last fiscal period. Anybody any idea how I would do this? The only way I can think of is to create my own variable with a customer exit. If that's the case where does the code go and what's the code involved as I'm no ABAP'er. Or is there another simpler way.

    Hi Joel
    You will probably need some abap code in here eventually,
    but could you not use the Previous Period Of Current Fiscal Year (OP_PRFP1) SAP exit.
    Eg. Create a range from 01.2008 to OP_PRFP1 as part of your key figure.
    Regards
    Nick

  • Creating backdated invoices after last date of fiscal period

    Hello experts
    In our business, it is a rule to keep the billing period open for two days even after the last day of the fiscal period. For example,
    P10 ends on 29/10/2011, but that period is not closed until 31/10/2011(P11 date) so that the users can create all the invoices for that month. Please note that period 11 is not opened till 1/11/2011 (after closing p10).
    Now,order related invoices are created thru an interface program. The user only sends in the "service date" which is mapped to the fixed value date field in SAP and we have defaulted the system date as the billing date to enable posting. The problem arises for the invoices created on the two days mentioned above as the invoices will not post into accounting if the billing date is 30/10 and 31/10 as P11 is not open yet.
    How do i make sure that invoices created on the two month end days post into accounting with a billing date of 29/10 (a P10 date)? I can use the FM- FI_PERIOD_CHECK to check if the billing date is in the open period, but how do i populate the billing date field as an open period date automatically without manually changing it for all the invoices that have not posted?
    The service date sent in has to be mapped to the fixed value date field because of aging purposes.
    Would appreciate your valuable help here.
    Thanks

    Hi,
    Function module FI_PERIOD_CHECK  can be included in the program to check if the fiscal period is open or not.
    Discuss with the ABAPER and include logic that in case the fiscal period is not open the default date should not be system date. Instead another date which is calculated using the FM - CALCULATE_DATE.
    In the FM-  CALCULATE_DATE give the logic how the date should be calculated.
    Discuss with ABAPER for this.
    Regards,
    Sharan

  • How to Create Dynamic Columns based on Fiscal Period

    HI BI World;) We are on BI &.0
    I have a requirement to create a time series BI query
    It must take the variable value (range) from the user abd create all months within this range in a time series displaying the key figure value for the respective periods.
    I have so far added the fiscal year period characteristic  to the columns with the key figure under this and the fiscal/year period is on a restiction in the filter area by a variable (range)
    When I run this query it only shows the fiscal periods which have a value for the key figure. Is it possible to show all fiscal periods and have blank columns where there is no value for the respective key figure/period.
    I have tried using master data for the fiscal period but this does not work as has some junk values.
    Any ideas? I need to show alll periods between the dates whether they have values or not.
    Best,
    Stevo
    Points will be awarded.
    Thanks in advance

    Hi,
    Try restricting the fiscal period inside the keyfigure and in the output format try drill across of fiscal period.
    in tne fical period char properties try masterdata relationship option.
    Thanks,
    Arun.

  • Planning Function to update Fiscal Period Characteristics

    Hi,
    Is it possible to write a Planning Function that would update empty Fiscal Period Characteristics from the already populated 0CALMONTH Characteristic?  I know the ABAP required if I can use it, but I'm just wondering about IP having the ability to do this in the Planning Function Environment..  I'm guessing it's a repost effort, but I can't think how to accomplish this?  Or do I need to create a custom planning function?
    Thanks!

    Thanks for the info,  My planning data is being uploaded via the SDN Planning File Upload Solution.  What I did was end up modifiying the upload class ZCL_RSPLF_FILE_UPLOAD Method EXECUTE.   
    I added the following code if anyone is interested.
    *{   INSERT         BWDK902323                                        1
    THIS SECTION OF CODE POPULATES THE FISCAL PERIOD CHARACTERISTICS
    USING THE FISCAL YEAR VARIANT 'NK' AND THE CALENDAR MONTH/YEAR
    FIELD-SYMBOLS <0FISCVARNT> TYPE /BI0/OIFISCVARNT.  " Fiscal Year Variant
    FIELD-SYMBOLS <0FISCYEAR>  TYPE /BI0/OIFISCYEAR.   " Fiscal Year
    FIELD-SYMBOLS <0FISCPER>   TYPE /BI0/OIFISCPER.    " Fiscal Year/Period
    FIELD-SYMBOLS <0FISCPER3>  TYPE /BI0/OIFISCPER3.   " Posting Period
    FIELD-SYMBOLS <0CALMONTH>  TYPE /BI0/OICALMONTH.   " Calendar Month/Year
    ASSIGN COMPONENT '0CALMONTH'  OF STRUCTURE <L_S_DATA> TO <0CALMONTH>.
    ASSIGN COMPONENT '0FISCPER'   OF STRUCTURE <L_S_DATA> TO <0FISCPER>.
    ASSIGN COMPONENT '0FISCVARNT' OF STRUCTURE <L_S_DATA> TO <0FISCVARNT>.
    ASSIGN COMPONENT '0FISCPER3'  OF STRUCTURE <L_S_DATA> TO <0FISCPER3>.
    ASSIGN COMPONENT '0FISCYEAR'  OF STRUCTURE <L_S_DATA> TO <0FISCYEAR>.
    <0FISCVARNT> = 'NK'.
    CALL FUNCTION 'FISCPER_FROM_CALMONTH_CALC'
      EXPORTING
        IV_CALMONTH       = <0CALMONTH>
        IV_PERIV          = <0FISCVARNT>
    IMPORTING
       EV_FISCPER3       = <0FISCPER3>
       EV_FISCPER        = <0FISCPER>
       EV_FISCYEAR       = <0FISCYEAR>.
    *}   INSERT

  • Issue regarding Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART in SAP TPM IP

    Gurus,
    I am facing an issue regarding SAP TPM IP ( HANA)
    I have 3 Infoproviders
    Planning infocube, Planning DSO1, Planning DSO2 and i created multiprovider and added these 3 infoproviders into it. I have created Aggregation level on multiprovider. Created Bex Input ready query on Aggregation level.
    Issue is  Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART.
    I tried debugging it and found it is trying to read   i_r_pro -> n_ts_part. It is populated with only 3 values (i.e. 2DSOs and 1 Cube), whereas <l_partprov>-partprov is referring to Aggergation level, hence read statement isn't successful, it is dumping.
    The class CL_RSD_INFOPROV_CACHE->GET() method is trying to populate the N_TS_PART.N_TS_PART uses P_R_INFOPROV table which seems to be already populated.  So, I debugged all the below methods to find out how the P_R_INFOPROV but couldn't find any clue.
    Can any one help,it would be really help.
    Thanks
    Ashok

    Hello Gregor,
    On the launch of planning layout it throws an error message:
    Planning is not possible RSCRM_IMP_CORE008.
    When I debugged, i got to a point wherein
    particular Real Time Planning DSO is
    not getting retrieved under the MultiProivder in below class.
    Class: CL_RSCRM_IMP_ACTIONS_SERVICE, Method: GET_INFOPROV is not
    returning the real time Info-Provider Name(i.e. Planning DSO)
    underlyingthe Multiprovider.
    I've also tried to run the report mentioned by you for the Multiprovider but issue still exists.
    Let me know, if you have any pointers on this topic.
    Thanks,
    Jomy

  • Planning Query - With different objects selection

    Hello,
    I have created Sales - Inventory and Backlog Real time cubes .
    The Inventory works on Calender month where as Sales and backlog works on fiscal year.
    when i hav created the MP on top of all the 3 cubes i am getting the data for Inventory not for saels and backlog.. when trying to modify i am unable to modify for the sales and Backlog...
    can anyone will tell me is it necessary to have all the time characteristics in the real time cube means
    for 0calmonth/year - calday calmonth and calyear
    fiscal year-> peroid, varianet and year.
    another Query i am selecting the selective fileds from the MP it is not displaying the henc that means i need to create different real time cube for my selection... that would be tedious job.. can anyone help... how to resolve this..
    Thanks

    Hi Kapsek,
    As per my understanding:
    1. You make sure that all the cubes which you have created are in the a. Loading mode while loading data (switch to: Cube can be loaded, Planning not allowed) and b. Planning mode while planning in those real time cubes (switch to: Cube can be planned, loading not allowed).
    2. With reference to your second query, you need to have atleast one Time Characteristic necessarily selected in each of the cube and check if they are linked in a proper way.
    Hope this helps. Please revert incase of any issues.
    Regards,
    Poonam

  • Not getting 'actual data' in the planning query

    Hi all,
    I am debug other's query. This cube stores 'actual' and 'plan' data and I loaded 'actual' and can see it in the cube. But I cannot see 'actual data' when I run the planning query.
    I checked all restrictions in the KFs and CHARs and fliters in the query. There are only 'value type 10', 'fiscal year variant Z1', and 'currency CAD' restricted and actual data does contain those values in all line items.
    Can someone point it out what it could be the issue? Thank you.
    R.

    Hi,
    if you enter some data (plan data) you cannot see it again. Is that correct?
    are you using the same query to enter and to see plan data?
    Because if you are entering data in an aggregate level and you are executing your query over the infocube you will not see the data from the yellow request. If you execute query over the aggregate you should be able to see all data in the cube (yellow and green requests).
    Also check if your query is defined as per note 1136163.
    I hope this helps.
    Lucimar

  • Performance issue while generating Query

    Hi BI Gurus.
    I am facing performance issue while generating query on 0IC_C03.
    It has a variable as (from & to) for generating the report for a particular time duration.
    if the variable (from & to) fields is filled then after taking a long time it shows run time error.
    & if the query is executed without mentioning the variable(which is optional) then the data is extracted from beginning to till date. the same takes less time in execution.
    & after that the period has to be selected manually by option keep filter value. please suggest how can i solve the error
    Regards
    Ritika

    HI RITIKA,
    WEL COME TO SDN.
    YOUHAVE TO CHECK THE FOLLOWING RUN TIME SEGMENTS USING ST03N TCODE:
    High Database Runtime
    High OLAP Runtime
    High Frontend Runtime
    if its high Database Runtime :
    - check the aggregates or create aggregates on cube and this helps you.
    if its High OLAP Runtime :
    - check the user exits if any.
    - check the hier. are used and fetching in deep level.
    If its high frontend runtime:
    - check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.
    For From and to date variables, create one more set and use it and try.
    Regs,
    VACHAN

  • Locking Issue in Planning DSO- SAP BW 7.3 Integarted Planning

    Hi Experts,
    We have built Aggregation Level on Direct Update (planning enabled) DSO and used the same in the input ready queries.( Its complete Manual planning - new row addition feature in WAD).
    We have 5 characteristic and one key figure for planning.
    We are facing lock issue while planning the data i.e. when one user is planning, other user cannot plan.
    The lock relevant characteristic is Column A and the same has been added to the Lock Characteristic tab(RSPLSE) of the infoprovider. The input ready query is also restricted with a variable on Column A (manual input single variable- mandatory).
    While the user opens the Planning Layout and plans the data, we can see lock entry in RSPLSE(locks tab) for the Column A selection in the infoprovider, yet if another user is trying to plan for data for some other selection of Column A, a lock entry in RSPLSE is shown with the selection but it errors in thelayout with lock on the infoprovider and cannot plan the data.
    Any inputs will be of great help.
    Regards,
    Priyanka

    Found the answer.
    We had used the Planning Function directly in the WAD layout before saving data without filter.(basically to check some condition).
    Created the Planning Sequence with Column A filter on the Aggregation level and used the same sequence before saving the data in WAD
    Issue resolved.
    Consider this post as closed.
    Regards,
    Priyanka

  • IP - Issues with Input Query: Works on Bex analyzer but not on Web

    I am doing the following:
    Created a Aggregation level for a multi provider which has only real time infoproviders associated with it
    Created the query using Bex Query Designer availing all the options for planning
    When I execute this query it executes using a web template and does not open up the Key Figure cells for input, I had tried using the Web Application designer with Save button but still the same issue
    I tried the same on Bex analyzer and it works fine
    Please help to resolve the above issue.
    Thanks in advance.

    Hi Ram,
    Cells should be input enabled on the web just running the query. No need to create a Webtemplate, altough you need to have the webtemplate to be able to use the "save data" function.
    Maybe your query is not input ready at all, and you're misinterpreting analyzer layout.
    To test this, please enter some plan data in analyzer, right click and choose "save".
    Please check if data is written to the real time infoprovider.
    Hope this helps you.
    Regards,
    Miguel P.

  • Planning query throwing error

    Hi
    I have created an aggregation level on a multiprovider that contains data from plan and actuals cube.
    When I created a query on aggregation level it works for the given selection, but when i change one of the key figures properties to 'plannning' mode, the query throws an error saying "Syntax error in program CL_RSR_RRK0_KEYFIGURE=========CP " showing some exception has occurred.
    We are on version 7, SP 13.
    Appreciate any help regarding the same.

    OK. One last thing to check; you said you restricted the data in the query by 0infoprov right? You did that with a rest key fig or made local selections?
    I sugest to have a rest key fig with your key fig and 0infopro and set this rest key fig as planning enabled.
    Ravi Thothadri

  • Planning query donu2019t show current data

    Hello,
    I have an input ready query over an aggregation level of a real time cube. Whenever the yellow request is closed and a new request is opened, the input ready query does not show the old data. And sometimes it shows incorrect data. We found that the issue is with the Cache.
    In RSRT when opening the input ready query in debug mode with "Do not use cache setting", the query returns correct data. But the surprise thing is that, the input ready query has Cache setting as inactive (0) in RSRT. So we had to generate the Delta buffer query <infoprovider>/!!1<infoprovider> in RSRT where <infoprovider> is the name of the real time cube.
    This solved our problem and the query brought in correct data. But again when I close the second request, the input ready query again shows me no data or shows me wrong data. So again we need to generate the delta buffer query in RSRT <infoprovider>/!!1<infoprovider>.
    This is very annoying when considering the fact that you have to generate the delta buffer query every time the request is closed. This could be a overhead in maintenance and will not go well with people.
    Does anybody have any solutions for solving this issue. Is there any setting by which we can turn off cache altogether or delete cache when a request is closed etc? or worst conditions how to automate the generation of delta buffer queries every time the request is closed?
    Any help is really appreciated.
    Regards,
    Anand

    please check the below;
    Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
    Planning query donu2019t show the current data
    Edited by: Hymavathi Yanamadala on Sep 9, 2009 5:47 AM

  • Get cube partition details

    I want cube partition detail by executing sql query or mdx ? Can some one give this answer ?

    What we do is to have a control table and store details of dimensions and measure group partitions inside it. Then we use a SSIS package which will have a for each loop to iterate through table records and process the dimension/ measure groups. We use
    Analysis Services Processing task for processing the partitions/ dimensions. The command would be a XMLA script which would be generated dynamically based on Partition/diemsnion ID. If its start of new period we would also have a step to add a new partition
    to cube using AS DDL task and also add details to the table.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Cube Partitions

    Hi
    I have a cube that has a dimension called suppliers.
    The Suppliers have 3 levels in the order of hierarchy
    1. Cost Centre
    2. Centre Head
    3. All Suppliers
    The All Suppliers level was created so that I could aggregate my measures to that level and hence the level has only one member.
    When I query my cube view I want my measures aggregated to the ALL Supplier level, I am not concerned about the individual level roll ups.
    One way of doing this would be to create a materialized view which has the results only at the ALL Supplier level.
    Can the same be achieved if I choose to partition the cube on teh All Supplier level in the supplier dimension ?

    I don't follow what you are asking, or what the goal is that you are trying to accomplish.
    Why would you want to partition on something that only has one member?

Maybe you are looking for