IP: Use of input-ready variable in planning function

Dear all,
I'm using an input-ready variable for fiscal year (0P_FYEAR) in my input ready query. It's used for restricting my columns.
I'd like to use the value of this variable in my planning function and I use VARV for that in the FOX.
However, when implementing the pl.function as a button in the BEx Analyzer I need to fill in the static parameters the VAR_VALUE_1 with a value.
If I delete this line from the static parameters my plfunction end swith an error.
I like this value of course to be filled with value of fiscal year entered by the user when starting the query.
Does anybody know how to solve this?
Kind regards, Harjan

Hi Johannes,
Thanks for all the useful information!
Another thing on using PF.
I've got two workbooks with different queries but using <u>same</u> filter.
Queries differ in keyfigures, but are on same cubes in MultiProvider.
I can run the workbooks simultaneously: no locks occur.
I've got two planning functions that make calculations on the keyfigures entered in the workbook.
However when I inplement the PF's in both workbooks and assign the dataprovider as filter, i do get locks!
So, the PF also uses the same filter, but doesn't take into account the different keyfigures.
In the fox-formula i don't have the option to make conditions on keyfigure values (field keyfigname), neither to enter them in the filter.
Do you have any thoughts on this?
<u>Second</u> point:
When i filter on a navigational attribute and execute the pf, i get errors on my pf.
It states it can't find the value of the characteristic to which the navigational attr belongs. F.i. when i filter on nav attr 'customer group'  (attr of char 'customer') and execute pf, the system gives an error on the value of char 'customer'.
It states: value of characteristic customer is notincluded in the selection.
Any thoughts on this one?
Thanks in advance!
Kind regards, Harjan

