Create URL with multiple values for one parameter

Post Author: cbamberg
CA Forum: General
While I have no problems to create the URL to open a report with a single value for a parameter from my Java application, I don't know how to format multiple values for a parameter when I want to pass the "&prompt0=" value. The values I want to pass are numbers, not strings.
Anyone can help?

Hi gayatri,
you need to select both the product id and custname.put a count on the prodid column and write a condition of count>1 and apply it.
Thanks
Hari

Similar Messages

  • Running report from command line with multiple value for same parameter

    Hey,
    I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
    So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
    This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
    Any help on this?
    Thanks

    Hello,
    Bursting and Distribution may help you ....
    37 Bursting and Distributing a Report
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
    Regards

  • How to passing multiple values for a parameter of discoverer(url parameters

    Hi All,
    I am trying to pass multiple values for a parameter of disco report. I am trying to include my url for discoverer viewer report. the values has the following
    'jeff,mark'
    'sfophiee,angela'
    Thanks and Regards
    Venkat

    Hello Venkat,
    I know there are some problems with 10.1.2.0.2, maybe if you haven't done yet you can try with 10.1.2.2, assuming this version should be working for multiple parameter values :
    OracleAS Discoverer 10.1.2.2 is installed with the following patch :
    Patch 4960210 PLACEHOLDER BUG FOR AS/DS 10G R2 PATCH SET 2 10.1.2.2
    So, once installed you can try adding your parameter as param_<parameter_name>='sfophiee,angela'
    Hope this helps, otherwise feel free to log a Service Request to Support.
    Best Regards,
    Gianluca

  • Multiple choose for one parameter

    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by whl:
    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li<HR></BLOCKQUOTE>
    you can do that by flowing the stap
    at first you will write a select statement
    select ...
    From ...
    where Style (colomn name) = &style1
    then you create a user parameter soupose wich name is P_style and which valus is x, y, and z you should enter another value soupose that name is 'All' (All means x + y + Z)
    then you write in after parameter form trigger...
    IF :P_style = 'All' then
    :style1 := null;
    Else :style1 := 'and style (style means your column name) = :P_style;
    end if;
    null

  • Multiple values for the Parameter

    1. Had any tried the selecting MULTIPLE values for the parameter in Oracle Discoverer Plus Releae 4.1 Version 4.1.37.00.0. If so can please let me know how to implement it.
    2. In a Page-Detail Cross Tab workbook, I have to show the weighted average instead of the avg or sum. Any inputs please.
    3. I have to compare two periods (TOP) of datapoints. Any inputs please.

    If you wanted to eliminate the need for users to type in the parameter values, you could create a LOV on the desired column. This will produce a distinct list of all valid values where the user would simply select as the wish. Of course you still need to check the "let user enter multiple values" checkbox if you want them to select more than one.
    -DG

  • Multiple Values For one Condition in Choose From List

    I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.

    Hi,
    Check this thread
    How to set a Multiple condition in a single CFL
    Hope that helps,
    Vasu Natari.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Multiple values for one variable?

    I've created my first set of variables (using Form Properties>Variables), tweeked some XML sourcecode  and they're working .
    What I'm now trying to figure out is how to have one variable that has 2 values that pop up in 2 different text fields.
    Simple form at this point:
    Item, Model and Service Tag.
    The user selects the item from the drop down list and the Service Tag field is autopopulated from the variables I set.
    How do I get the Model to appear based on the Item selection?
    I tried putting the two values for one variable together but both values appear in the same field.
    Variable info that works: Scan (variable) = MC3090BT (value)
    I also need this particular variable to = Handheld scanner (try to ignore the redundancy).
    I attempted to make MC3090BT as it's own variable with Handheld scanner as it's value, and add to the code below but it didn't work.
    Here's some of the code if it helps:
    <event activity="change" name="event__change">
                   <script contentType="application/x-javascript">if(xfa.event.newText == "Handheld scanner"){
        servicetag.rawValue = scan.value;
    }else if(xfa.event.newText == "Latitude X1"){
        servicetag.rawValue = X1.value;

    Hi, I am trying to do the same thing..passing multiple values to receiving query variable through RRI.  Right now if I assign a query variable of type multiple single values it does not take any value.  It works only if I assign variable of type Single Value.
    In my assignment details the sender query has Generic for type and * for selection type. 
    If any one knows how to pass multiple values to receiving RRI query,  please give the details.
    Thanks

  • Passing and Parsing Multiple values for 1 Parameter using ASP and reportInterface.ReportParameters

    Post Author: ckwizard77
    CA Forum: Crystal Reports
    HELP!!
    I have been knocking my head against a wall trying to figure out how to pass multiple values to 1 parameter and how to add it to the parameter collection. I have code so if I pass single values for each parameter it works fine. I am passing the parmeters and values in a pipe delimited string through a url where it gets parsed and pass in here.
    Any help would be greatly appreciated.
    Here is the single param code:
    Public Sub SetParamValues(ReportName, strParamName, ParamValue) Dim i,reportInterface, ParamName,strSubReprotName,CurrentValues        Set reportInterface = reportObject.PluginInterface("")      Set reportParameters = result.Item(1).PluginInterface("Report").ReportParameters      For i=1 to reportParameters.Count           if ReportName <>"" then                 strSubReprotName=reportInterface.ReportParameters.Item(i).ReportName               if strSubReprotName=ReportName then                    ParamName = reportInterface.ReportParameters.Item(i).ParameterName                    if ucase(ParamName)=Ucase(strParamName) then                         Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues                         CurrentValues.Clear()                         Dim newSingleParameter                         Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue                         newSingleParameter.Value = ParamValue                         reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter                         reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false                         iStore.Commit result                    End if               End if          Else               ParamName = reportInterface.ReportParameters.Item(i).ParameterName               Set param1 = reportInterface.ReportParameters.Item(i)               if Ucase(ParamName)=UCase(strParamName) then                     Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues                    CurrentValues.Clear()                    Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue                    newSingleParameter.Value = ParamValue                    reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter                    reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false                    iStore.Commit result                End if         End if      NextEnd Sub

    That Makes sense.
    thanks a lot !
    Well now are at it, mind if I ask you another quick question:
    If I make an option in the multiselect list called ALL which should return all the results:
    as should act like this
    select * from dept;
    you solution was:
    select * from dept
    where INSTR(':'||:P1_EMPNO||':', ':'||empno ||':') > 0
    Can I modify this to return all the rows ?

  • Multiple values for one key in hashtable k, v

    So, I know that java.util.hashtable (as of Java 1.5) uses separate chaining to handle collisions. What I want to know is how to get a certain value somewhere in that bucket if they all share a common key? Javadoc says I have to search it sequentially but doesn't say how.

    OK, there's a lot of confusion on here for such a short thread :-)
    Firstly, HashMaps pick which "bucket" to store your object in based on the hash value of your object (see Object.hashCode()). However, the actual object equality test (applied to the keys during a search) is based on Object.equals(). Therefore which bucket your object is in is irrelevant - the bucketting concept is just used as a way of quickly locating a subset of all the keys in the map which might match your search value. There could very well be just a single bucket in a map and it wouldn't change its logical behaviour.
    This statement: "any Map including Hashtable, can only have a single (key,value) pair" is poorly worded. What it should say is that for any given key, a map can only hold a single value.
    Really, you don't need to think about the internal structure of maps (i.e. buckets, etc.).
    If you want to store multiple values for any given key, then make your value a list (java.util.List) and store your multiple real values inside that list.

  • Diill through configuration BPC to ECC with multiple values for each dims

    Hi Guys,
    I have a situation where I want to pass on multiple values (ex: Country A is made up of multiple company codes 1000, 1010, 1020).
    I added these 3 values in member property maintenance for the node Country A under a propety I created called ECC_CC.
    In the URL for DT I have ECC screeen field name BURKS_LOW=?
    When I test this DT, I go the transaction screen (eg: K5EZ) and the company code is filled with 1000 and does not recognize other values.
    Did anybody expoerience this situaton? What needs to be done to enable multiple selections insteaf of single selections as it is doign now?
    Thanks in advance
    Raj

    Hi Rich,
    I saw your similr reply to Vijy/IBM. Thanks for your queston.
    I have a followup question. Is there any workaround to accomlish this task.
    Example: What if I pass a single value though a custom ECC transaction (ZKE5Z) for profict center parmeter weather it is parent node value (eg: WWACX) or base member value (eg: 1000). Is there anyway in ECC to receive this parameter, parse it and flatten it as necsary to multiple values and execute standard txn KE5Z.
    Just a wild thought. Feel free to shoot me if I am wrong!
    Thanks
    Raj
    Note:I'll award points even if he sanwer is "NO" for this question - just kidding!

  • Multiple values for one UDF

    Is there a way to select multiple options from a drop down for a single UDF? For example, define 10 valid values for a UDF and allow the user to select all 10?

    Hi Katie,
    you can create a user-defined table and fill it over "tools/user-defined windows". You can choose these table in "tools/user-defined fields" for your topic. In form you can dropdown the filled values or defining a new value. I'll hope it will help.
    Excuse me, it's not the right answer to your question.
    regards Stephan
    Edited by: Stephan Poller on Nov 27, 2008 11:40 AM

  • Any way to pass Multiple Values for a single Label in the Parameter?

    I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
    One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter. 
    PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
    Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
    QUESTION:
    Any way to pass Multiple Values for a single Label in the Parameter?
    I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
    it correct.
    I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
    Note: We are using Report Builder 3.0

    Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
    Try creating either a function or stored procedure using the code below (compliments to
    http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string: 
    CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
    RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
    BEGIN
    DECLARE @SeparatorPosition INT
    DECLARE @ArrayValue VARCHAR(1000)
    SET @Array = @Array + @Separator
    WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
    BEGIN
    SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
    SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
    INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
    SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
    END
    RETURN
    END
    Once created you can do things like this:
    SELECT * FROM Parse('John,Bill,David,Thomas', ',')
    SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
    WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
    This is what your SQL query would probably look like:
    SELECT OperationID, OperationName FROM dbo.Operations
    WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
    You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value.

  • Passing multiple values to a parameter in report

    Can anyone help me how to pass multiple parameters to a parameter in my report.
    As user is able to select multiple values from list of values , can I pass the selected values to calling function.
    Suppose if User selects Value1,Value2,Value3 from list of values of a parameter P_Org,
    I need to pass all these values to parameter P_Org in my Before Trigger Function in Discoverer reproting tool.
    Thanks in advance

    I have a Before trigger Function to which the parameters will be passed.
    Suppose if User selects multiple values for a parameter then how to pass these multiple Values to that parameter?
    eg:In first Workbook Before Trigger is fired and the paramters for the trigger are
    'par1','par2','par3' etc.
    If User selects multiple values for a parameter 'par1' from the list of values displayed then how to pass all these values to 'par1' in Function?
    After firing the trigger rows are inserted in a temp_table .My second Workbook will
    fetch the rows inserted in this Temp Table.
    I hope u understood what my requirement is...
    Thanks in advance

  • Passing multiple values for a single field in URL to call sap Transaction

    Hi All,
    I need to pass multiple values for a single field to SAP transaction .
    means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
    Let me know pls.
    Regards,
    Sirisha.R.S.

    Hi Satyajit,
    I need to call a transaction with multiple values which gives me the report based on those values.
    So I need to pass multiple values for a single parameter.
    I hope u got it.
    Regards,
    Sirisha.R.S.

Maybe you are looking for

  • ITunes will not download no matter what.

    Recently, an error message on my computer popped up saying something about the registry and that I would need to reinstall iTunes. Fair enough. Not a bother. I uninstall iTunes and then go to download it from the site. I go to click on the installer

  • Wiping the BB, few questions

    when i back up all my files and then whipe the bb do i get to pick and choose what of the old stuff i want to restore? i am worried that by restoring will put the bad bug back in it, i want to completely whipe it then start over and redownload what i

  • Generic extraction loading and performances issues

    hi,       any one can give the details about the generic extraction loading as well as performance issues. advance thanks regards praveen

  • Reposting unanswered questions

    Got no hits Selling one of my G5s. Want to make sure I do this correctly so that I don't lose settings, comments, bpms, play count etc. I keep all my 60 gigs of music on a secondary internal (backed up to a couple of servers for protection) How do I

  • Execute Java from PHP (Classpath problem?)

    Hi, I'm trying to execute a java application (just a few classes really), using PHP (so the app can be executed by the click of a button on a webpage). It is an Apache server running on windows. The code to execute the java from the webpage is as fol