How to Pass Multiple Parameters To ReportReuest Method in Oracle  BI 11g

Hi,
Am integrate Oracle BI Publisher 11g via Web Services in Oracle Forms,For that am developing code in PublicReportServiceClient Class. This worked properly with out passing parameter to the report. so how to pass parameters to the report . If Report is requried some Parameters to generate report.
If any one knows about How to Passing Multiple Parameters to ReportRequest Methos in Oracle 11g. Pls help me.
Am trying with the below code for PassParameters to ReportReuest Method in Oracle BI 11g. But by using this code am able to pass only one parameter to the Report, not for multiple Parameter Passing.
ArrayOfParamNameValue PnameValue=new ArrayOfParamNameValue();
ParamNameValue Namevalue=new ParamNameValue();
Namevalue.setName("P_SNO"):
ArrayOfString aos=new ArrayOfString();
aos.getItem().add("2");
Namevalue.setValues(aos);
PnameValue.getItem().add(Namevalue);
ReportRequest RepReq = new ReportRequest();
RepReq.setParmeterNameValues(PnameValue);
Following method  callRunReport() with an array of parameters used in Oracle Bi 10g,To pass multiple report parameters to ReportRequest method.
public void callRunReport (String reportPath, String[] paramName, String[] paramValue, Stringusername, String password, String format, String template, String outFile)
try {
bip_webservice.proxy.PublicReportServiceClient myPort =new bip_webservice.proxy.PublicReportServiceClient();
// Calling runReport
ReportRequest repRequest = new ReportRequest();
repRequest.setReportAbsolutePath(reportPath);
repRequest.setAttributeTemplate(template);
repRequest.setAttributeFormat(format);
repRequest.setAttributeLocale(“en-US”);
repRequest.setSizeOfDataChunkDownload(-1);
if (paramName != null)
ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
String[] values = null;
for (int i=0; i<paramName.length; i++)
paramNameValue[i] = new ParamNameValue();
paramNameValue.setName(paramName[i]);
values = new String[1];
values[0] = paramValue[i];
paramNameValue[i].setValues(values);
repRequest.setParameterNameValues(paramNameValue);

Ramani_vadakadu wrote:
window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
the above code we are using apex JS to BI publisher calling for report as PDF
i don't know exactly where your parameters , did you customize my link to multiple parameters
'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

Similar Messages

  • How To Pass Multiple Parameters In URL with Report Builder

    Hi,
    I use apex 4.2 with database xe 11g and i use report builder to build my report i use this link to call report
    function runrep(){
    var vurl = 'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO');
    popupURL(vurl);
    now i want to pass Multiple Parameters like P138_ITEM_CODE , P138_UOM_CODE
    how can i add this Parameters in URL ?
    Regards
    Ahmed

    Ramani_vadakadu wrote:
    window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
    the above code we are using apex JS to BI publisher calling for report as PDF
    i don't know exactly where your parameters , did you customize my link to multiple parameters
    'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

  • How to pass multiple parameters by URL?

    hi i am having trouble passing multiple parameters by URL.
    i tried the following codes but still not successful in using request.getParameter
    <a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>
    <a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>

    Looks good to me.
    What parameters are you getting at the other end?
    imageid and userid? (case is important)
    What does the address url in the browser show?
    What code are you using to retrieve the parameters?

  • How to pass multiple parameters to DB adapter through BPEL process?

    Hi All
    I have created a BPEL process in which I am using invoke activity to call DB package.procedure having multiple parameters.Once the package gets executed it shows me custom exception message as input parameters are showing null values inside the package.
    When I see the audit flow in BPEL instance , it shows correct values against each parameter in BPEL process.
    Anybody know about this problem? why DB package is not able to read input parameters send through BPEL process?
    Regards
    Yogi

    Hi Chintan
    Thanks for your reply.
    Here is my procedure call. For these input and output parameters I have created variables @ BPEL process. Those variables are accepting values correctly.
    PROCEDURE custom_po_proc(
    p_return_status OUT VARCHAR2,
    p_error_code OUT VARCHAR2,
    p_error_desc OUT VARCHAR2,
    p_debug IN VARCHAR2 DEFAULT 'N',
    p_lgcy_trxn_num IN VARCHAR2,
    p_trxn_type IN VARCHAR2,
    p_operation IN VARCHAR2 DEFAULT NULL,
    p_po_number IN VARCHAR2,
    p_line_num IN VARCHAR2,
    p_org_code IN VARCHAR2,
    p_quantity IN NUMBER,
    p_user_name IN VARCHAR2);
    I just have one DB adapter based on above procedure.
    How do I increase the logging level, have not done that before.
    Regards
    Yogi

  • How to pass multiple parameters while calling a pl/sql procedure based serv

    Hi,
    I have a pl/sql procedure based service that needs to be invoked from the bpel console for testing purpose. This procedure accepts multiple input values which are of varchar2,boolean and datetime data types. How can I get the bpel console to throw a UI where I can enter these values --in other words where(which file and where) can I specify that these are the input parameters that need to be entered along with their types.
    Thanks for yr help!

    Change the payload of the request 'Process WSDL' message type. Change the element of the payload for the RequestMessage to be 'InputParameters' from the XSD generated by the DB Adapter wizard.
    Edit the payload (Element) - Choose 'Project Schema Files'. Select 'InputParameters' from the XSD.
    You can also change the ResponseMessage by doing the same thing, except that you select 'OutputParameters' from the XSD.

  • How To Pass Multiple Parameters In URL

    Hi All,
    I have a requirement to pass two paramaters to the URL which is expected to open a report with filtered data.
    The context is, I have two reports 1. mainreport 2. subreport.
    The mainreport provides a link ( which is TestcaseId ) which on clicking opens the subreport.
    In my case the TestcaseId can have duplicates.So i wanted to pass the TestPlan name which helps me filter the data specific to the testcase which is clicked.
    Expectation: I want the TestcaseId link to pick up the TestPlan name too when clicked and present the filtered data in sub report.
    Note: The TestcaseId and TestPlan name are dynamic and should be picked from the main report.
    I already have the report configured to pick the TestcaseId and now would like to know how do i pass TestPlan name as well to the URL.
    Please help me with this.
    Thanks,
    Shekar

    Hi Bipuser,
    Thank you for your points.
    I have URL with both the parameters defined in it.
    Let me explain my requirement in detail.
    My main report displays the contents in a table like the example below
    Test Case Id     Test Plan
    TC_1.1     ACR758TripReport
    TC_1.2     ACR758TripReport
    TC_1.3     ACR758TripReport
    TC_1.1     ACR539
    The test case ids are displayed as links and on clicking will open the subreport with detailed steps.
    Considering the example above. When i click TC_1.1 which is appearing twice in the table, The subreport should fetch only steps specific to the test plan in the same row and not all.
    So,To filter the data, I wanted to pass the test plan name to the URL.
    Can you list out the steps in detail to achieve this.
    Note: User clicks only on Testcase id link but the URL should pick testcaseid and testplan name to fetch the data.
    Regards,
    Shekar
    Edited by: user12210094 on Apr 26, 2012 2:24 AM

  • How to pass multiple parameters to Query using START WITH, CONNECT BY OBIEE

    Hi
    I have following oracle query which need to be used as a Data Source in OBIEE Physical Layer. I guess I have to create stored proc. How do I implement this in OBIEE RPD and how do I implement the respective Dashboard prompts for the parameters.
    SELECT
    CIRC.PATH_NAME, CIRC.BANDWIDTH , CIRC.CATEGORY, CIRC.CUSTOMER_ID,
    CIRC.STATUS, CIRC.CUSTOMER_NAME,
    QUER.LEV
    FROM
    CIRCUIT_PATH circ, VAL_CUSTOMER cust,
    ( SELECT
    DISTINCT CIRC_PATH_INST_ID, LEVEL LEV
    FROM
    CIRC_PATH_ELEMENT
    START WITH
    CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID IN ( SELECT
    DISTINCT CIRC_PATH_INST_ID
    FROM
    PORTS a
    WHERE SITE_NAME = @variable('Enter a Site Name')
    AND CARD_SLOT = @variable('Enter a Card Slot')
    CONNECT BY
    PRIOR CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID =
    CIRC_PATH_ELEMENT.PATH_INST_ID
    AND ELEMENT_TYPE != 'K' ) QUER
    WHERE
    circ.circ_path_inst_id = QUER.CIRC_PATH_INST_ID
    and circ.cust_inst_id = cust.cust_inst_id (+)
    ORDER BY
    LEV DESC , CIRC.PATH_NAME ASC, CIRC.BANDWIDTH ASC
    Thanks
    DG

    Hi John
    Thanks. I looked at your URL. I do have package. Just using procedure. So my initialization string (For stored proc in Physical Layer of RPD) is
    exec demo.add_employee(VALUEOF(NQ_SESSION.empid1));
    But when I run request in Answer I get the error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 900, message: ORA-00900: invalid SQL statement at OCI call OCIStmtExecute: exec demo.add_employee(105); . [nQSError: 17011] SQL statement execution failed. (HY000)
    What should I put in initialization string in RPD?
    Thanks
    DG

  • How to pass multiple parameters from jsp to servlet using iframe

    function updGrade(grd,actDetID,sID)
    updateFrame.location="/clucas/updateServ?s_id="+sID.value+" &act_ID="+actDetID.value+" &grade="+grd.value+";
    hi, i have this javascript on my jsp and try to send those three params to updateServ servlet inorder to update a grade value to database, but for some reasons it does not work. It is only work when I pass one parameter only.
    Can anybody help me with this please?
    thanks

    You have spaces before the & signs. They can't be there:
    function updGrade(grd,actDetID,sID)
      updateFrame.location="/clucas/updateServ?s_id="+sID.value+
                                           "&act_ID="+actDetID.value+
                                            "&grade="+grd.value;
    }

  • How to pass multiple parameters to vo

    Hi,
    I wrote   Serializable method  In co
           String orgcode1 = pageContext.getTransactionTransientValue("asset12").toString();
           String assetid = pageContext.getTransactionTransientValue("asset1").toString();
            Serializable[] np1={orgcode1,assetid};
            am.invokeMethod("xxEx1",np1);
    I wrote in AMImpl
        public void xxEx1(String na2,String na3)
            internalcpVOImpl vo =getinternalcpVO1();
            String wc1="organization_code='"+na2+"'";
            String wc="SEGMENT1='"+na3+"'";
            vo.setWhereClause(null);
            vo.setWhereClause(wc1);
            vo.setWhereClause(wc);
            vo.executeQuery();
    I need add that where classes in this vo
    SELECT  distinct  meav.c_attribute1, msi.segment1 ,mp.organization_code
             FROM csi_item_instances cii,
           mtl_system_items_b msi,
           mtl_eam_asset_attr_values meav,
           mtl_parameters mp
    WHERE  meav.SERIAL_NUMBER  = cii.SERIAL_NUMBER
       And meav.MAINTENANCE_OBJECT_ID = cii.INSTANCE_ID
       And meav.ORGANIZATION_ID = cii.LAST_VLD_ORGANIZATION_ID
       And meav.attribute_category     = 'Asset Common Details'
       And msi.inventory_item_id = cii.inventory_item_id
       And meav.organization_id = mp.organization_id
          -------------------------------  1  ( nedd add  vo.setWhereClause(wc1);)
        ------------------------------------2  (        vo.setWhereClause(wc);)
    It is only adding first parameter  where class it's not adding second parameter where class please give me any solution
    Regards,
    Maha

    Thank You Shobhit basis on you are code it's working  future reference purpose i posted code .
    I wrote   Serializable method  In co
           String orgcode1 = pageContext.getTransactionTransientValue("asset12").toString();
           String assetid = pageContext.getTransactionTransientValue("asset1").toString();
            Serializable[] np1={orgcode1,assetid};
            am.invokeMethod("xxEx1",np1);
    In am i am using below code
        public void xxEx1(String na2,String na3)
           internalcpVOImpl vo =getinternalcpVO1();
         String whereClause="organization_code='"+na2+"' AND SEGMENT1='"+na3+"'";
                   vo.setWhereClause(null);
                   vo.setWhereClause(whereClause);
                   vo.executeQuery();
    In vo i wrote this code
    SELECT  distinct  meav.c_attribute1, msi.segment1 ,mp.organization_code
             FROM csi_item_instances cii,
           mtl_system_items_b msi,
           mtl_eam_asset_attr_values meav,
           mtl_parameters mp
    WHERE  meav.SERIAL_NUMBER  = cii.SERIAL_NUMBER
       And meav.MAINTENANCE_OBJECT_ID = cii.INSTANCE_ID
       And meav.ORGANIZATION_ID = cii.LAST_VLD_ORGANIZATION_ID
       And meav.attribute_category     = 'Asset Common Details'
       And msi.inventory_item_id = cii.inventory_item_id
       And meav.organization_id = mp.organization_id
    Regards,
    Maha

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • Passing multiple parameters to a portlet

    Hi All,
    I have created a portlet form a taskflow, and using the WSRP Producer connection I am adding this portlet into a new application's JSF page.
    1. Is it possible to create a portlet that can accept multiple parameters?
    2. is it possible to map a portlet method to a method in new app.
    3. is there some implicit event that can be passed when all of the parameters are passed to the portlet.
    What my requirement is:- I have to send some 4-5(String) parameters from the new application to the portlet application.
    what would be the sequence in which the setters of this parameters would be called in the Portlet app?
    can you please tell me if this is possible, and how to do it. Some tutorial would help.
    Regards,
    ND

    Your question is WebCenter related and you should ask it in the forum {forum:id=354}.
    Anyway, you can pass multiple parameters to a portlet. Define the parameters as parameters of the corresponding bounded TaskFlow. When the taskflow is wrapped as a portlet producer by the JSF Portlet Bridge all the taskflow parameters will be exposed as separate navigational portlet parameters. If you consume the portlet at some page, then the portlet parameters will be bound to PageDef variables and you can use these variables to pass parameter values to the portlet. If you have to re-send new parameter values at runtime, just set the corresponding pageDef variables and refresh the <adfp:portlet> tag by PPR. Do not forget to mark the portlet's region binding in the PageDef as RefreshIfNeeded, otherwise it will not get the new values and will not refresh.
    Look at the following article in the documentation about using navigational parameter for contextually linking of portlets:
    http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJABHD
    If you have additional questions, please ask them in the WebCenter forums.
    Dimitar

  • How to pass multiple values to a single parameter in BW report URL

    Hi Experts,
    I am new to EP and learning .... i am stuck at one point where we need to pass multiple parameters to a BW report URL, this is the URL that we launch from BSP.... Suppose i have to pass different multiple values to a single parameter, how to do it....
    i m getting many answers to pass parameters to iviews, reports, but not specific to my case.. can u plz help me....
    Thanks in advance
    Priya Rai

    What is the prolem you are facing if you split the single date param as two parameters say startdate and enddate?
    If you pass as single string then you might have to split the same at reciever end.
    Are you trying any thing specific?

  • Probs sharing a report that uses SETPARAM to pass multiple parameters

    Ok we have master DB account Disco that creates reports. I also have oracle acct Duser for the users to run the reports.
    Per Metalink Note:304192.1, we've got the setparam stuff working to pass in date parameters into our sheet. This works fine when I run the report as Disco. When I try to share the report to Duser, it still prompts for the dates, but then the report returns all 0's for the results. I have no idea why this is happening.
    Any suggestions on how to share reports with other users that pass in parameters would be much appreciated. thanks!!
    Allen

    Hi Allen,
    I would always recommend that you use sys_context to pass parameters. You can search this site for sys_context or take a look at (Re: Passing multiple parameters into Custom Folder... for more details.
    Rod West

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

Maybe you are looking for

  • Create a keyboard like the japanese one?

    hi everybody! I am a linguist and I am working with a quite odd system of writing, I have created a special font and now I would need a keyboard to write it. The input method should be similar to the method to write hiragana/kanji, that is one write

  • Apple tv stutters when airplaying  music and movies

    I'm unable to utilize the airplay feature in itunes to watch movies or listen to music though Apple tv.  I've fooled around with my router and updated the firmware, I'm using all of the updates available to me with the exception of upgrading to mount

  • Boothcamp

    I am trying to install windows on my macbook pro after i did a clean installation  due to upgrade from osx 10.6 to osx 10.7. the message i get from booth camp is 'The startup disk cannot be partitioned or restored to a single partition'.i formatted w

  • ITunes won't start after update

    Hi, I just upgraded my ITunes using the normal Apple update process when I was prompted - and now I-Tunes won't start at all. I can see the ITunes.exe start in Windows Task Manager....then it just shuts down again. Any ideas ?

  • Exchange Logs Delete and Backup Successfull

    kindly clarify the given information :we have 2 mailbox servers in DAG environment but both do not having same numbers of Logs ( let say MBX01 has 3000 logs and MBX02 has 1400 Logs ) so in this case NetBackup will not take successful backup or Logs w