Input enable query column using Planning function

Is it possible to input enable a column in query based on user action in Radio button group or button group by calling a planning function or WAD?
By default the column property for query will be Planning not allowed, but a user action should change the mode to Planning allowed using planning function or entries.
Thanks

Hi Ravi,
you could try to write an exit data slice and a planning function which sets the data slice to not lock the data during runtime. You can find several threads in this forum. how an exit data slice can be used to control the locking of data during runtime.
Together with the command I mentioned in my last answer this may work, but it still depends on your requirements. A dataslice checks only the combination of characteristics. If you can identiy a characteristic for each column this may work. If not, there is no characteristic combination which can be locked. Please consider this when designing your application. This may lead to an additional characteristic which is used just to identify which column should be locked.
Hope this helps ...
Regards Matthias Nutt
SAP Consulting Switzerland

Similar Messages

  • How to create an input enabled query with Integrated Planning

    Hello experts. I have created an aggregation level in IP and I am trying to create an input enabled query based on this aggregation level.  My problem is in the properties.  On the query properties planning tab the Start query in change mode is grayed out and I am unable to select it.  Also on all the chararteristic properties on the planning tab, the planning settings are all grayed out as well and the No budgeting is selected.  There is a red exclamation here that says 'function not supported by server'  Any ideas?  Points will be awarded.
    Peter

    hi,
    go through this help for the procedure...
    [http://help.sap.com/saphelp_nw04s/helpdata/en/43/1d023a41130bd5e10000000a422035/frameset.htm]
    hope it helps...

  • Input Enabled Query - Web Template - Not able to change the key figure.

    Hello IP Gurus,
    This is a simple question .
    I have input enabled query and for all the KF's , I selected the radio button - data can be changed using user entries or planning functions , Equal Distribution and No disagrregation.
    I attached the query to a web template.
    When I execute the template I am not able to enter or change the key figures.
    Do I have to use any planning function to do that in the web template or I am missing any configuration . Please let me know how to change or enter the key figures
    Thanks
    Senthil

    HI Senthil,
    Please ensure that u have enabled the property  " start Query in changed Mode". This u can find it in the query properties under the advanced tab.
    For the Input readiness this alone is not enough.You have to use all the charecteristics that u have in the multiprovider or the aggregation level over which the query is built.
    regards.
    Shafi.

  • Object variable not set (Error 91) in Input Enabled query

    Hello,
    I'm having the following issue.  I have created an input enabled query and included it in a planning workbook.  Every time I open the workbook or query, and I got to an input enabled cell, I get the error below:
    Object variable not set (Error 91)
    This client has not used planning workbooks before.  The system is on 7.10 SP10 for Bex Analyzer and SAP Gui 7.10 Patch Level 13. 
    I'm not finding any relevant so far in SDN.  Any help anyone can provide is greatly appreciated.
    Thanks,
    Senthil

    Hello,
    Just wanted to let you all know that this issue has been resolved after updating my SAP Gui to 7.2 Patch Level 4 (Patch Level 5 was causing some other issues so I decided to stay at Level 4).
    Thanks,
    Senthil

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

  • How to Create an Input Enabled Query

    Thanks in advance for your help, and sorry for the seemingly simple question, but I am new to integrated planning.
    I am trying to provide a simple method for the end users to update planning data in a cube.  From what I read I should be able to do this with a real time cube and an input enabled query.
    I have created the real time cube with my desired characteristics and key figures.  I have loaded base data to it and change it to be input ready.
    Now I need to create my input ready query.  I cannot seem to figure out how to do this.  From BEx Analyzer the options for enabling input and change mode at query start are greyed out.
    Can someone enlighten me on what I am missing or suggest some reading on how to do this?
    Regards
    KB

    OK, I got over this hurdle.  Turning a KF on for input enable the selection to have the query open in change mode.  However, when I do this and run the query in WeBEx the query line style changes to all blue and does not allow input.
    I have all my Characteristics from the cube included in the aggregation and have included them all in the query as well (in the same order).
    Any thoughts?

  • I want single update query without use the function.

    I want to update sells_table selling_code field with max date product_code from product table.
    In product table there is multiple product_code date wise.
    I have been done it with below quey with the use of function but can we do it in only one update query
    without use the function.
    UPDATE sells_table
    SET selling_code = MAXDATEPRODUCT(ctd_vpk_product_code)
    WHERE NVL(update_product_flag,0) = 0 ;
    CREATE OR REPLACE FUNCTION HVL.maxdateproduct (p_product IN VARCHAR2) RETURN NUMBER
    IS
    max_date_product VARCHAR2 (100);
    BEGIN
    BEGIN
    SELECT NVL (TRIM (product_code), 0)
    INTO max_date_product
    FROM (SELECT product_code, xref_end_dt
    FROM product
    WHERE TO_NUMBER (p_product) = pr.item_id
    ORDER BY xref_end_dt DESC)
    WHERE ROWNUM = 1; -- It will return only one row - max date product code
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN 0;
    END;
    RETURN max_date_product;
    END maxdateproduct;
    Thanks in Advance.

    Hi,
    Something like this.
    update setlls_table st
            set selling_code =(select nvl(trim(product_code)) from 
                                  (select product_code
                                          , rank() over (partition by item_id order by xref_end_dt DESC) rn
                                       from product
                                   ) pr
                                   where rn =1
                                         and pr.item_id = st.ctd_vpk_product_code
                               ) where NVL(update_product_flag,0) = 0 ;As such not tested due to lack of input sample.
    Regards
    Anurag Tibrewal.

  • Use Planning Function to calculate new value

    Hi All,
    I have what seems to be a simple problem, but no success in resolving.
    I have 3 planning keyfigures:
    -Units
    -Price
    -Value
    The price field is populated from another planning sheet.
    The unit field is entered by the user.
    The value should be calculated by planning function when button pushed.
    I have tried just basic "Value=Units*Price", but always comes back zero.
    I have also tried more complex "{Value, CharA, CharB, CharC} = {Units, CharA, CharB...." for each characteristic.  Still zero.
    It must be multipling by zero, but not sure how to avoid.
    If I put "Value=Price", it works. If I put "Value=Units", it works. If I put "Value=Units+Price", it works.
    Please help.
    Terrence

A: Use Planning Function to calculate new value

Here is the details.
In the infoprovider the data is like this:
Country/    Product/     Unit Sales/     Price/      Value
DE/             Shirt/            50/                 0/             0
DE/             Shirt/              0/             100.00/        0
The query is display:
Country/    Product/     Unit Sales/     Price/      Value
DE/             Shirt/            50/              100.00/         0
I have tried the following 2 formulas:
Formula 1:
= {Unit Sales} *
Formula 2:
FOREACH Country, Product.
{Value, Country, Product} = {Unit Sales, Country, Product} * {Price, Country, Product}
ENDFOR.
Both return zero for values.
Thanks,
Terrence

Here is the details.
In the infoprovider the data is like this:
Country/    Product/     Unit Sales/     Price/      Value
DE/             Shirt/            50/                 0/             0
DE/             Shirt/              0/             100.00/        0
The query is display:
Country/    Product/     Unit Sales/     Price/      Value
DE/             Shirt/            50/              100.00/         0
I have tried the following 2 formulas:
Formula 1:
= {Unit Sales} *
Formula 2:
FOREACH Country, Product.
{Value, Country, Product} = {Unit Sales, Country, Product} * {Price, Country, Product}
ENDFOR.
Both return zero for values.
Thanks,
Terrence

  • Input Enabled Query

    Hello BI Gurus,
    I have an input enabled query . I have a restricted KG based on the fiscal period and amount KF.
    For example:
    Sales order           001/2009/Amount         002/2009/Amount       003/2009/Amount
    100                      1000.00                            ---                         -
    if there is any value  then the field is input enabled and if there is no value then it is display only.In the above case  001/2009/Amount is input enabled and the remaining 002/2009/Amount     & 003/2009/Amount      are display only since it doesn't have any values.      
    If I have to move the amount 1000.00 from 001/2009 to 003/2009, how I have to do it. Please advise.
    Thanks again for helping me.
    Senthil

    Hey Senthil
    The right question to ask is -
    Why are the cells with values only input-ready while the other cells which does not value are display only (not input)?
    In my opinion, once you make the query input-ready, all cells should become input-ready, not just the ones which has values?
    Once you have all the cells open for input, then the user can move the values from any month to any month.
    Anyone?

  • Invalid column name in query string - using Format function

    In my post just before this one the problem was solved for writing a query string using a date range. The rest of the query string includes the same date field (Call_Date) but formatted as 'MMM-YY'. I get an invalid column name error when I add this field to the query string. Here is the rest of the query string:
    strSql = "SELECT Format(CALL_DATE,'mmm-yy'), " _
    & "HOME_REGION FROM CCC2.CASE_EPRP " _
    & "WHERE (HOME_REGION = 'NCR') AND " _
    "(CALL_DATE >= to_date( '1/1/2002', 'MM/DD/YYYY' )" _
    & "AND CALL_DATE <= to_date( '2/28/2003', 'MM/DD/YYYY' ))"
    In the Access Query tool I can include this field
    Format(CALL_DATE,'mmm-yy')
    and the query runs fine (I just need to make it dynamic using ADO). But in my ADO query string above, I get the invalid column name error. Is there a way I can include
    Format(CALL_DATE,'mmm-yy')
    in my ADO query string? I appologize for not being more familiar with Oracle Sql. Any help greatly appreciated.
    Thanks again,
    Rich

    Thank you very much for your reply. I think I'm getting closer to the solution. Just I got an error message
    "date format not recognized"
    when I add "to_char( call_date, 'mmm-yy' )" to the query string. I tried using all uppercase, but that did not make a difference. Do I need to use to_date inside the to_char maybe?
    to_char(to_date(call_date, 'mmm/yy'), 'mmm-yy')
    Thanks again for your help.
    Rich

  • Issue with Input Ready Query in Integrated Planning.

    Hello Everyone,
                                I've been working on Integrated Planning for some time now. My company recently started using a new server for this work. I find that I am unable to make the queries "input ready". Though I edited the properties of the key figure to "accept user entered values" and chose the option to "start query in change mode", when I execute the query, I find that it the values for the Key Figure cannot be changed. I tried to search in the OSS for any note(s) regarding this issue, but was unable to come up with a solution. Is the problem related to the server or is there some other configuration that I should take care of? Additionally, I would also like to know if there is any method to debug such a problem. I would appreciate it if someone could help me out in this regard.
    Thanks,
    Jake.

    Hi,
    Please verify the following.
    1. Check if the underlying realtime cube is in "Planning Mode:Loading not allowed" state in rsa1
    2. If you have created an aggregation level, Check if the most detailed information is available at that Aggregation Level(i.e, include characteristics so that the record can be uniquely identified at that aggregation level).Best would be to include all characteristics and create a query first and ensure it works.Then remove unwanted charecteristics one by one, so that you can fix the issue.Best thing to start with is to create the aggregation level on top the real time cube itself.
    3. Check for any characteristic restrictions been defined for the real-time cubes.If so, try removing them temporarily and execute the query
    4.Also check if any data slices has been created on the real time cube. If so, try removing it temporarily and then execute the query.
    5. Set the property for Planning "Start query in Change Mode"- this is for th Query
    6. Set the 'Key Figure' Planning Property to "Can be changed Manually or via Planning Functions" for the appropriate KeyFigures- this is for the key figures
    7. Try removing the currency/unit from row/column. Try restricting them in filters rather than in row/columns.
    8. Check if there are any locks occurring due to filter., i.e if you are using a filter and even if 1 record of this selection locks with another user's selection you lose the input readiness.
    Mostly this should fix the issue. Assign points if this info helps you.
    Thanks,
    Balaji.

  • Pass variables from dialogue query to batch planning functions

    The requirement.
    The user will open an u2018open-for-inputu2019 query (Web Template) using a number of variables (some are type exit). After entering data, the user will close the process by saving the data. The u2018Saveu2019 button will start a Planning Sequence which includes open data slice, distribution, copy,  repost function and close data slice. The user will not wait for any feedback from these processes so they should be done as back-ground processes (in any case the dialogue process will time out).
    The problem.
    The background process will be started from the query u2018Saveu2019 button. This is easy enough to do.
    However it is absolutely vital that the variables are passed from the query (which may or may not still be active) to the same variables that will need to be filled in the Planning Functions in the background process. I imagine that the background process will be a Process Chain .
    Help needed.
    1. Can anyone give me the way in which this is done?
    2. It could be critical that the user does get feedback in some form or other if the back-ground processes fail for whatever reason. Any ideas how this can be achieved at the user interface level. The users will not have 'SAP Savy' and the log in the Process Chain will not be transparent to them.

    One approach..
    Have diff variables for query and planning seq.
    Say V1, V2 etc for query and VF1, VF2 etc for data slices and planning functions.
    Maintain one Z-table which contains variables V1, V2 etc along with their values.
    So when the users select query variables, on save, one exit function will write these variable values to the z-table. The variables used in planning seq and data slices (VF1, VF2..) will be exit variables which read corresponding entries from Z-table (V1, V2...). So background process will run based on what the user has selected.

  • SQL LOADER: how to load CLOB column using stored function

    Hi,
    I am a newbie of sql loader. Everything seems to be fine until I hit a
    road block - the CLOB column type. I want to load data into the clob
    column using a stored function. I need to do some manipulation on the
    data before it gets saved to that column. But I got this error when I
    run the sql loader.
    SQL*Loader-309: No SQL string allowed as part of "DATA" field
    specification
    DATA is my CLOB type column.
    here is the content of the control file:
    LOAD DATA
    INFILE 'test.csv'
    BADFILE 'test.bad'
    DISCARDFILE 'test.dsc'
    REPLACE
    INTO TABLE test_table
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    codeid          BOUNDFILLER,
    reason          BOUNDFILLER,
    Checkstamp     "to_date(:CHECKSTAMP, 'mm/dd/yyyy')",
    "DATA"          "GetContent(:codeid, :reason)"
    All references are suggesting to use a file to load data on
    CLOB column but I want to use a function in which it generates
    the content to be saved into the column.
    Any help is greatly appreciated.
    Thanks,
    Baldwin
    MISICompany

    *** Duplicate Post ... Please Ignore ***

  • How to execute process chains using planning function

    hi, i need to execute process chains from web. i know the steps to that needs to be followed for accomplishing the task.
    1) RSPC_CHAIN_START ( function module) into which process chain has to be passed
    2) create a planning function to invoke the said function module
    3) create a function button on web and assign the planning function.
    Now the thing is how to create the planning function in BPS. plz provide me a solution with steps. And how to pass the process chain into the function module and handle it.
    Thnaks

    Hi Anand
    RSPC_CHAIN_START is the standard function module to run a process chain which i want use. Now, how to use the said FM in planning function to achive my task. Do i need to maintain any parameter in planning function inorder to execute the FM. If you know the solution plz explain in detail.
    I am very new to BPS..bare me plz
    Thank you

  • Read data in InfoCube using Planning Function

    Hi Expert,
    someone know the appropriate FMs for reading data in an infocube and provide data, from the same infocube, to the bps cube using FM-Init and FM-Exit in a planning Function?
    Many Thanks in advance
    Fabio

    You could try to use FM RSDRI_INFOPROV_READ: it will give you back the data in E_T_DATA.
    Hope it helps
    Regards

  • Maybe you are looking for

    • Why is my other APPLE ID - BLOCKED?

      Hello there, My Apple ID has recently been giving me this faulty message 'Your account is disabled This Apple ID has been disabled for security reasons. Tap reset to reset your password' I press Reset, nothing happend. Please help me with this as it

    • Convertion of HTML to Text

      Hai, Please suggest me how to convert the HTML to Web format

    • I want Inbound Delivery number from Material document

      Hi, I wish to know where is the Inbound Delivery number (which SAP table) stored when we do a MIGO_GR against an Inbound Delivery ? I want to fetch the Inbound Delivery number from the Material document number. I observe, when we do a MIGO_GR against

    • Movie flickers after rendering

      Hey fellows, after rendering my graded clips flicker in all formats even as animation sequenz. It seem's that every half-frame is replaced by black frame. Where in the settings or output-settings could I combine the half-frames? Any idea? Thanks ralf

    • Rollback when SQLException is thrown

      Hi all, If the set autocommit is false and if any statement throws SQLException then what will happen to that transaction. Will it rollback the entire transaction ?. Before returning the connection to pool do I have to set autocommit to true ? By def