Initial value for a dropdown box

Hello all,
I have created a web template in the WAD (BI 70) with a dropdown box on a characteristic. A chart is displayed based on the query result. My query is built on an infoset.
My problem is to populate the filter with an initial value and still let users change the characteristic value in the dropdown (all values for the characteristic is not acceptable in the context) . Also, I don't want the variable screen to show up.
What is the best approach to achieve this?
Thanks,
JL

In Query Designer you put in your default value in the area to the right in the first pane..
If you put it on the left hand side, the filter will not be changeable.
Hope this helps.
Can give more presise answer if you need it.

Similar Messages

  • How to set initial value for a dropdown box?

    Hi,
    Within Netweaver 2004S (BI 7.0) we use integrated planning. In one of our applications we want to use a dropdown box (created with the WAD) to make a selection possible for a characteristic.
    We set up a pre-query to fill the dropdown box (via data binding CHARACTERISTIC_SELECTION) with the proper values. This works fine.
    We pass on the choosen entry (via command SET_VARIABLES_STATE) to a second variable that is used in another query. This command is triggered after the user makes a selection in the dropdown box. Also this works fine. After selection of one entry, the output of the second query is limited.
    We have the following problem: the first time a blank selection entry is added to the dropdownbox and that no values are passed on to the second query. Because it seems that the user first must choose an entry.
    What we would like to do is that one of the found values of the pre-query is automatically selected in the dropdown box and passed on to the second variable (to limit the second query).
    I give you an example:
    The first query delivers value A, B, and C for the characteristic of the dropdown box.
    The first time the dropdown box showns an empty entry, and three additional entries A, B and C. The second query shows all results, because the second variable doesn't receive any value via the command SET_VARIABLES_STATE. The command is not yet triggered.
    When you select A, B or C, the command is triggered and the second query shows only results for the choosen entry (this is correct). Now the empty entry has disappeared from the dropdown box. Only the entries A, B and C are left.
    Is it possible to set up the dropdown box on such a way (or add some script coding around it) that in the initial show for the dropdown box one of the entries is choosen automatically, so that the empty line is not part of the value set of the dropdown box and that the command connected to the dropdown box (in our case the SET_VARIABLES_STATE) is carried out automatically?
    Please, who can help us with this?
    Kind regards and thanks in advance,
    Marcel.

    Hi,
    In BW 3.5,say you want to set default for calmonth.
    In order to avoid the “ALL” option from appearing in the dropdown box,
    filter infobject 0CALMONTH for DP1 by any valid value.
    In the object Data_provider include the lines in Bold:
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DP1"/>
    <param name="QUERY" value="WORKSHOP_CALMONTH_DROPDOWN"/>
    <param name="INFOCUBE" value="0D_SD_C03"/>
    <<b>param name="FILTER_IOBJNM" value="0CALMONTH"/>
    <param name="FILTER_VALUE" value="200401"/></b>
    DATA_PROVIDER: DP1
    </object>
    Hope this helps.
    Anu.

  • What the Initial value for sy-tabix & sy-index

    Hi Folks
       I have a small doubt.
    What the Initial value for sy-tabix & sy-index?
    Can anyone please clarify me?
    Regards,
    Sree

    hi sree,
    both values are initialized to 0 before processing and after processing values are changed according to used scenarios.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • Error: Missing initial value for session parameter

    Hi,
    I'm facing a problem while running the ETL process for Complete 11.5.10 Execution Plan in DAC Client. Some tasks are getting failed beacuse of the following error:-
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: VAR_27026 [Error: Missing initial value for session parameter:[$DBConnection_OLAP].].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6270 [Error: Variable parameter expansion error.].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6163 [Error initializing variables and parameters for the paritition.].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6226 [ERROR:  Failed to initialize session [SDE_ORA_Product_Category_Derive_Full]].
    ERROR : LM_36320 [Mon Nov 19 21:02:08 2007] : (2108|2632) Session task instance [SDE_ORA_Product_Category_Derive_Full]: Execution failed.
    When i checked the parameter file i can see the value assigned to the $DBConnection_OLAP. The same tasks ran successfully when i ran the ETL process for Complete 11.5.10 for the first time. I did not change anything after that and also all these are came built-in with the installation of Oracle BI Applications.
    Please anyone give me an idea what is causing the problem.
    Thanks,

    in DAC > Run History > Task Details, query
    Name = SDE_ORA_Product_Category_Temporary
    Open Status Description, look for string -lpf, the file after it is the actual parameter file DAC send to INFA server. E.g
    -lpf D:\DACTOPUS\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Product_Category_Temporary.txt
    Open the parameter file, most likely the [session_name] does not match with SDE_ORA_Product_Category_Derive_Full or some parameters are missing.

  • Incorrect initial value for char 0FISCYEAR in i_t_range in DTP filter prog

    Gurus
    I need your help , I have searched all the threads but could not find anything which can help me resolve this issue.
    I have a filter in DTP as a routine to get the year from system date.
    The program is correct for syntex but when I trigger the DTP I am getting the following message , not sure what needs to be added to my programe.
    Incorrect initial value for characteristic 0FISCYEAR in i_t_range
    Message no. DBMAN889
    appreciate any help I can get to reoslve this ASAP.
    Thanks in advance

    Hi
    Pleae check if you have initialised with a NULL value . "blank/null" is indeed not a valid characteristic value for fiscal period. Fisc.per is of type NUMC which means all characters have to be numerical. The initial value should be "0000000" .
    Thanks,
    Rajesh.
    Please provide points to answers if you find them helpful

  • Incorrect initial value for characteristic 0fiscyear in i_t_range

    Hi,
    While extracting the data from the source DSO to Target I got an error message like '' Incorrect initial value for characteristic 0fiscyear in i_t_range".
    what is the step should i take to resolve this?
    Thanks in Advance.

    Gurus
    I have the same problem with my ABAP code written in DTP filter.
    Can anyone please help what needs to be done , I am getting this error when I try to load the data to cube.

  • What is the initial value for a numeric field ??

    Can someone tell me what the INITIAL VALUE FOR A NUMERIC FIELD is ?? Thank you
    Rod.

    Using the following...
       class MyClass
         int myvar1;  // Default initial value
         int myvar2 = 3;  // Default initial value and default value
         MyOtherClass myclass1; // Default initial value
         void doit()
           int mylocal1;  // No value
           MyOtherClass myclass2; // No value
    All number member variables, like myvar1 start off with andefault initial value which is zero. For booleans this is false. Object reference variables, like myclass1, have a null value.
    All local numeric variables are considered undefined. So mylocal1 and myclass2 are undefined. Before you can use them you must explicitly provide a value.
    Finally note that myvar2 will have two values during class instantiation. Initially it will have a value of zero. Sometime later it will have the value of 3. (When that happens is very definitely outside the scope of what this forum covers. If you want to know then ask in the advanced forum.)

  • How can I filter the Values for the dropdowns in webdynpro

    I have given data source to table, but as there are some repetitive values in table of dropdowns, I want to filter the Values for the dropdowns in webdynpro.
    How can I do this?

    I have given datasource to table in properties of table.
    I have 2 different dropdowns for different columns in the table.
    if the size of the table is 20 I get all the values populated in the dropdowns.
    In these values, there are some repetetive values which I dont want to appear.
    I can display it by making loop and can select from the values.
    the problem is how to set the new values to that drop down again using context?
    eg
    dropdowns have,
    presales activity
    presales activity
    presales activity
    presales activity
    presales activity
    I need to filter the variable element and put back it in dropdown.
    Thanks and regards
    Hanif Kukkalli

  • How to avoid roundtrip to server on value select in dropdown box in ALV cel

    Dear Experts,
    I have WD ALV table where user edits values in the cels using dropdown by key element.
    Then after edit he saves whole table. When value is changed in dropdown box the roundtrip to server occurs and it takes noticable time for every cell. My dropdown lists are fixed and are the same for all rows. It is not pleasant user experience and is annoying for user.
    Is there a way to disable this roundtrip for each value selection for each cell and transfer all the data for whole ALV table only when I save whole table (separate button "Save")?
    Help very much appreciated.
    Dmitry

    A lot of enterprises, however, actively avoid systems which are locked down to a particular server for very legitimate reasons. If my data center dies in the middle of the night, I sure don't want to have to call your mobile phone so that you can get to a computer, log in to the office network, and get me a new key so that I can finish my emergency failover. If I've got dozens of applications, I absolutely don't want to do that with dozens of different vendors.
    It sounds like your problem, though, isn't that users are installing your software on multiple computers it's that they are accessing functionality they haven't licensed. That is generally a much easier problem to solve and doesn't require you to lock anything down to a particular machine. You can create a table LICENSED_CONTENT, for example,
    CREATE TABLE licensed_content (
      client_id    NUMBER,
      content_type VARCHAR2(30),
      key          RAW(128)
    )In this case, KEY is, say, a hash (using the DBMS_CRYPTO or DBMS_OBFUSCATION_TOOLKIT packages if you'd like) of the client_id, content_type, and a bit of salt (i.e. a fixed string that only you know). When you sell a license to manage diamond content, you provide a script that inserts the appropriate row in the LICENSED_CONTENT table. When your application starts up, it reads the LICENSED_CONTENT table and verifies the hash before allowing users to access that type of content. This allows legitimate customers to move the software from one system to another but prevents them from accessing new functionality without a new license.
    Justin

  • Get values based on Dropdown box selection-Important

    Hi All,
    In first table, i have an two textfields one is for "item no" and other is "item desc" and in the second table I have an "dropdown box" and "item desc".
    Whatever is entered in the "item no" its populating in the "dropdown box", when an dropdown is selected any item that item desc should be displayed.
    For example: In first table
    Item no  Item Desc
    item 1   abc
    item 2   def
    item 3   ghi
    and in the second table
    Dropdown box   Item desc
    item 2   def
    item 3   ghi
    When am selecting item2 in dropdown box the related text is not getting dispalyed. And moreover the using instindex and the value is populating 0, below is the script
    var Instindex = xfa.resolveNode("Page1.Subform1.Table1.Row2.Calculation").rawValue;
    app.alert(Instindex);
    var my_concatcomm = xfa.resolveNode("Page1.Itemtable.Table2.Row2[" + Instindex + "].EnterItemDescription").rawValue
    var my_concatcomm = "Page1.Itemtable.Table2.Row2["+ 3 +"].EnterItemDescription"
    app.alert("Index value::"+ xfa.resolveNode(my_concatcomm).rawValue);
    Can anybody please help me on this.
    Thank you for your help in advacne

    Yes one more thing, i do not want any buttons or anyother webitem to be clicked to get this. this should be set with some commands if avilalbe or some other guess ?

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", which displays when I run the page, and lets me change it and validate it using the associated LOV.
    What I would rather do is set the initial value programmatically, but here are my problems:
    If I set the value like this:
    OAMessageLovInputBean lovText = (OAMessageLovInputBean)pageLayout.findIndexedChildRecursive("PFedFilingStatus");
    lovText.setText("02");
    then the field displays properly at run time, but can't be changed. The LOV runs, but any value I select flips back to "02"
    If I set the value like this:
    lovText.setDefaultValue("02");
    then nothing seems to happen at run time. The value is not displayed at all.
    Can anyone tell me what I am doing wrong? Thanks for your help.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, that helps a bunch. Now can you tell me where that is set?
    Thanks so much.
    --Dave                                                                                                                                                                                       

  • Default initial value for opportunity field

    Hi all,
    What is the fastest and most elegant way to achieve this requirement:
    When user clicks create opportunity the field "Relevant for forecast" should be default unflagged. Currently it defaults it to be flagged. It should only happen at creation time. The user should be able to flag the field again before saving. So basically I need to make sure that the defaulting is only done once in the lifetime of an opportunity (i.e. at the very first creation).
    Br,
    Anders

    Hi,
    1) Enhance your component
    2) Enhance view "BT111H_OPPT"
    3) Generate GETTER/SETTER for "STRUCT.FORECAST_REL" in context node "BTOPPORTH"
    4) Add the following code at the end of the method "GET_FORECAST_REL"
    IF value IS INITIAL.
    * value = 'X'  -> to check the checkbox if initial
    value = ''.
    ENDIF.
    This should work, but I have not tested it in this case.
    Kind regards
    Michael

  • How to set default value for drop down box in jsf

    Hi,
    Can anyone help me to set the default value in drop down box using <af:selectManyChoice> ?
    As I know there is an unselectedLabel attribute in <af:selectOneChoice> but not valid attribute for <af:selectManyChoice>.
    Any help must be appreciated.
    Regards,
    AK

    Hi Frank
    My entity type is a List in managed bean. I have set the entityType in the constructor of the managed bean. I have attached my code here.
    TPSearchCriteriaBean.java****************************************
    /** Constructor */
    public TPSearchCriteriaBean() {
    super();
    entityType=new ArrayList<String>();
    entityType.add(UIConstants.LIST_ITEM_ALL);
    authorizationType=new ArrayList<String>();
    authorizationType.add(UIConstants.LIST_ITEM_ALL);
    companyType=new ArrayList<String>();
    companyType.add(UIConstants.LIST_ITEM_ALL);
    mrgStatus=new ArrayList<String>();
    mrgStatus.add(UIConstants.LIST_ITEM_ALL);
    legalStatus=new ArrayList<String>();
    setEntityType(entityType);
    setAuthorizationType(authorizationType);
    setCompanyType(companyType);
    setMrgStatus(mrgStatus);
    country = "0";
    //address = new AddressBean();
    UIConstants.java***********************************************************
    public static final String LIST_ITEM_DEFAULT = "select";
    public static final String LIST_ITEM_ALL = "0";
    LOVManager.java*****************************************************************
    public List<SelectItem> getLovList(String lovType, boolean requiredOption_SELECT, boolean requiredOption_ALL)
    log.debug("LOV loading for " + lovType + ": START");
    List<SelectItem> lovList = new ArrayList<SelectItem>();
    //check validity of lov loading request
    validLov:
    for (int i = 0; i < lovTypeArray.length; i++)
    if (lovTypeArray.equals(lovType))
    break validLov;
    log.debug("ERROR: LOV Type not valid.");
    return lovList;
    //First select is replaced by ALL here
    //<-- Select --> should be an option
    if (requiredOption_SELECT)
    lovList.add(new SelectItem(UIConstants.LIST_ITEM_DEFAULT, "--Select--"));
    LOVDao dao = new LOVDao();
    dao.loadLOVValues(lovType, lovList);
    log.debug("LOV Loading successful!");
    //<ALL> should be an option
    if (requiredOption_ALL)
    lovList.add(new SelectItem( UIConstants.LIST_ITEM_ALL, "ALL"));
    return lovList;
    Kindly help me.
    Regards,
    AK

  • How to use bind variable value of one VO as initial value for other VO row?

    JDeveloper 10.1.3.3, ADF Faces, ADF BC
    Hi,
    I have two View Objects: one read only with several bound variables and another editable entity based. Correspondingly there are two ADF Faces pages: first contains search form based on the read-only VO and second create form based on the editable VO. The search form has several hidden fields for some of bound variables because they aren't edited directly by user. These fields are updated with PPR when user selects other search criteria from LOV.
    There is a command button in the first page that navigates to the second form. Is there any way to transfer values of bound variables from the first VO to the second VO as initial values of the new row?
    I tried to set custom controller for the second page and retrieve search criteria values from request parameter map but values from hidden fields are missing. I think because that these fields are updated by PPR. Of course I can add custom action method to the navigation button and in the method put these values to request parameter map but I hope there is better solution.
    Thanks,
    Marius

    To summarize, given a bind variable value for one VO, on creating a row in a second VO, for 1 of the attributes of the second VO, you want to use the first VO's bind variable value. Correct?
    A potential solution ADF BC driven:
    1) Ensure you have an AppModuleImpl for your AM
    2) Ensure you have a ViewImpl for your 1st VO (where the bind variable will exist) - lets refer to that VO as "Alpha"
    3) Ensure you have a ViewRowImpl for your 2nd VO (the one you want to default the value in) - lets refer to that VO as "Beta"
    4) For your first VO "Alpha" create the bind variable (say pValue)
    5) In your second VO "Beta" ViewRomImpl add following code:
    @Override
    protected void create(AttributeList attributeList) {
      super.create(attributeList);
      AppModuleImpl am = (AppModuleImpl)this.getApplicationModule();
      String someValue = am.getAlphaView1().getpValue();
      setSecondVOAttr(someValue); // change this code to whatever your setter is for the field you want to initialize.
    }Hope this helps. Let us know how you go.
    Regards,
    CM.

  • What are the possible values for a check box?

    I'm trying to fill a pdf with a asp.net web form. I'm getting the text boxes filled ok, but I'm having trouble setting the check boxes. I am testing to see if a web form check box is checked. if it is, I tried to set the pdf checkbox value to "on". But this doesn't seem to be right.
    My asp.net code is like:
    If CheckBox1.Checked Then
             af.SetField("pdfbox1", "On")
    End If
    Any suggestions?
    Thanks

    The value is the value entered into the "Export Value" option when the form is created. You can use the Acrobat JavaScript "exportValues" property to get the array of values for the same named check boxes. And if you know the 'widget' of the check box, you can use 'isBoxChecked' method to check if a given 'widget' is checked. More information is contained in the Acrobat JavaScript doucmentation.

