Input-ready query; Layout dependant on variable value

Hello,
I need to create an input-ready query where I have months Jan-Dec in colums. If the planner gives a variable value for the planning period for example April, he should get a layout where he can plan for April-Dec and view the values for Jan-March. How can I create this kind of input-ready-query? Thanks in advance. Points will be assigned.
Regards,
Marika

Hi Marika,
Step1: You need to create a variable (with user restriction), you can provide fixed values for all months of the year, perhaps on 0CALMONTH.  You will get the text displayed when you select the month number in the planning folder where u use it. Say WM1 is the name you gave.
Step2: Create 2 exit variables.  1st one would check the entry by the user from WM1.  If the period is > January, store all the months starting from January to the month preceeding to one selected in WM1.  Set this as WM2.
In the second exit variable, the code must check for which month user has selected to start planning from and store all months starting from and ending December in it. Set this as WM3.  You will have to create these 2 variables on 0CALMONTH again.
Step3: Now, in the Layout builder, 1st screen, for the additional settings, in the data columns tab, select 0CALMONTH for dynamic.
Step4: In the second screen of Layout builder, create 2 rows for the data column settings.  First row would be set for comparison. Check dynamic box. Assign WM2 as the variable for 0CALMONTH here.
Second row would be for planning, but check dynamic box here again and assign WM3 as the variable for 0CALMONTH here.
You must be having WM1 as the variable in header.
In the 3rd screen you will find just 2 data columns displayed.
When you run the layout, user prompt will insist you input the desired month and layout on further opening, will bring in the desired data as you require from the Cube.
I hope you have ur actuals and plan data both in the same cube.  Else you have to assign separate cubes for plng area in comparison and plan settings in the 2nd screen of builder.
Hope this will help solve ur problem.
Regards,
Aby