Similar Messages

  • SAP BI - OLAP variable in DTP unable to read from input ready variable in query

    Hello,
    Here's the problem:
    We have a process chain which is launched in a WAD.
    We would like to filter the DTPs in the PC with the values entered in the variable screen of the WAD
    I created a variable of type customer exit X which reads the input ready variable Y in CMOD.
    Customer exit variable X was placed in the filter of the DTP.
    The input ready variable Y in the query contained in the WAD.
    I am getting an error that customer exit variable X is getting not value.
    Is it possible to read an input ready variable in a customer exit variable placed in a DTP?
    Or am I missing a step here?
    Please help.
    Thanks in advance

    Hi Anjalee,
    Maybe it would be good to share a bit more information on your scenario and the chosen solution design. I am currently missing the point of triggering a Process Chain using Web Application Designer.
    Anyway, I recommend to be careful with using OLAP variables in DTP filters. For sure not all functionality is present, e.g. because the variable pop-up is absent. Your constellation of an input ready variable and a customer-exit variable will only work in the context of a BEx Query and probably not if used in a DTP filter.
    Best regards,
    Sander

  • Workbook does not contain any input-ready variables

    Hello Experts,
    We have one workbook which is not reacting when click on REFRESH or SHOW VARIABLE.
    If clicked on VARIABLE screen it is throwing error "The workbook does not contain any input-ready variables" (screenshot attached)
    Points I have checked are as below
    1. If I create a new workbook by executing the respective query and refresh then it is working.
    2. The file is in xls format and I have checked the USE XLS format under Global setting.
    3. My Excel version is 2010. SAP version is SAPKW70105. BEx 7.X, support package 8.
    4. It is not authorization issue otherwise the issue would have happened for the new workbook I created for testing.
    5. Also I tested with user ID with SAP ALL access.
    is there any way to repair the workbook so that it respond to Variable and refresh options ?
    Thanks,
    Gopi R

    Work book might be corrupted  : As other said need to create / Recover Old work book
    Refer Below  Doc  process For   recovering a  corrupted workbook :
    How to recover a corrupt workbook.

  • Text variables for non-input ready variables

    I have a query with a structure in the Rows section.  The row structure contains three selections for different time periods.  Two of the time periods are based on non-input ready variables for Calendar Month.  The user will enter a calendar month and the other two selections will be based on the month that was inputted.  Since the time periods are dynamic, I need the text in the rows to reflect the appropriate Cal. Month value.  I have tried using a customer exit to define text variables but they are not working.  My text variables are called "CMON_TXT_D01" and "CMON_TXT_D02".  If the user selects 'Dec. 2010', the report would look like this
    Dec. 2010  => user inputs this value
    &CMON_TXT_D01&  => customer exit calculates -1 month back from inputted value
    &CMON_TXT_D01&  => customer exit calculates -2 month back from inputted value
    I need it to look like this if the inputted value was 'Dec. 2010'
    Dec. 2010
    Nov. 2010
    Oct. 2010
    I can get the text variable based on the input-ready variable to work but the two selections that are based on the non-input ready variables are not working.  Does anyone know how to get the text variables to work for the non-inpjut ready variables?
    Thanks.

    Hi,
    I would do it this way;
    1) Create a Row Structure
    2) Create Row Selection for Dec 2010 by restricting Cal. Mth. by the User Input Var
    3) Create Row Selection for Nov 2010 by restricting Cal. Mth. by the User Input Var with a Var Offset of -1
    4) Create Row Selection for Oct 2010 by restricting Cal. Mth. by the User Input Var with a Var Offset of -2
    5) Create a Text Var whose processing is by Replacement Path & choose Variable with the User Input Var under Replacement Path options
    6) Edit the Description of each of the 3 Row Selections to contain the Text Var in (5)
    7) The Text Var should automatically reflect the User Input selection & the offsets defined on the same in the Row Selection Captions
    --Priya

  • Regading Variable in Planning function in integrated Planning

    Hello All,
    I have a requirement where i have to run a planning function to copy the data of one key figures to other.
    But i need a input screen before execution of this planning function where i could insert the characteristics values for which i do not need this Planning Function to be Executed.
    Please let me know how to do this.
    I think this can be done using input ready variables.But i m not sure.
    Regards,
    Pratighya

    Hi All,
    With regards to the above issue, I have similar question and appreciate any inouts.
    Used a Planning function - type FORMULA
    Function needs an Input parameter to execute.
    So I want to create a Planning IP variable and assign it to the function call in my formula.
    From the Front end WAD/BEX - want to exceute the planning function by passing inpur value.
    Regards
    Rao

  • Use Formula variable in planning function

    Hello,
    I would like to use a formula variable in a planning function.
    The problem is that when I execute this function all keyfigures values are set to 0 so the FOX is not executed.
    The idea is to have something like
    = VARV(FORMULAVARIABLE).
    How could this be achieved using FOX ?
    Or how using an exit function could I call this FORMULAVARIABLE which is not used in the query ?
    Thanks,
    Matthieu

    Hello Matthieu,
    Please search the forum before posting:
    http://forums.sdn.sap.com/click.jspa?searchID=70350665&messageID=9814615
    Regards,
    Marc
    SAP Techology RIG
    PS: You closed the thread so I have to add some details here. The FOX runtime is hardcoded to 0RSPLS_FORMULA. Therefore, 0RSPLS_FORMULA cannot be copied to a custom planning function type as you suggest.
    Edited by: Marc Bernard on Feb 23, 2011 3:36 PM

  • Input ready query---structures used in rows

    Hello All,
    I have a problem in reporting, I have infoobject this object used in filter and rows, rows i am using the structure.
    in structure i am using the all budget categories.
    in that case: input ready query not working its disabled the cells.
    i have a doubt , structures can be used in input ready queries or not.
    please help..
    Regards,
    ch.

    Hello Ashish,
    I didn"t understand, what u written, can you expand clear and also provide some example. if you don't mind.
    I am create a structure and under structure i am using the NewSelection in rows.
    i am getting problem: the input ready query is not allowing the values because of its disabled the cells.
    regards,
    ch.

  • Can we enable Info Objects as input in the Input Ready Query...

    Hi Folks,
    As I wanted to implement Input Ready Query for Planning in which User has to enter Charactersitc Values apart from Keyfigures.
    Per Example:-
    Project Number and Budget are Fields in Input ready query. Here user wanted to enter Project Number and Budget values Manually.
    Is it possiable, if yes, can you give me your idea how to implement this scanario in IP by creating Aggregation level or Input ready query.
    Thanks,
    Venkat

    Dear Snehith,
    Thank you very much for your quick responce, Since Thursday and Friday are weekend holidays for me that is the reason i didn't respond your answer. Sorry for the my delay responce.
    In my business case is here only one time selection only not for every row selection.
    Before post this i was created One Planning Cube>on top of this i created 4 Aggregations Levels>created Planning Filter with respective aggregation Levels > Created 4 Input Ready Queries with respective 4 aggregation levels>Created one web template>used Tab Strip Container Web item and assign 4 Input ready queries to 4 data providers>Created Variables for Exe Department in Inputready queiry and assigined to Data Providers in WAD.
    Now my Web template is asking user input and giving Exe Department values and then entering to out put where user can able to give values and save plan values. But Exe Department characterstic is also displying in Coloum area which should not be displyed in my case. becase of whater characterstics assigned to Dropdown they should not appereard in Coloum area.
    How can i do this.? Can you provide your views...
    I hope you clear what i am mean here..

  • Variables from workbook are not visible in the Planning function

    Hi,
    We're using a workbook with a bunch of queries in it. Every query has a lot of variables declared that are calculated based on two input ready variable that users are required to fill the first time.
    Everything works as expected until the save data function is called, which in turn calls the planning function.
    Here, the user exit variable try to be recalculated again. Unfortunately, this planning function loses track of the two input ready variables that were on the workbook, so the user exit variables have no values.
    Can you please suggest a method so that:
    a) The user exit processing in the planning function "sees" the two input ready variables
    b) The user exit processing is not triggered in the planning function and it's taking the already calculated values
    Let me know if you require further information.
    Best regards,
    George

    Hi,
    the variables in the filter of the query lives in one variable container and the variables of the filter of the planning sequence live in another variable container. They do not know each other. You need to establish a relationship between them. Usually this is done via variable binding for regular variables. For exit variables the variable binding can be done as written above.
    If as in your case you have variables in the filter of the query and you want to use their values in the variable of the planning sequence than you need to store the values somewhere where you can retrieve them in the exit. This can be in a e.g. in shared memory or in the session memory. To do this you need to spend an extra exit variable in the filter of the query. The exit variable reads the real values and stores it somewhere (e.g. shared memory, global parameter of a function group, a class member or something similar). Now as the variable value is stored it can be read in the implemenation of the exit variable in the filter of the planning sequence.
    In total we have 3 variables:
    Variable 1 contains the value which the user keys in and exists in the filter of the query.
    Variable 2 reads variable 1 and stores the value. It needs to be defined in the filter of the query as well.
    Variable 3 reads the stored value and needs to be defined in the filter of the planning sequence.
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • Input ready query - not ready for input

    I have created the following in IP:
    1. A multiprovider based on an actuals cube (Standard infocube) and a plan cube (realtime - data can be planned not loaded).
    2. An Aggregation level on the multiprovider - containing infoobjects: 0version, employee, WBS element, infoprovider, fiscal year, fiscal year variant, 0currency and 0amount.
    3. A filter on the following infoobjects: employee (=123456), wbs element(XX.XX.XXX.X), version (variable - mandatory; ready for input), fiscal year(2008) and fiscal year variant(XX).
    4. A planning function to copy from version 0 (actual) to version 866 (random Value - Master data exists).
    I have created a query on the multiprovider and set the query properties correctly. I have also created two restricted key figures as follows:
    1. Actual (Restricted by infoprovider = actual; version = 0; fy = 2007; fyvar = XX)
    2. Plan   (Restricted by infoprovider = plan  ; version = input-ready variable; fy = 2008; fyvar = XX)
    I have used all the infoobjects in the agg. level in the query. I am using the same version number (866) on the query selection screen as defined in the filter.
    When I run the query, I can see only the actuals line. The plan keyfigure is not ready for input (although keyfigure properties are set to "Data can be changed using user entries or planning functions).   
    What am I doing wrong which is preventing the plan keyfigure from opening up for planning?
    I have also tried to create an agg. level on the plan infocube with similar settings as above. When I run the query, I get a no data found result - which I think is right because there is no data in the planning cube.
    PS: When I use the wizard in the planning modeler the keyfigure (0amount) can be changed.

    Hi Avya,
    Use a filter on the 0currency, for a particular currency type. (if problem is: currency type keyfigures are not input ready)
    This will mak it input ready.
    **Reward Points for useful answers**
    Regards,
    Naveenan

  • Wrong cache for input-ready query

    Dear Expert,
    I encountered some issues about input-ready query. When I first open one input-ready query and input some plan data, I can save the data successfully. But after I saved data for the first query, if I don't re-connect the analyzer and open a new query, usually the plan data in the new query can not be saved successfully. After re-connect the analyzer, it works well. When I debug it, if I do not re-connect analyzer, I found the new query I opened still got some data which belong to the first query (Such as variable value). I guess it probably caused by some Bex cache? (It's not OLAP cache in RSCACHE, as we have disabled the cache for planning query in RSRT).
    Could you please help me with this? Is there any way we can disable this kind of cache for the input-ready query? Or if we have any solution to clear this kind of cache without re-connect bex analyzer every time when I open a new input-ready query.
    Thank you in advance.
    Best Regards,
    Fuyang

    Hi Fuyang,
    We are facing similar problem.
    1st problem:
    (1) When we run workbook that time variable values are automatically filled up.
    (2) Variable values for version, year is filled up and then query output is displaying.
    (3) There is no personalization or variant used. Its looks to me Values are coming from Cache.
    (4) Cleared RSRCACHE and there is no cache used for this query.
    (5) If we enter version = u201CZ2010u201D and Year = u201C2010u201D and after running workbook (input query) and then closing and reopening same variable values are coming. If we change version from u201CZ2010u201D to u201CZ2011u201D and run/save query and again reopening version variable values are coming again to u201CZ2010u201D.
    2nd problem:
    (1) We have planning sequence which is using below variables.
    (2) Version, Year, Plant.
    (3) Version and Year is input ready variables
    (4) Plant is Userexit variable.
    (5) Plant Dropdown is used.
    (6)When we execute planning sequence first time without filtering plant then it is working fine. Receiving message u201C100 records read,100 records changedu201D u2013 This is working fine.
    (7) When we use plant dropdown and filtering u201CABCu201D plant then planning sequence working fine and receiving message u201C20 records read, 20 records changedu201D u2013 This is working fine.
    (8)When we clear drop down/filter using CMD - REMOVE FILTER which is used in button clear plant u201CABCu201D filter. u2013 This is working fine.
    (9) Then we again apply planning sequence for all the records and receiving message u201C20 records read, 20 records changedu201D.  This is not working. The message should come u201C100 records read,100 records changedu201D
    This time plant variable has still with value u201CABCu201D and not clearing in variable cache.
    We are on below BI 7 level and above application is Excel based.
    SAP_ABA u2013 701-SAPKA70104
    SAP_BASIS-701-SAPKB70104
    SAP_BW-701-SAPKW70104
    BI_CONT-701-SAPK-70403INBICONT
    SAP GUI  7.1 patch 17
    SAP BI BEx AddOn 7.1 patch 10 (1000)
    Any help will be greatly appreciated.
    Thanks in advance.

  • Problem with the behaviour of input ready key figure

    Dear All,
    I am using one input ready key figure in a globally reusable key figure structure for my planning layout. When the input ready query is executed as such, the i/p ready key figure is readily available for inputting any data (as expected), but the moment the global reference from the key figure structure is removed in the query designer (from the context menu - > Remove Reference), that i/p ready key figure structure turns out to be non input ready and hence no entering of data is then possible.
    I am removing the reference from the structure for some other editing purpose but the above mentioned problem comes in between.
    The only input that i can provide is that this i/p ready key figure utilizes two hidden inverse formulas, but eventhough things are fine when the reference is not removed.

    Hello Durgesh,
    I suspect this to be a bug. Please open a customer message so SAP support can analyze the issue (include technical names of the original query with global structure and your new query where the reference was removed; put it on component BW-PLA-IP-QD).
    Regards,
    Marc
    SAP Techology RIG

  • *****Can we make charcterstics as a Input ready in the input ready query.**

    Hi experts,
    Our business requirement as follows.
    the existing business scenerio is, Master data ( say Product list ) )will comes from CRM , By using the input ready query , we will plan against to that master data by using IP.
    But my requiment is " though the master data is not avilable( say new product came into the market which is not avilable in CRM)  in the CRM end, user wants to enter the that product name directly in the input ready and also user wants to plan against that product.
    As per our requirement , user wants to enter charcterstics directly in the query like entering the key figure values directly in the input ready query.
    As per as my knowledge concern , this functionality  is not avilable in IP.
    so can you please suggest if any other work around solutions for this to fix this issue.
    Thanks,
    Subhratha benargeee.

    Hi Subhrata,
    As I said, its not possible in IP at all. If we talk technically, IP infrastructure needs SID's. Meaning it communicates through SID values.
    Once you enter characteristic value in the query, the system automatically sends the SID values to OLAP when the round trip happens. There was a certain period of time, when system automatically used to create sid's if there does not exist that value in master data for the characteristic. I dont remember the exact support pack, But that was a bug and has been fixed. Its not possible in any form web, bsp or bex analyzer on OLAP write infrastructure. As long as you dont find some RFC which can write this value to the master data table of the characteristic before the OLAP is triggered.
    I understand you are writing transaction data only, But OLAP works through SID's when it gets data from infoproviders. So due to the same reason without an entry into sid and master table of the characteristic there can not exist an entry in the infoprovider. OLAP simply can not communicate without SID's.
    Now coming to the scenario I explained earlier, its Business Planning & Simulation. If you design your planning application on BPS, you can design web interfaces which is a BSP application can achieve what I said.
    Its not the speciality of BSP(business server pages)  which is making it possible, But the BPS interfaces are designed such a way that it communicates directly through master data and text table of charcteristics.
    As of now, I do not have a solution for your scenario on IP, If I find or come across one I will surely let you know.
    All the best.
    Best regards,
    ravi.

  • Zero compression vs. input readiness

    hi...
    i designed an input ready BI7.0 planning querie. the query is integrated in an excel-workbook. now i have the strange fact, that my querie isn´t ready for input when i change the querie properties for zero compression, because i would like to see only the lines with data in my query aaaaand i will have the possibility to change this values!?
    any experiences? thx. for help!
    br david

    Hello Labros,
    There is nothing in your application which controls which portion executes first.  The read might happen before the write occurs.  Also, typically you want to use a while loop to run "continuously" instead of using the run continuously button.  Finally, if you create and run a task, you should also stop and clear the task.  It looks like you have a good start with your application.  Keep these suggestions in mind as you continue to develop your program.
    I would like to point you to the LabVIEW example programs.  Select "Help>>Find Examples".  Next choose to "Browse by Task". Select "Hardware Input & Output>>NI-DAQmx>>Synchronization>>Muti-Function".  Please reference either "Multi-Function Synch AI-AO" or "Multi-Function Synch AI-AO Ext Digital Trigger".  These examples are well documented, fully tested and should help you with your application.
    I hope this helps,
    Jennifer O.
    Applications Engineer
    National Instruments

  • Input Ready query based on aggregation level

    I have an input ready query that reads data from an aggregation level, based on a multiprovider that contains a cube for planning and a cube with real data.
    There are two columns of data, two of them for read-only and another for input.
    I´m selecting different fiscal year/periods for each column.
    The problem is that, when I select fiscal year/periods and the real data cube doesn´t contain any data for this filter, it doesn´t show me a line to input data anyway..
    how do I configure the query so that it understands that eventhough I don´t have data for the selected period, I still want to be able to perform the planning?
    Thanks,
    Cris.

    Hi Christina,
    Even though there is no Data in the  Real time Cube the Query must allow you to Input values. I guess the Query you have designed is not enabled for input yet.
    Kindly check the following Points before proceeding.
    1. In the Query properties under Planning tab, make sure the Start Query in change mode is turned On.
    2. Make sure you have used all of the characteristic in the aggregation level in the Query and is restricted to single value.
    3. make sure the columns are Input ready under the Planning tab in its properties
    Hope this Helps.
    Regards.
    Shafi.

Maybe you are looking for