Calling BI Publisher report  using FND_SUBMIT.SUBMIT_REQUEST---

Hi Experts,
We have a requirement in which BI Publisher report will be called using a PL/SQL procedure.
i am successfully able to call BI publisher report using FND_SUBMIT.SUBMIT_REQUEST function.
Business requirement is that the BI publisher report can be generated in PDF,Excel or HTML format.
but i am able to generate the report only in xml format.
Please guide me how to achieve this.
Thanks in Advance,
Cheers
Andy.

Make sure you register the Data Definition (with same code as concurrent program short name) and register/upload the Template correctly.
Call fnd_request.add_layout
Then call FND_SUBMIT.SUBMIT_REQUEST
Regards,
Gareth

Similar Messages

  • Open BI Publisher report  using URL View activity

    Hi,
    i need to call BI Publisher report and I want to use URL View activity (i followed instruction on http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%e2%80%93-go-url-parameters/ but i can't have HTML Form inside af:form)
    But parameters on URL View activity are visible and i have to send username and pass..
    Is there another way?
    Tnx.
    Andreja

    Yes, I can put HTML form at top or bottom of page but i wanted to put in panelCollection (because of page design)....
    but I will think out something to look nicely too :)
    Tnx

  • Calling XML Publisher report(RDF based) From OAF

    Hi All,
    I have requirement where i need to call one of the custom XML Publisher report from oaf by passing the parameters.
    and i dnt want this using concurrent program.
    I have an idea of calling xml publisher report which is Data Template based(XML).
    http://oracle-hack.blogspot.ae/2012/04/launching-xml-publisher-from-oa.html
    but in my case the report is RDF based.
    They are generating the XML using one of the custom rdf. How can we achieve this?
    Please help.

    Hi,
    Thanks for the reply.
    Yeah yes. this method i know in my case the Custom XML Report is based on a rdf.
    So just i want to know it can be achievable ir not? if so how?
    Thanks
    Bharat

  • Calling bi publisher report from apex.

    good morning all,
    I have a situation at hand, i want to be able to call bi publisher report from a dropdown list in apex. what i did was to create a table in the oracle db with the report name and url as columns, from apex all i did was to create a list item which queries the table a should display the report using the url. but the report is not showing properly, what do you thinl i can do.
    i am using the following verion:
    bi publisher: 11g (11.1.1)
    apex: 4.2.1.00.08
    oracle database: 11.2.0.1.0
    Thanks.
    AbdurRahman

    Hopefully, that could be helpful for you,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/apexinst/apexinst_prod.htm
    http://dgielis.blogspot.jp/2007/12/call-bi-publisher-report-from-apex.html
    https://blogs.oracle.com/xmlpublisher/entry/apex_integration_with_publishe
    Edited by: Weibing.Xia on 2013-5-20 下午5:40

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • Call BI Publisher Report in APEX, based on R.T.F Template Layout.

    Hi to all respected members of this forum.
    Since 18th May (Saturday), I am trying to connect BI Publisher Reports with Oracle Application Express 4.2.2.
    My APEX Version = APEX 4.2.2
    Oracle BI Publisher Enterprise Edition (Trial) = 11.1.1.6.0
    Oracle BI Publisher Desktop 32 Bit = 11.117.0.79
    For this purpose what I did?
    Firstly I downloaded Oracle BI Publisher Enterprise Edition 11.7 and when I started Installation I came to know that "R.C.U (Repository Creation Utility)" is required during installation and I don't have that so, left this idea.
    Than I downloaded Oracle BI Publisher Enterprise Edition (Trial) from www.oracle.com and BI Publisher Desktop Edition for Templates because there is no facility in BI Publisher Trial Edition to design Report Templates. I have installed both successfully and created a report as per my requirement.
    Now, I want to call that report in Oracle APEX but I am unable to do that.
    I followed http://dgielis.blogspot.de/2007/12/call-bi-publisher-report-from-apex.html but the link which is shown in picture no: 03, is not available, so this didn't help me.
    Then, I followed Oracle BI Publisher Blog https://blogs.oracle.com/xmlpublisher/entry/apex_users_why_not_integrate_w which discuss to call BI Publisher Report in APEX based on "Generic Report Layout". This done successfully but still I am unable to call BI Publisher Report .
    Then I found this type of script
    http://localhost/xmlpserver/Guest/Reporting_Channel.xdo&id=FGFC&password=****&xt=Reporting_Channel&xf=pdf
    to call BI Publisher Report in APEX but this also failed.
    Please help me to understand that how to call "BI Publisher Report in APEX, based on R.T.F Template Layout.
    Thanks in Advance.
    *Regards:*
    *Muhammad Uzair Awan*
    *ORACLE APEX Developer*
    PAKISTAN.
    Edited by: uzairmalik on May 20, 2013 1:32 PM

    Are you trying to have multiple sql queries and have multiple sections displaying different data sets ? Or with one single query but display it in different ways in a single report ?
    You can create one single query as Report Query in APEX and associate it with a BIP report layout. So you can achieve a Dashboard layout with the report query/layout.

  • Calling BI Publisher Report

    I call a bi publisher report from an apex button using:
    javascript:popupURL('&BI_URL.Guest/MERCURY/CUSTOMS/REJECTS/MER_REJECTS_MISC/MER_REJECTS_MISC.xdo?_xpf=&_xpt=0&_xdo=%2FGuest%2FMERCURY%2FCUSTOMS%2FREJECTS%2FMER_REJECTS_MISC%2FMER_REJECTS_MISC.xdo&P_REJECT_ID=&P59_REJECT_ID.&_xt=MER_REJECTS_MISC&_xf=rtf&_xmode=4');
    {CODE}
    The report opens but there is no standard toolbar, ie, cannot print or save. Do I need to specify something in the url.
    If I open this as a pdf then the print, save options are there
    Gus                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I changed the url and have managed to get the report to open in Word properly, ie, with toolbar.
    javascript:popupURL('&BI_URL.Guest/MERCURY/CUSTOMS/REJECTS/MER_REJECTS_MISC/MER_REJECTS_MISC.xdo?_xpf=&_xpt=1&_xdo=%2FGuest%2FMERCURY%2FCUSTOMS%2FREJECTS%2FMER_REJECTS_MISC%2FMER_REJECTS_MISC.xdo&P_REJECT_ID=&P59_REJECT_ID.&_xt=MER_REJECTS_MISC&_xf=rtf');I changed the xpt=0 to xpt=1 and deleted anything after the _xf=rtf'.
    This now opens in word correctly, but also opens an extra blank window. I have had this problem before and thought I had solved it by using the aboce codel.
    Does anybody know how to stop the generation of the blank window
    Cheers
    Gus

  • Publishing reports using BEx to the Portal

    We have a folder called Store_Data (under Public Documents in KM) that has 500 store folders for reports.  They are sorted by store number.  When publishing reports to those folders from BEx Broadcaster the folders are sorted by creation date which makes it difficult to find the store folders.
    Is there a way to have them sorted the same as the portal?

    It is sorting fine in the portal but when you access the folder through BEx is not sorted.

  • XML publisher report thru fnd_request.submit_request

    Hi All,
    I have oracle application 11.5.10.2 and created many XML publisher reports in RTF format (RDF as a source of XML output) . Now i want to run these reports thru fnd_request.submit_request and generate report output in PDF.
    I have successfully submitted request with required report parameters and request successfully complete without any error but concurrent program does not generate any report output.
    If i run this report as a text output then i get report output thru fnd_request.submit_request.
    Can any one tell me about solution?
    Thanks
    XMLP User

    Try to post your query in the 'XML Publisher' forum, you might get more help:
    BI Publisher

  • Calling a Z-Report using a Function Module.

    Hi All,
    Kindly provide me help in: 
    How to call a Z-Report which generates a flat file in the Application server. And which I want to call using a Function Module and display all the fields which are generated in the file.
    Steps I've already done:
    1) I've created a Function Module
    2) Created a structure which I've used in the Tables tab of the FM
    3) Used:
       SUBMIT ZSCOMAR
                    VIA SELECTION-SCREEN
                    USING SELECTION-SET 'Variant'
                   AND RETURN.
    Output whichI'm receiving:
    Only the no. of rows is shown but not the fields individually.
    Thanks in Advance.
    Regards,
    Sreedhar.

    you can either :
    display the data from the ZPROGRAM(by editing it)
    or
    by reading the file again in you FM using open dataset, read dataset, close dataset. and display the content

  • Xml publisher report using RTF in Excel is coming as wrap text?

    Hi,
    I am working on XML publisher report, I have converted standard report to xml publisher , to generate the report in excel.
    But the output is coming as Wrap text, is there a way to get the output directly without wrap ?
    Thanks
    Dev

    Hi Dev,
    You can try below ways
    1>change the setting in table properties to fit table cell as per contents.
    2>or create a table and inside that create one more inner table and add your fields.
    3>or Create .XLS layout it will come properly.
    Thanks

  • XML publisher report using connected query

    dear all,
    I defined some XMLP reports with very similiar parameters.
    I found a strange issue, all reports using query as the source, they appear in the XMLP report viewer.
    But for those using the connected query, all are not able to be found in the XMLP report viewer list.
    Anybody has experience on this. Did I miss anything special for the connected query type?
    Many thanks.

    Is there anybody suffering the same issue?
    I double checked the settings of two XMLP report definitions.
    No difference, but the one with the connected query as the source can NOT been found.

  • Calling a Crystal Report using the ReportViewerBean

    Hello...I am writing a java application to display a Seagate Crystal report using the ReportViewerBean.
    The problem I am having is trying to display the report within the viewer.
    The following is a sample from my code where I create an instance of the viewer bean.
    ReportViewerBean rvb = new ReportViewerBean();
    JFrame frame = new JFrame();
    frame.setSize(1000,1000);
    frame.getContentPane().add(rvb,BorderLayout.CENTER);
    frame.show();
    rvb.start();
    try
    String strUrl = "http://localhost:8080/Report1.rpt";
    rvb.setReportName(strUrl);
    catch(java.beans.PropertyVetoException pve)
    System.err.println("Property change vetod");
    The Sys-out from the Report Viewer bean is "No reponse from server".
    The sysout from my server (Tomcat 3.2.3) is:
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    Any suggestion/help would be greatly appreciated...TY

    I am getting the same 'No Response from Server' Message.
    URL = http://Pepperland/STPARMListing.rpt?viewer=java&vfmt=encp&vgen=728&pversion=3&language=en&promptOnRefresh=1
    Parameters = cmd=get_pg&page=1&incomplete_page=1&incomplete_page_count=1&smart_images=1
    No response from server.
    The WWW service and the Default Web Site are up and running.
    I tried configuring the application settings in the IIS MMC but I was unable to determine which .dll to associate with the .rpt extension.

  • Calling drill through report using parent child hierarchy

    Hi,
    I am using Parent/child hierarachy and I want to open a report using drill through on that hierarchy, whenever i click on column it opens the report but showing whole data. It is not restricing the data.Please tell how can i prompt a heierachial column or parent child column at detail level.
    Another issue i am facing is after clicking on + sign at the child column acton link is not working.
    Please reply on that issue.
    Edited by: HZ on Aug 15, 2012 12:15 AM

    Refer to:
    http://www.rittmanmead.com/2010/07/obiee-11gr1-support-for-ragged-skip-level-value-based-hierarchies/
    This should give you an idea.

  • Calling XML Publisher Report from OAF using the conc programs xml output

    Hi all
    I am trying to call a report from oa Framework. I have developed the Template in the Ms-Word and for Generating the xml data i used the view object defined in OAF, this approach is working for me...i used the following code to do this in the AM as mentioned in many places...
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    now i want that instead of the view object i should use the xml generated by the report which is registered as concurrnet program with output as xml.
    I am submitting the concurrent program and able to get the request id ...
    Now from here what should i do.. please suggest...

    Hi,
    I am thinking of doing something very similar. What i was planning on doing is submitting the request, and then redirecting the user to the concurrent request page. They can then use the standard functionality to view output and get the xml to use the appropriate template.
    i would be interested in how you get the concurrent request id from the submitted job.
    Many thanks
    Rupesh