Similar Messages

  • Input ready query with default data

    hi expert
    How do I make input ready query to have a default value when signing in using WAD?
    thanks.

    Hi,
    Use the following document for your query. If found useful do grant me number!
    Revaluating Planning Functions (with Analysis Web Item)
    Use
    You want to build a planning application with which you can enter turnover amounts for certain account numbers and revaluate them using a factor that can be set. If you select a row of the table, only the amount in this row is to be revaluated. If you do not select any rows, all values are to be revaluated. The planning application is to look roughly as follows on execution:
    This example serves in particular to clarify the interaction between a planning function and an Analysis Web item. Special properties here are:
    ●      Variable handling in the planning function
    ●      Row selection in the Analysis Web item
    Prerequisites
    In the planning modeler, you have created an aggregation level that contains the following InfoObjects: unit Currency Key, time characteristics Quarter and Calendar Year, key figure Amount, characteristics Version, Account Number, Cost Center.
    The planning function and the query are to use the same data of this aggregation level.
    Procedure
    Planning Modeler: Creating Planning Functions, Variables, and Filters
           1.      Choose the Planning Functions tab page and create a planning function of the type Revaluate with technical name REVALUATE and description Revaluate for your aggregation level.
           2.      On the To the Parameters tab page, use the input help for the revaluation factor to create the REVAL_FACTOR variable with the Revaluation Factor description. The variable is to be specified in detail as follows: The variable is to be a required variable and is to be input ready; it is to be of type Number, but is not to contain a standard default value.
           3.      Choose the Filter tab page and create a filter with technical name ACCOUNT_FILT and description Revaluation Selection for your aggregation level.
    Select the characteristics one after another and choose the input help icon in the column after Characteristic Restrictions. The dialog box for specifying characteristic restriction appears. Specify the required restrictions (in our example, Version = VERSION 1, Quarter = QUARTER 1, Calendar Year = 2007; Cost Center = 100002, Currency = Euro; for Account Number, all values are taken over), choose Add, and save the selections by clicking OK.
    Choose Show Extended Settings and ensure that the Version characteristic cannot be changed on execution. (It must be possible to change the Amount key figure).
    More information about creating planning functions, variables, and filters: Modeling Planning Scenarios
    BEx Query Designer: Creating Queries
           1.      In the BEx Query Designer, create a query Revaluate (technical name: QUERY_REVALUATION) for your aggregation level.
           2.      Drag and drop the ACCOUNT_FILT filter into the Characteristic Restrictions area for filter values. In doing so, all characteristics are restricted to single values.
    Drag and drop the Account Number characteristic into the area for default values.
           3.      Specify that the Account Number characteristic is in the rows. The values for this come from the master data.
    Specify that the Amount key figure is in the columns. The values for this can be changed; on the Planning tab page, choose the Data Can be Changed Using User Input or Planning Functions option.
           4.      Save your query definition.
    BEx Web Application Designer: Creating Web Templates
           1.      In the BEx Web Application Designer, create a Web template with technical name REVALUATION.
           2.      Create the following data providers:
    ○       DP_PLAN_DATA of the type Query View Data Provider, based on query QUERY_REVALUATION
    ○       DP_FILT_REVALUATION_FUNCTION of the type Filter. The data binding should come from the ACCOUNT_FILT filter.
           3.      Create the following Web items:
    ○       INPUT_FIELD_REVALUATION_FACTOR. Specify 10 as the default value (Internal Display ® Text: 10).
    ○       BUTTON_GROUP_ REVALUATION. Using Internal Display, create pushbutton1 with label Revaluation and, as Action, use the command wizard to assign the following commands (INSTRUCTION):
    Table of Commands
    Command
    Parameters
    Data provider-specific command: SET_SELECTION_STATE BY BINDING (Set Filter Values According to Different Sources)
    ●      Command target: target data provider DP_FILT_REVALUATION_FUNCTION
    ●      Data binding: selection binding using the Account Number (ZD_ACCNT) characteristic, where the value of the Web Item Selection binding type is to come from the ANALYSIS_ITEM_1 Web item, characteristic Account Number (ZD_ACCNT).
    Planning-specific command EXEC_PLANNING_FUNCTION_SIMPLE (Execute Planning Function )
    ●      Data binding: Reference to data providers of type Filter DP_FILT_REVALUATE_FUNCTION, where the value from variable REVAL_FACTOR of connection type Web Item with Manual Input (ITEM_INPUT) is to come from INPUT_FIELD_REVALUATION_FACTOR.
    ●      Command-specific parameter: planning function REVALUATE
    ○       ANALYSIS_ITEM_1. Data provider DP_PLAN_DATA is assigned to the analysis grid as the (source) data provider.
    Choose Behavior ® Row Selection ® Multiple (MULTIPLE).
    In this case, it must be possible to select multiple rows and to execute the revaluation command on all selected rows. It is not therefore possible to give the command along with the row selection; the command must instead be given using pushbuttons.
           4.      Create a CONTAINER_LAYOUT_ITEM_1 (Web Items ® Enhanced ® Container).
    Divide the container into columns, choose the With Tray display option, and enter label Revaluation under Tray Settings.
    Add the following Web items to the container:
    ○       1st row, 1st column: INPUT_FIELD_REVALUATION_FACTOR
    1st row, 2nd column BUTTON_GROUP_ REVALUATION
    ○       2nd row, 1st column (with option Colspan=2, that is, with a merge of columns 1 and 2): ANALYSIS_ITEM_1
    The following figure illustrates the layout of the REVALUATION Web template:
    Execution on the Web
           1.      Execute the Web template on the Web.
           2.      For testing, extend the URL to include parameter &debug=X.
    If you have set this parameter, the selection is shown in the Executing Planning Function section.
           3.      Enter amounts for one or more account numbers, change the revaluation factor if necessary (default value = 10), select the required rows, and choose Revaluation.
    For example, enter amount 100 in the first row, retain revaluation factor 10, and choose Revaluation. The query outputs an amount of 110 in both the selected row as well as in the overall result (as long as you have not entered any other values).
    Regards,
    SUbha

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

  • Input Ready Query, Variable read mode setting Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query :
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    - Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
    Could someone explain me why it doesn't work correctly?
    Thanks in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • Copy Input Ready Query Variables into Planning Sequence

    Hi all,
           We have the following scenario. We developed a model using Web Template. The model has an input ready query and a Panning sequence associated with it. Both of them using the same Planning Filter that has a input variable for Profit Center (say ZPCTR). If I run this model in Portal the planning sequence automatically takes the variable given for the input ready query and the sequence runs without any problem.
           We were asked to implement the same model in BEx as the users felt more comfortable using Excel when working on this model. When we assinged the planning sequence to a button and after we run the input ready query and then click on the button to run the planning sequence, we get an error message saying "You have to enter values before you execute". The Planning sequence is not taking the values we enter for the input ready query automatically.
          I read through the forums on the same issue and saw that most of them reported about the same but could not find a conclusive answer. I tried the following options.
    1) Enter the expected values in the excel in one location and gave the address in the "Command Range" of the planning sequence. Still it does not work.
    2) Tried SAP suggested method as given in http://help.sap.com/saphelp_nw70/helpdata/en/45/e301089d574a88e10000000a155369/frameset.htm It also does not work
    3) Couple of them suggested to use a different variable for Profit Center in the filter of Planning sequence (say ZPCTR_EXIT) and populate this variable. I wrote an exit for this variable and populated a fixed value say '100' into it. The sequence runs as expected. But I do not want use a constant, I want to store the value entered in ZPCTR into ZPCTR_EXIT.
       when I use the regular logic "LOOP AT i_t_var_range INTO var_inpiut WHERE vnam = 'ZPCTR' ", it does not work. the exit variable works if I store some constant values, not variable values.
        Can you please suggest how can I work with this. Is there any table from which I can read the profit center value the users enters into the Exit variable.
    Thanks for your time,
    Ram.

    This error generally comes when we use some user input variable in the sequence which is not restricted in the query. Even though you are using the same filter for both planning sequence and query, check the planning functions inside the sequence which might read an user input variable which is not available in the query so that it is not appearing in the query selection screen. Like in FOX reading a variable using VARV or a variable restricted in the field for condition of planning function etc. Make sure that all the variables used in the sequence (planning functions) are kept in query restrictions if they are of type ready for user input so that they will appear in the selection screen.

  • Is it possible to display default values in input ready query.

    Hi Guys,
    Is it possible to display default values in input ready query.

    HI,
    Select the particular Variable.....in the right hand side u will find the default values tab....in that u can give the values...and save...if u run the query then it will show the default values for that Variable.selection....
    Thanks/Tarak

  • How to get Input-Ready Cell  Value of Input Ready Query?

    Hi,
    How to get input ready cell value in fox formula?
    for example :
    In Input-Ready Query,
    C_Code Month        Psale(input ready)
    1000          05.2012       800
    now i want Psale 800 in fox formua before value save in cube,
    is it possible?
    Thanks
    Ravi

    Hi,
    as I understand your requirement: you want to execute a planning function before 'save'. This possible, cf. note 1356805
    for more details.
    Regards,
    Gregor

  • Problem when Entering Decimal Values at Input Ready Query

    Hi Everyone,
    I have created Input ready query but when I am going to enter decimal values in input cell it takes as a round of value.
    Example:- If I enter 1.234 value at input cell it takes as a 1 or if I enter 1.789 value then it takes as a 2 at cell.
    The technical properties of Key Figure at Info object level is,
    Radio Button :- Decimal
    Drop Down :- FLTP (Floating Point)
    But we want to whatever value will enter at input cell, the same value will save at real time info cube level.
    Requirement :- If I enter 1.234 value at input cell it needs to take as a 1.234
    Please suggest your comments/views.
    Thanks
    Kind Regards
    Anukul

    Hi Giradkar,
    Check the setting of the UOM you are using in table 'T006' there are 2 fields that indicate how to display and how to store the values with respective UOM.
    Regards,
    Eitan.

  • Unit Conversion in Input Ready Query

    Hi Experts,
    I need to do unit conversion in Input ready query. here is the requirement.
    I have 3 columns in report, 'Year to Last Month', 'This Month' and 'YTD'. In this, 'This Month' is input ready. and YTD is sum of the first two collumns. I have a variables 'This Month' and 'Unit'. User may enter units either in Litres and HectoLitres. depends on the user input, i should get the values converted to corresponding units.
    currently, if i use Litres, i am able to get the result in Litres, when i select in HectoLitres, i should be able to convert the values in HL. please let me know if this possible and how.
    Thanks in advance!
    Best Regards,
    Ali.

    Hi,
    You can try unit conversion planning function,create planning function and add it at the back of button.
    Can refer to link below:-
    Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm

  • Insert new rows in a input ready query

    Hello,
    I have to build an input ready query in which the users should insert new records.
    In the "old" transaction BPS0 there was an option to do this but now I'm using RSPLAN for planning...
    What is the best way (or maybe a good way) to build this input ready query?
    Thanks a lot

    Hi,
    If these characteristics have no char relationship you can add new rows as follow:
    All the characteristics you have in your aggregation level must have single values in your input ready query. So restrict by variables or put them in the layout (not as a free-characteristic). In the front-end tools you have a select option to "Insert new lines". If you have added this you can add new records to your query. If you hover over a input cell and press F4 the user will get an input help.
    Hope this helps.
    Regards,
    Juriaan

  • How to allow users to record new lines in an input ready query?

    Dear All,
    I am using BI integrated planning (NW2004s) and I would like to create an input ready query with account numbers in the rows. I drag 0ACCOUNT into the line field in the BEx Analyzer which has many individual values in the relevant filter.
    I do not want to show all possible account values in the rows automatically (there are too many accounts) but I would like if the user write the desired account numbers by hand or select them from a list of possible values.
    In summary, I would like to create a solution similar to a BPS Layout where the characteristic combinations are 'From Transaction Data'.
    Is it possible to create an input ready qurey in such a way?
    Thanks in Advance,
    Dezso

    Hi Dezso,
    Yes,
    If you want the query to work like a "from transaction data" layout.  Goto the extended tab on the charicteristic 0account and change the setting under "Access type for result values" to "Posted values"  Then only lines with posted values will appear.
    M.

  • How can I do this input help in the Input ready query

    Dear all,
    Do you konw this function?
    The following steps is that:
    1,I create the Input ready Query.
    2,I can insert the new record.
    3,I can use the input help for the characteristics.
    4,When I double the space, I got the pop-up for input help.
    5,I want to get the function is that:
    for example:
    char1 is the char2 attribute.
    char2 - - - - - - - -- - char1
    m- - - - - -- -- - - - -a
    n-- - - - -- - - - - - a
    u- - - - -- - - - - - - -a
    v- - - - - - - - - - - -b
    w- - - - - - - -- - - -b
    x- - - - - - - - - - - - b
    when I write the "a" for the char1 in the new record at input ready query, I only want to got "m","n","u" for char2 from the char2 input help.
    How can do it?
    Thank you so much.
    Best regards,
    Leon

    Hello Leon,
    As you have already set char1 as an attribute of char2, what you would need to do is create an attribute variable for char2 of type exit.
    Using a variable exit, you can pass the value of char1 to char2. This would then automatically restrict the selection list to "m", "n", "u" as values for char2 when you enter "a" as the value for char1.
    Hope this helps.
    Sunil

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

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

  • Chars in columns for Input Ready query

    Hi
    Hope every body is just doing fine. I am puzzled with following doubt when compare BPS layout builder to IP input ready report. Please help me to clear some smoke here.
    We have a simple input ready query to enter some values in the key figure for given combination of characteristics for 12 fiscal year periods in the year.
    BPS >>> In BPS manual planning layout we would have selected the Key figure and Fiscal Year Period in data column and profit center and Plan Year in Header and Other characteristics like GL account,cost center in lead column so that we can hide the Fiscal year period by restricting the values of key figure for particular fiscal year period value while creating columns in Data columns like Jan 07. etc
    IP>>> So in IP, I have fiscal year period in aggregation level with all other chars and key figure. In input ready report, I have used the structure to pull the key figure and fiscal year period value to come up with column and not included the key figure in rows or columns of report but when I was executing the query system is automatically including the fiscal year period as free char. I am puzzled on how this is going to work. Is fiscal year period not populated automatically based on column.
    Your inputs are highly appreciated with point.
    Thanks,
    Raj.

    Hi Raj,
    Experiencing similar problems. Which GUI are you on ?
    thanks
    Ian

Maybe you are looking for