Deriving a default value to a input cell

Hi All,
in QD I am trying to calculate a value based on entered stuff by users (discounts etc). I want to use the calculated figure as a "default/suggestion" and the user should when planning be able to change this value (BI-IP).
I want to do this on the same layout where the user enters the discount(real-time from the Bex). So a user enters discounts the system calculates a price and this price should be changeable. 
I cannot find a way to do it - but were wondering if I could utilize virtual keyfigures for this and feed the calculated price into a virtual keyfigure which is marked as input-ready. Any suggestions/experiences are appreciated.
/MiB

Simon, I don't quite follow how I can use formula variable(in the bex) - as I am not able to associate them with a restricted keyfigure. So to use a formula variable I need to use a formula - and that one cannot be input ready.
Or am I missing something here.
On the planning workbook it would be something like(simple)
Product, customer, Cash discount %, Rebate %, Grossprice, Netprice
And above I want netprice = Grossprice - Rebate % - Cash discount %
Further I want the users to be able to change the netprice and if they have done that then the subsequent calculations should be avoided.
/MiB

Similar Messages

  • How to set the current month as the default value of an input control?

    Hello,
    I want to set the current month or current year as the default value of an input control. Something like try to get the month from the currentdate() formula and assign it to the input control.
    Is this possible?
    Thanks & Regards
    SU

    >
    soauniverse wrote:
    > Hello,
    >
    > I want to set the current month or current year as the default value of an input control. Something like try to get the month from the currentdate() formula and assign it to the input control.
    >
    > Is this possible?
    >
    > Thanks & Regards
    > SU
    I don't think so.  I tried to find a property or something in that Input Control but there is nothing to set it that way.

  • How to make default value in form input field disappear on user click

    I have an HTML input tag with a default value.
    How can I have that value disappear when user begins to type?
    Form is here:
    http://www.kardsbykaren.us/10pack.php
    Happy Holiday and thanks.

    Have a look here http://www.matiasmancini.com.ar/ajax-jquery-validation-html5-form.html
    Gramps

  • Default Value in Numeric Input Field in Visual Composer Application

    Hi All,
    I have developed a visual composer application which has a numeric input field for Hours.
    It is mapped to a backend module.
    We are using portal 7.31
    The problem is that the deafult value of this input field is "0", but the rquirement is to display as "0.0"
    The functionality has been tested with input values in decimals and works fine. The problem is when the screen first populates, that field should show "0.0" .
    Please advise.
    Thanks

    Hi Soumya Chanda,
    I don't know of an agreeable way around it. You could have a textual input, but then it doesn't have the numeric control behavior, plus you need to handle incorrect typing (alphanumeric notes).
    Sorry!

  • Default values in the input fields of Adobe forms

    Hi,
    The default value settings in the value tab of the object pallette(Adobe Designer) is not getting reflected at the form (Portal level).. PLs help. what could be the reason for this.
    Can it be done through coding? if yes, pl[ease help with regard to it.
    I appreciate your valuable comments.

    Hi,
    If you are using <i>ISR based Adobe Interactive Forms</i>, you can set the default values using <b>INT_SERVICE_REQUEST_INIT</b> method if<b> QISR</b> BADI.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Assinging default values when nothing input to varibale by user.

    Hello I need to right a script that will ask for 2 date ranges to be specified by the user, this script should default to the earliest and most recent date in a table if the user dosent enter anything for each value. My script will be something like this
    SELECT *
    FROM table1
    WHERE order_date BETWEEN &var1 AND &var2
    I tried using define to give the variables an initial value but instead the script uses that value and dosent ask for input. Is it possible to use varibales this way and if so then how can I do it.
    Thanks
    Mike

    Consider this,
    SQL> create or replace function maxdate return date is
    2 lv_dt date;
    3 begin
    4 select max(hiredate)
    5 into lv_dt
    6 from emp;
    7 return lv_dt;
    8 end;
    9 /
    Function created.
    SQL> ed
    Wrote file afiedt.buf
    1 create or replace function mindate return date is
    2 lv_dt date;
    3 begin
    4 select min(hiredate)
    5 into lv_dt
    6 from emp;
    7 return lv_dt;
    8* end;
    SQL> /
    Function created.
    SQL> select mindate, maxdate from dual;
    MINDATE MAXDATE
    17-DEC-80 23-MAY-87
    SQL> select * from emp
    2 where hiredate between nvl('&H1', mindate) and NVL('&H2', maxdate);
    Enter value for h1:
    Enter value for h2:
    old 2: where hiredate between nvl('&H1', mindate) and NVL('&H2', maxdate)
    new 2: where hiredate between nvl('', mindate) and NVL('', maxdate)
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800 20
    7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
    7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
    7566 JONES MANAGER 7839 02-APR-81 2975 20
    7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
    7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
    7782 CLARK MANAGER 7839 09-JUN-81 2450 10
    7788 SCOTT ANALYST 7566 19-APR-87 3000 20
    7839 KING PRESIDENT 17-NOV-81 5000 10
    7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
    7876 ADAMS CLERK 7788 23-MAY-87 1100 20
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7900 JAMES CLERK 7698 03-DEC-81 950 30
    7902 FORD ANALYST 7566 03-DEC-81 3000 20
    7934 MILLER CLERK 7782 23-JAN-82 1300 10
    14 rows selected.

  • How to set a default value for a input dialog

    I use JOptionPane.ShowInputDialog("Input Please");

    JOptionPane.showInputDialog("hello", "default");Also, this would be helpful:
    http://java.sun.com/j2se/1.4/docs/api/javax/swing/JOptionPane.html

  • How to set default value to input field

    Hi Experts,
    I need to set default value to one input field for the transaction crmd_order as a screen variant. Guide me in doing that.
    Regards,
    Harish

    Using the transaction SHD0, you can define the screen variant. While defining the sceen variant, you are allowed to define the default values.
    Using screen variant, for the main transactoin, you can also define the transaction variant and you can use this as an independent transaction.

  • Loading a default value to a text  field

    Hi All...
       I  have some input fields say account no.. , i want that these input fields should be loaded with default values. How can i specify default values to these input fields.
    Plz help...

    hi bichoo..
              all your input fields would be bound to different attributes..... for every attribute you have an option called default value... in the context... you can make use of that...
                   or
               in the wddoinit method, you  can pass teh values to these attributes dynamically using set_attribute method.
    ---regards,
       alex b justin

  • How to set default value of VO from pageflowscope variable

    Hi All,
    I have a page for creating new records and when the user clicks on the create button I show a pop up window for creating the new record.
    I would like to default few values when the page pops up.I have these default values in pageflowscope variables at this point of time.
    I guess I might have to override the create method of the VO row impl and set the default values.But How do I access the pageflow scope variables in the VOROwImpl.
    Please let me know.
    If this isnt the best way of doing it, please suggest alternative best practice.Thank you!
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Have a method in AMImpl which would take the list of attributes along with the values (that are to be defaulted).
    In this method, create & insert a new row and set the default values from the input parameters.
    Expose this method thru client interface so that it is exposed as part of data control.
    In the View/UI layer, to create a new row, call this AM method thru the data control with the list of page flow scope variables that you have currently.
    Thanks,
    Navaneeth

  • Plsss help me: how to set default values in html:file and html:radio

    Hai,
    To set default value to text box i use the following code. It works well.
    <html:text property="modifyserverdesc" value="<%= serverDesc%>" styleClass="text" size="38"/>But for file i use the code
    <html:file styleClass="file" property="modifyserverimgfile" value="<%= serverImage%>" size="40"/>It doesn't display value. What is problem here?
    how to set default selection in <html:radio>.

    No it won't help.
    You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
    The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
    Bottom line: you can't put a default value into the input type="file" control.
    And a good thing too ;-)

  • Allowing user to modify default value - is this possible?

    A report needs to be produced with the default value of an input variable (0FISCPER) set to the current fiscal period - this is used to calculate the YTD and Full Year Forecast of the present year. The default is required to allow the user the view the present day information without having to enter the current date manually - i.e. <b>no pop up variables screen</b>.
    The complication occurs when it is required for the user to be able to modify the input variable to view historical data. Is it possible for the end user to adapt the current default (i.e. the current month) to a month of his/her choice?

    Thanks all - I've been experimenting a bit over the past few days with this. This is my situation so far:
    The Year-to-Date and Forecast variables take in 0F_FPER as its input - 0F_FPER is a user entry variable.
    There is a user exit variable which exists in the system which returns the current fiscal period called 0FPER. I need this variable to be the YTD and Forecast default inputs <i>without the variables entry screen popping up</i>.
    Once the user is in the report, it is required to be possible for them to enter a date (it may be in the previous year) to allow them to view historical data.
    <u>What I am thinking about doing is creating new YTD and Forecast variables that will take 0FPER in as an input.</u>
    However, 0FPER is hardcoded to return the current fiscal year. <b>Is it therefore possible to allow the user to input another value into 0FPER? Would this not conflict with the coding?</b>

  • Set field default value

    Hallo everybody!
    at the moment I need to set a few default values into WebUI input fields. For example I want to determine the Account which is linked to a certain Person and fill the acount data into an input field when a new customer visit report is created. Whenever a new report is created, this account info input field shall be prefilled with the determined data.
    My question now: how can I prefill input fields with default values in WebUI?
    Thanks for your help and best regards!
    Markus

    This has been discussed several times. take a look at the folowing links:
    setting default value in WEB UI
    or
    BADI_CRM_BP_UIU_DEFAULTS with method GET_DEFAULT_VALUES
    regards.

  • Default Value - Transaction currency

    Dear All,
    In my breakdown categories, i have transaction currency as one of the characterisitic.
    The breakdown type specified for it is - Req Breakdown: if blank default value is used.
    I understand from my testing - that the system populates the local currency of a consolidation unit as the transaction curr - when a missing entry is found.
    Want to know -
    How the system derives this default value for transaction currency?
    Thanks!

    I m sorry for the ambiguity in my question.
    Let us say,
    I have specified breakdown category A for financial item 12000.
    In the breakdown category A - i have specified breakdown by transaction currency.
    For this breakdown i have specified breakdown type as - required breakdown:if blank, the default value is used
    When i do a flat file upload (12000 item has no transaction curr specified), the system gives the message as
    Breakdown Item 12000 by Transaction Currency: Default value inserted
    Message no. UCD1028
    Diagnosis
    The current record has no value for characteristic Transaction Currency.
    System Response
    The characteristic Transaction Currency will be filled with default value  because Item 12000 has no breakdown by Transaction Currency, does not post in Transaction Currency, or because the value of Transaction Currency is initialized.
    Want to know, how this default value is filled.
    (Does it fill as transaction curr - the local currency of the consolidation unit - for which the upload was done?)
    Thanks!
    Edited by: Kumar on May 20, 2009 8:51 PM

  • How to pass Default value of a cell in to input control

    Hello Guys,
    We have a WEBI which has a floating cell and populated as Today's Date everyday when user runs it. Now user wants little modification and wants Input control for Date. He also wants to pass on the values selected in input control to that floating cell. How can I do that?
    Any suggestions?
    Regards
    Aj

    Hi nitya,
    I think u didnot get my requirement.
    my requirement is i have an complete editable ALV with all fields as input fields.
    now when i enter a value under material and press enter  i need to capyure the
    material value and based on the material value i need to get the details and populate all those values in the respective fields.
    All i need to do is get the material number that is entered.
    in the pdf of using ALV events it is such that editable cell editors trigger ON_DATA_CHANGED  event and non-editable cell editors trigger ON_CLICK event.
    But i couldnot find the ON_DATA_CHANGED event in the ALV events.
    Help me out in finding the event.
    Cheers,
    Madhu

Maybe you are looking for