Maybe you are looking for

  • Blue Screen of Death and USB malfunctions on HP Envy running Windows 7

    Hello. I have an HP Envy 14 notebook PC. It's running Microsoft Windows 7 Home Premium 64-bit, version 6.1.7601. When I run it, I eventually starts getting an error message from the right of the desktop toolbar telling me that a USB device I plugged

  • [ANN] - Get the latest JDeveloper News Directly in the IDE

    Get the RSS News Feed Reader Extension for Oracle JDeveloper 10g from here: http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/RSS/index.html And you'll get the latest news about JDeveloper first. Updates on new tips, papers, demos,

  • Error after migration to 11g

    Hi , I have recently migeated from 10g to 11.2.0.2 enterprise edition and i m getting ora error in my alert log file as below : Mon Jan 28 22:01:02 2013 DBMS_STATS: GATHER_STATS_JOB encountered errors. Check the trace file. ORA-20011: Approximate NDV

  • Printing a quotation mark

    hello, here is the questions. :) i'd like to print a single quation mark (') into results column. select 'My name is ' || name || '.' from table ex results : My name is 'aaa'. things like that...

  • CMNS support is not present in this image

    Hi, We are using a C1721 router to connect a X25 line to an ethernet port. We need to enable CMNS and we get the following error: GDM_Cisco#configure terminal Enter configuration commands, one per line.  End with CNTL/Z. GDM_Cisco(config)#interface f