WEBI Date values in prompt list

Hey, guys!
I have a prompt in my WEBI report (4.1) for a week ending day, which means that only Saturdays are a valid input. As user not always understand it, I need to change prompt from calendar view to a list of valid values (which are Saturdays).
Do you know how to do it, guys?
Thank you in advance!
P.S. Report is built on a BEX Query on top of a Multiprovider.

Hello Nikita,
Please refer this.
http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/24/dynamic-default-values-with-prompt-in-webi-reports-based-on-bex-queries-in-bo
Regards,
Ritika Garg

Similar Messages

  • How to display the current date in the prompt value.

    Hi,
    How to display the current date in the prompt value. When the user runs the query he want the current date to be displayed in the prompt value and he should also be able to change the date if required ...... I am using web Intellegency BO XI3.0.
    Thanks,
    Shakthi.

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • Prompt List of Values in WebI - SAP BI Variable - SAP BI Query -BI Infoset

    Hi,
    We have a Multiprovider built on an Infoset. SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    Multiple-Single Values type Optional Variables are created for some of the Objects of this SAP BI Query.
    Universe is created on top of this SAP BI Query, using SAP Integration kit.
    WebI is created on top of this Universe.
    Prompts are created on some of the Universe Objects, for the WebI report.
    We are facing a typical problem.
    When a WebI prompt is created on one particular object, (which also has a Multiple Single Value type Optional Variable in SAP BI Query), its List of Values is showing up only first three values in WebI. The SAP BI Variable in BEX Analyzer shows up all the 8 values for the List of Values, for the same object.
    The Output WebI report has more values for the object than shown up in the List of Values & this is the problem.
    We tried to keep the settings in Info-object, DSO, Infoset, Multiprovider = Values in Master Data (for the List of Values).
    Similar objects and similar variables for the same query / webi show all the List of Values.
    Any guidance on aspects to be checked would be helpful.
    regards,
    Rajesh K Sarin

    Problem :
    If an SAP BI Infoset is used in data modelling, and a restricted key
    figure is created in the SAP BI Query; the resultant WebI Object Prompt
    for the Info-object, only shows up LOVs which have been used for the
    restricted Key Figure. Both the things are not related except for the
    fact that some of the values for the same object are used for the
    restricted key figure.
    Details :
    We have a Multiprovider built on an SAP BI Infoset.
    SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    There is a restricted key figure in the sap bi query. KeyFigure "Number
    of Records" is restricted for 3 of the relevant Info-object "Meter
    Reading Status" values.
    Universe is created on top of this SAP BI Query, using SAP Integration
    kit. WebI is created on top of this Universe.
    Prompt is created on the Universe Object for Meter Reading Status, in
    the WebI report.
    List of Values is showing up only the three values in WebI (which were
    used in the Restricted Key Figure calculation).
    SAP BI Variable in BEX Analyzer for the same Info-object Meter Reading
    Status shows up all the 8 values for the List of Values.
    The Output WebI report has more values for the object than shown up in
    the List of Values & this is the problem.
    We have kept the settings in Info-object, DSO, Infoset,
    Multiprovider, Query = Values in Master Data (for the List of Values).
    When we delete the "Restricted Key Figure" from the SAP BI Query, the
    refreshed Universe and Webi have a complete set of List of Values
    applicable.   
    Steps for Reconstruction    
    1. Create Infoset
    2. Create SAP BI Query on Infoset
    3. Create Restricted Key Figure for Number of Records and few of the
    values for a characteristic info-object "X".
    4. Create BO Universe on SAP BI Query
    5. Create Webi on BO Universe
    6. Create a Prompt on the characteristic info-object "X".
    7. Check List of Values for the characteristic info-object "X" in SAP
    BI Query and WebI.
    8. LOVs in WebI are equal to the values used for restriction in the
    restricted key figure.
    9. Delete the restricted key figure from SAP BI Query.
    10. Refresh Universe
    11. Webi prompt shows all the values for the prompt on "X".

  • How to add a default value in a prompt list?

    I have a prompt list that I'm getting from the database, I want to add a deafult value in the top of the list. Ei "ALL", my current list is:
    "AMERICAS"
    "EMEA"
    "ASIA"
    I want a list like:
    "ALL"
    "AMERICAS"
    "EMEA"
    "ASIA"
    This is the code I have:
    @Select(Country Region\Regionname)IN @Prompt('Enter the region','A',{'All'}distinct 'Country Region\Regionname',Multi,Constrained)
    It is displaying only "All". Does someone know how to merge text with a database list in a promp variable?
    Thank you!
    Marcela

    please find this post
    i've solved this problem with someone before
    Optional User prompt
    ok, lets get back to our problem
    since you are in sybase databases i dont know weather there is a DUAL table like oracle or not,
    anyway forget about it and follow those steps
    1. import the universe to the desginer
    2. Right Click any empty space on the Stage to Create a derived table.
    3. Give The derived table any Dummy Name lets say "ALL_table"
    4. write a small SQL statment in the derived table "Enter SQL Expression"
    select 'ALL' from anytable you have in the database.
    lets say the countries table itself
    SELECT 'ALL' FROM USER.COUNTRIES
    validate the SQL and Click ok.
    5.you will have a derived table called "ALL_table" with field name "ALL"
    6.Drag the Field Name ALL to the Same Class whicn you "Country Name" in.
    7.Get back to your "Country Name" Dimension and Double Click it to get its properties, then go to the Properties tab.
    8.in the peroperties tab. "Associate List of Values" ,, Click "Edit" Button.
    9.you will find your "Country Name" Dimension, click "Combine Queies" icon in the bar, to have another queries union with the first one.
    10. you will have another query with "U" beside itm Drag the "ALL" dimension in it, and remove the "Country Name"
    so you will have 2 union queries one with the "Country Name" and another on with "ALL"
    gooooooood.
    11.Click "Save and Close"
    12.Check Export with universe and "Automatically Refresh before use"
    13.now you can hide the "ALL" dimension we have created before, to make it invisible for the users. (do you have problem hiding this dimension?)
    14.export your universe
    15.open WebI
    16.Create Report on this universe.
    17.put the "Country Name" Dimension on the filter and make it prompt,
    18.Run the query,
    19. tell me what you see?
    good luck
    Amr

  • Change Webi Date Prompt Format

    Hi
    In BEx, I've created a variable on a date object.  Processing is manual/default. Single value.  Optional.  And ready for input.
    In the Universe Designer, I have changed the "Where" code on the filter to be a date format with a free selection - as below.
    <FILTER KEY="[!V000006]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Valid Date From','D',,mono,free)"/></CONDITION></FILTER>
    When I refresh the document in Webi, when entering a date for the prompt, the format is M/d/yyyy.
    I would like to change this to dd.MM.yyyy - as this is what the users are used to when running queries in web templates.
    Where do I set the format for the Date prompt?
    We are on BO XI3.1 and SAP BW 7.0 on a DB2 database.
    Thanks in advance
    Anton
    Edited by: Anton Vogel on Jul 21, 2011 3:36 PM

    Hi
    It does.  But this can be a hassle when having to choose a date quite far in the past.  It is far more convenient to simply manually input a date.

  • Report data ( value ... tag) missing in the Webi report retrieved through RestFul Webservice

    I am trying the below URL to get the WEBi report from SAP BO using the Rest Webservice support that is now available.
    http://{serverIP:serverPort}/biprws/raylight/v1/documents/{documentId}
    I am able to get the report but as I compare the same report response when using SAOP Webservice, there seems to be a mismatch in the response. Here is what I see in the SOAP response:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" sid="-10"><ct >Some arbitrary value</ct><value type="xs:string">Some arbitrary value</value></cell>
    But when I run it through REST, I am missing the <value ..> tag:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" bt="1" sid="-10"><ct >Some arbitrary value</ct></cell>
    Apart from this right at the start of the xml response, I see some property mismatch as well.
    SOAP has this property extra:
    <property name="output.format.xml.valuemode">yes</property>
    While REST has these property extra:
    <property name="output.format.xml.option.style">1</property>
    <property name="output.format.xml.styledict.fontplatform">html</property>
    <property name="output.format.xml.td.bandinfo">yes</property>
    <property name="source.selected">data</property>
    <property name="xelement.xml.object">yes</property>
    <property name="xelement.xml.object.usemap">yes</property>
    <property name="xelement.xml.object.usersupportedformat">image/png</property>
    I am not sure if:
    the <value ...> tag miss is because of these missing/extra properties or
    current REST support has some issues
    For my application the value tag is a must and I can't do without this, but with REST it seems no way to obtain that.
    Any help or pointer(s) in this regard is appreciated!

    Hello Milind,
    According to our Product Owner Sam Polichouk, the solution should be available for you in 4.1 SP3, which is currently scheduled for release by the end of March 2014 (subject to change).  The product team recommends that you get the raw, unformatted data values from within the Dataset specific call.  This data contains a type to tell the end user what kind of data it is, so you can format it or use it properly.
    The updated documentation for the SDK will be available at SAP BusinessObjects Business Intelligence platform 4.1 – SAP Help Portal Page once the Support Pack is publicly released.

  • Maintaining attributes, data source and attribute list in web UI

    Hi
    Can we maintain attributes, data source and attribute list in web UI level. We can do it  in SAP GUI level but do we have the option of doing it on web  UI level??
    Regards
    Aakshi

    HI
    data sources and Attribute lists need to be maintained in GUI but these can further be used for Segmentation in Web UI using the Graphical Modeler.
    hey main thing is that when we design all the things our out put is reflected in both interface & most important thing is that 90% of our customization done in gui.only web_ui related customization done in web_ui.
    for more details revert me back
    debi prasad

  • Maintaining attributes, data source and attribute list in web UI level.

    Hi
    Can we maintain attributes, data source and attribute list in web UI level. We can do it  in SAP GUI level but do we have the option of doing it on web  UI level??
    Regards
    Aakshi

    Hi Aakshi,
    As far as I know,data sources and Attribute lists need to be maintained in GUI but these can further be used for Segmentation in Web UI using the Graphical Modeler.
    If you need more assistance please do revert.
    Regards
    Varun Taneja

  • Hide value in prompt ?

    Hello,
    I am working on a report in Webi XIR2 SP4 and I would like to hide the value for a special prompt during user is filling in it like a password : is it possible to replace characters with points ("****") for exemple ?
    I see that something like tihs exists in Crystal Report but I found any options about it in Business Objects / Web Intelligence / Designer.
    Do you have an idea ?
    Thanks for your answer.
    Bests Regards.

    you can find this in the help of the universe designer.....
    see this,,,,,,
    good luck
    Amr
    @Prompt
    You can use the @Prompt function to create an interactive object. You use a @Prompt function in the Where clause for an object. It forces a user to enter a value for a restriction when that object is used in a query. When the user runs the query, a prompt box appears asking for a value to be entered.
    @Prompts are useful when you want to force a restriction in the inferred SQL but do not want to preset the value of the condition.
    You can optionally define default values for prompts. A prompt containing default values behaves in the same way as a Web Intelligence prompt with default values.
    The syntax of the function is as follows:
    @Prompt('message','type',[lov],mono/multi,free/constrained/primary_key,persistent/not_persistent, [{'default value':'default key'[,'default value':'default key',...]}) 
    The syntax is described in the following table:
    Syntax  Description 
    'message'  Text of the prompt message. The text must be enclosed between single quotes, for example, 'Choose a Region', 'Pick a time period', or 'Choose a showroom'. The text appears in the prompt box when the query is run. 
    'type'  Data type returned by the function. It can be one of the following:
    'A' for alphanumeric
    'N' for number
    D' for date
    The specified data type must be enclosed in single quotes. 
    lov  List of values (optional). You can specify two types of list of values:
    Hard coded list. Each value is separately enclosed in single quotes and separated by a comma. The whole list is enclosed in curly brackets. For example, {'Australia', 'France', 'Japan', 'United Kingdom', 'USA'}.
    Pointer to a List of Values from an existing object. You invoke the target lov by double clicking on the object containing the lov that you want to use in the Classes and Objects panel. This gives the Class name and the Object name, separated by a backslash. It must be enclosed in single quotes. For example: 'Client\Country'. 
    mono  User can select only one value from the list of values. 
    multi  User can select multiple values from the list of values. 
    free  User can enter a value, or select one from the list of values. 
    constrained  User must select a value from the list of values. 
    primary key  Use the primary key parameter with "free" or "constrained". The user enters a value or selects from the list of values. If the primary key parameter is present, the entered or displayed value is not used to generate the query. The associated key value from the Index Awareness column is used. 
    persistent  When refreshing a document, the last values used in the prompt is displayed by default. 
    not persistent  When refreshing a document, no values used is displayed in the prompt by default. 
    'default value':'key value'  The default values parameter is used to define default values presented to the user.
    You can define multiple default values.
    The syntax for each default value is: u2018valueu2019:u2019keyu2019.
    The colon ( is the separator between the value and the key.
    When refreshing a document these values are displayed by default but if the persistent option is set, then the last values used in the prompt are used instead of the default values.
    If you specify the primary key parameter in the prompt definition, then you must provide the key value(s). 
    Note: For each of the optional parameters, if you omit an argument, you must still enter the commas as separators.
    Example: Using @Prompt to restrict countries
    The object Country returns values for the countries of resorts. If you want to restrict the returned values to resorts for only one country, you would need a separate object for each resort country in the universe. However, using the @Prompt, you need only one object as follows:
    The user is prompted to enter the name of the country, and the returned values are the resorts from that particular country, as shown below:
    When a query is run in Web Intelligence, the following prompt box appears:
    Example: @Prompt syntax with default values
    @prompt('Enter value(s) for Customer with IA:',
    'A','Customer\Customer with I A',
    Multi,primary_key,{u2018Bakeru2019:u20191u2019,u2018Brendtu2019:u20192u2019})

  • Webi Date Problem

    Hi All,
    We built Webi report on top of SAP BW query and we are on SAP BW 7.0 EHP1,BOBJ Enterprise 3.1 SP2.
    We are facing problem with Date fields on Webi side and they are behaving like string rather than a date format and because of that we are facing issues when we do Prompts,Sorting etc
    eg:-Sales Order Create Dt:-9/2/2009    1/1/2010
    As a string 9/2/2009 is greater than 1/1/2010 but as a date it is not.
    When we are using these dates in the prompts we are not getting desired output and same with Sorting.
    Any Inputs will be helpful.
    Thanks

    correct - the values are string values shown when you create your own list of values.
    Hi,
    Thx for the reply
    in case the characteristic is of type DATS and you create a variable in the query based on the characteristic you should see a calendard control.
    You mean to say create variables on the BW query side.
    The problem to create variable on BW side is
    One BW Query is the source of 10 Webi reports and each Webi report doesn't need the same variable.
    correct - the values are string values shown when you create your own list of values
    I din't get your point-When you create your  own list of values.
    Please suggest.....
    Thanks

  • Not able to pass multi values from prompts to Bi Publisher 11g

    I am using a choice list in dashboard prompt with default value:"All Column values" and set to a presentation variable:"presvar
    In BIP 11G data model,in where clause i am writing it as:
    where tablename.colname in (:presvar)
    This is working only when i select single value in prompt ,if i select multi values in dashboard prompt it is not fetching me exact results.It is throwing error:"Invalid parameters"
    Kindly help if someone has faced the situation
    Version:11.1.6.2

    This is a bug:
    Bug 11793832 : MULTIPLE VALUES IN A DASHBOARD PROMPT DOESN'T WORK WITH BI PUBLISHER INTEGRATED
    I have been told that a fix is due in next patch set 11.1.1.7.2

  • How to set a default value in dropdown list in Wendynpro ABAP? Help!

    Hi Experts,
           I have Webdynpro for ABAP application that shows a DropdownwithKey UI element.
    1. I am able to populate the dropdown list. But by default the list is not showing any value. Only when I select a value from the list then it shows it.
    So how to set the default value to the first value in the list? Any code sample will be really helpfull.
    I have written the following code:
    method WDDOINIT .
      DATA:
        node_category TYPE REF TO if_wd_context_node_info.
      node_category = WD_CONTEXT->GET_NODE_INFO( ).
      node_category = node_category->GET_CHILD_NODE( 'CATEGORY' ).
      data:    LT_VALUESET type WDR_CONTEXT_ATTR_VALUE_LIST,
               L_VALUE type WDR_CONTEXT_ATTR_VALUE.
    L_VALUE-VALUE      = 'V1'.
    L_VALUE-TEXT    = 'yesterday'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V2'.
    L_VALUE-TEXT    = 'today'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V3'.
    L_VALUE-TEXT    = 'tomorrow'.
    INSERT L_VALUE into table LT_VALUESET.
    node_category->SET_ATTRIBUTE_VALUE_SET(
                 NAME = 'CAT_VALUE'
                 VALUE_SET = LT_VALUESET ).
    endmethod.
    Note that: I am using webdynpro for ABAP.
    Thanks
    Gopal

    I am not sure how it works in Web Dynpro for ABAP, but in Web Dynpro for Java to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element)  in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<defalut value>)
    This generally done in Initialization method of the controller.

  • Date format in prompt OBI 10g

    HI Experts,
    I have requirement for date format mm/dd/yyyy need to change dd/mm/yyyy . I used the following the query but giving error:
    EVALUATE('TO_CHAR(%1,%2)' ,"SI - Creations & Modifications
    Dim"."Première Date de Valeur" , 'DD-MM-YYYY')
    nQSError: 10058] A general error has occurred. [nQSError: 22027] Union
    of non-compatible types. (HY000)
    SQL Issued: SELECT EVALUATE('TO_CHAR(%1,%2)' ,"SI - Creations &
    Modifications Dim"."Première Date de Valeur" , 'DD-MM-YYYY') FROM SI
    Regards
    Birudu Gopal

    Hi,
    Sorry for mistaking your questions.
    Try the below ways of changing the format in the prompt:
    -In the physical layer in the Properties try to change the DATE_FORMAT.
    -By editing the globalfilterprompt.js we can avoid the conversion of Date value to DateTime in prompt.
    For this we need to comment the below code in globalfilterprompt.js in both 1) C:\OracleBI\web\app\res\b_mozilla\prompts
    2)C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\prompts
    //convert datetime; sTimeZoneOffset is '0' if data type is not datetime or type is 'drop'
    /*var sTimeZoneOffset = tArgs[3];
    if (typeof(sTimeZoneOffset)!='undefined' && sTimeZoneOffset != null && sTimeZoneOffset !='')
    var nOffset = parseInt(sTimeZoneOffset,10)
    if (typeof(nOffset)=='number' && nOffset != null && !isNaN(nOffset))
    var tDTP = new DateTimeParser();
    for (var i = 0; i < tValues.length; ++i)
    tValues = saw.tz.parseAndAdjustTimeZoneOffset(tValues, nOffset);
    -EVALUATE('TO_CHAR(%1,%2)' ,"Dim- Date".Start Date,'DD-MM-YYYY')
    -In Physical layer of Repository, change the Data type of your Date_Column to DATE data type.
    -In Dashboard Prompt, you have option to for SQL,write the Logical SQL or Advanced SQL as below:
    select cast("COLUMN_NAME" as date) from "PresentationLayerName"
    Hope this helped.
    Regards
    MuRam

  • Can I convert Twitter time Text to Project Siena's Date Value ?

    Can I convert Twitter time Text to Project Siena's Date Value ?
    I want to show localtime of Twitter created_at.
    Twitter time text = ThisItem!created_at , ex: Tue Jul 15 17:19:00 +0000 2014
    I want to show 2014/07/16 02:19 by Japan localtime.
    Regards,
    Yoshihiro Kawabata

    Siena uses JavaScript to parse date/times, via the TimeValue function. A good specification regarding what is acceptable can be found here:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse
    The example above is truly bizarre: I thought I had seen it all. You will need to turn that form into one of those listed on the above site, using string functions to chop it up and reassemble it into a saner form.

  • Multiple values in prompt not working..

    I am able to create prompts using Java/ BO-SDK and i am also able to set values to these prompts; but the values in the report in Infoview are not getting refreshed. for e.g if a single value for city prompt is entered the code works fine but if i set multiple ";" separated values to this city prompt the values are not getting refreshed.
    Here is my code for prompts:
    function to set filter conditions
    public static void setFilterConditions ( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList )
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            if(conditioncont!=null)
                 conditioncont.removeAllChildren();
                   createPrompt(doc, filterList);
                 applyValuesToPrompt(doc, filterList);
              doc.setPrompts();
              dp.runQuery ();
              doc.refresh();
    function to create prompts.
    public static void createPrompt( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            System.out.println("Inside create Prompt method ");
            final ReportDictionary reportDict = doc.getDictionary();
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            conditioncont = q.createCondition(LogicalOperator.AND);
              for(int i=0;i<filterList.size ();i++)
                      conditionFilterDataItem = filterList.get ( i );
                      final String[] operands =  conditionFilterDataItem.getFilterOperand ();
                      final ReportExpression reportExpression = reportDict.getChild
                            ( reportDict.getChildByName ( conditionFilterDataItem.getQueryObject ()).getID () );
                      final String objectName = conditionFilterDataItem.getQueryObject();
                      final DataSourceObject dataSourceObject = reportExpression.getDataSourceObject ();
                      ConditionObject conditionObject = null;
                      conditionObject = conditioncont.createConditionObject ( dataSourceObject );
                      final FilterCondition fc = conditionObject.createFilterCondition
                            (Operator.fromInt ( conditionFilterDataItem.getOperator ()-1));
                      ConditionPrompt condPrompt = fc.createConditionPrompt("Enter value of "+objectName+":");
                      condPrompt.setConstrained(false);
                      condPrompt.setMonoValue(false);
                      System.out.println("Prompt created for object name ::"+objectName);
                     if( operands.length > 1 && operands[1]!=null)
                          ConditionPrompt secondPrompt = fc.createConditionPrompt("Enter another value of "+objectName+":");
                          secondPrompt.setConstrained(false);
                          secondPrompt.setMonoValue(false);
                          System.out.println("Another Prompt created for object name ::"+objectName);
                      doc.applyFormat();
                 dp.runQuery();
                  doc.refresh();
                  doc.save();  
    function to set values to prompt
    public static void applyValuesToPrompt(final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            Map promptMap = generateInstanceMap(doc);
            OMFilterPrompt[] promptArr;
            if(filterList.size()==conditioncont.getChildCount())
                      System.out.println("conditioncont.getChildCount() "+conditioncont.getChildCount());
                      for(int i=0;i<filterList.size();i++)
                           System.out.println("FilterLsit size is "+filterList.size());
                           System.out.println("current value of i is "+i);
                                conditionFilterDataItem = filterList.get ( i );
                            final OMFilterSimple filter = (OMFilterSimple)conditioncont.getChildAt(i);
                            System.out.println( conditionFilterDataItem.getOperator ()+"  conditionFilterDataItem.getOperator ()");
                               System.out.println(conditionFilterDataItem.getQueryObject()+" conditionFilterDataItem.getQueryObject()");
                            final String[] operands = conditionFilterDataItem.getFilterOperand();
                            System.out.println("operands for "+conditionFilterDataItem.getQueryObject()+" is "+operands.length);
                            System.out.println(filter.getID());
                            promptArr=filter.findPrompts();
                               for(int j=0;j<promptArr.length;j++)
                                    OMFilterPrompt prompt= promptArr[j];
                                    System.out.println(prompt.getDisplayName());
                                    String promptName=prompt.getDisplayName();
                                    Prompt currentPrompt = (Prompt)promptMap.get(promptName);
                                    if(operands[j]!=null)
                                    currentPrompt.enterValues(convertStringToArray(operands[j]));
                                    System.out.println("value set is ::"+operands[j]);
              doc.setPrompts();        
              //dp.runQuery ();
              doc.refresh();
        * Converts String to a string array.
        * @param values -
        *            string to be converted.
        * @return - String Array
       private static String[] convertStringToArray(String values) {
           StringTokenizer promptval = new StringTokenizer(values, "=");
           int loop = 0;
           int size = promptval.countTokens();
           String[] newArr = new String[size];
           while (promptval.hasMoreTokens()) {
               newArr[loop++] = new String(promptval.nextElement().toString()
                       .trim());
           return newArr;
    function to create map for prompts
      private static Map generateInstanceMap(DocumentInstance document)
            Map<String, Prompt> promptMap = new HashMap<String,Prompt>();
            Prompts prompts = document.getPrompts();
            int count;
            if(prompts!=null)
                 count= prompts.getCount();
                 for(int i=0;i<count;i++)
                      Prompt prompt= prompts.getItem(i);
                      promptMap.put(prompt.getName(),prompt);
            return promptMap;
    i first remove all filter conditions the create prompts and then sets values to these prompts.
    the values are set correctly to the report when viewed in Infoview but the values are not refreshed ; so i see a blank report.
    Can anyone help with a code snippet at the earliest.

    All replies so far have focused on solving multiple form issues. I have no problem with multiple forms per page but exactly like the original poster I can not get my h:commandLinks to work when embedded in a h:datatable.
    I have command buttons before and after the data table working great, but for whatever reason command links just do a post back to the backing bean.
    At this point I am not even trying to process data, just verify the action method is being executed.
    Another item of note, the links will always post to the same bean regardless of what bean is referenced in action="...."
    Any ideas?
    Message was edited by:
    jasontc
    It appears once the page is rendered for the first time any future rendering will display the link(s) but the link(s) will be junk.
    I ran a test with a pre populated ArrayList for my datatable, link worked. I then reload the datatable with a different ArrayList and the link is still referencing the original item in the list. So the action method I want to call is called but the .getRowData is incorrect. In addition of the number of items in my list grows the links become junk beyond the original size of the list.

Maybe you are looking for

  • Help please with debugging program (simple error i think)

    This code will compile/execute fine, but when I run it through an automatic marking system which forces it to read lines from a text file, it runs into errors. It seems as if it reads in the first line fine, and does what it has to do it to it, but i

  • ITunes keep crashing - 8GB of mp3s in 1935 files, networked hard drive

    So I have 8GB of music in 1935 files and 209 folders, and they are on my Linux box (which shares the drive out through Samba). The mp3s themselves are haphazardly put into folders, with some of them having some information about composers and other t

  • Regarding Obsolete Function Modules

    Hi all,         can anybody tell me the alternative ECC6.0 function modules of the following Obsolete function modules DOWNLOAD UPLOAD WS_DOWNLOAD WS_UPLOAD WS_FILENAME_GET WS_QUERY POPUP_TO_CONFIRM_STEP POPUP_TO_CONFIRM_WITH_MESSAGE thnks Sandeep

  • Import RAW and jpeg

    If I try to import both RAW and JPEG from the same folder or from the same card LR only imports the RAW files. I usually shoot RAW and JPEG simutaneously so they both have the same filename but different file types. Photshop handles this OK so whats

  • Cd Jewel Case options in latest iTunes

    HI, since the latest version, I can no longer print CD jewel case inserts as before. Before, we could hit custom and choose the fields we wanted printed at the top. Now, it only gives you the option to print the song, artist, and time. If I try custo