Maybe you are looking for

  • Can't purchase a song from an Album that I cancelled the pre-order for?

    Ok, so here's the deal, I bought a £15 voucher and made some purchases, the first of which was the pre-order of an Album that was released today (Sunday 24th). I didn't know however, that the cost of the purchase was deducted from your balance once y

  • How to see for what company codes we run payroll for ?

    Hi gurus I have a question, generally our users run payrolls by payroll areas, but i want to see for what company codes we run payrolls, is there any report or table to see that ? i checked it in T001 using sm30, where i could see all the company cod

  • Dynamic definition of binding expression.

    I can use a standard textInput like this: <mx:TextInput   text="{Root.elementA}" \> and this works well, when I use an HttpService to replace Root, the TextInput is updated.  However... I have defined my own custom fields, which take a "tag" attribut

  • Download to PDF - Unable to open the Downloaded Document.

    hi all I am reading all the files in a KM repository using webdynpro. I am able to open and save all files except PDFs. However I am able to open the PDF before uploading to KM and also using the KM interface. But when i download it using the Downloa

  • I just added a new BYOD line. Why don't I get the BYOD discount?

    So I've read that once your contract expires and you are put on month-to-month, you can get a $25 line access discount. But what if you just add a line with your own device and go month-to-month from the beginning? I do not see an option for this dis