Store XML Publisher report in the database

Hi all,
Is is possible to generate an XML Publisher report in the background and store the report as a blob in the database. I have an APEX application that needs to generate the report when the user clicks an 'Update' button. This report can then be accessed at a later date (via a hyper-link on another page) and will show the report that was stored on that date. Basically the report needs to be point in time.
Thanks
Grant

Hi,
you might have your reasons to want to store the entire report in the db as an object ... But wouldn't it be simpler to just add an extra DATE column to filter, and generate the report at runtime?
What if the data changes in the meantime?
Just, an idea ...
Grtz.

Similar Messages

  • XML Publisher Report:how to disappear the column if no data found

    Hi,
    I have a XMl publisher report requirement , the format is tabular lets say with the structure of 4 columns and 10 rows.requirement is to if suppose there is no data for row number 6 the row itself should not appear over the report and the immediate next row should come in place.
    please help me if any one of u has implemented the same.
    Ankit

    Ankit,
    This is almost hard to work although NOT impossible to achieve on the template.
    A little big of PL/SQL genius where all the columns are selected into variables may be used to achieve this, although you will have to manage them accordingly.
    I don't any other way round it.
    Rgds

  • How to call the XML Publisher Report thro Standard PO Output for Comm.

    Hi
    We need to call our custom report(XML Publisher Report) from the standard PO Output for Communication Report.
    There is a parameter(Purchase Order Layout) in PO Output for Communication in which we can see no. of standard reports. We want to add our custom report in that list so that when we will run this standard report by selecting our custom report for Purchase Order Layout parameter, we should get the output as per our Custom report.
    Since PO Output for Communication is a Java Concurrent Program, we are not able to place our custom report in the list of Purchase Order layout Parameter.
    Ram

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

  • Printing the XML Publisher report output  from different trays of printer.

    I am generating the XML Publisher report and the output is in 5 pages and that is sent to the printer
    In the printer there are two trays one tray(tray 1) consists of company watermarked papers and the other tray(tray 2) will be consisting of ordinary papers
    I want to print the first two pages of the report on the papers of first tray and the remaining pages to be printed from another tray consisting of ordinary papers.
    How can i do this in XML Publisher.
    Any response will be appreciated
    Thanks
    Saurav

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • Multiple Thread of a xml publisher report - messed up fonts in the PDF out

    We are running 60000 invoices at a given time. In order to get the job done faster, the xml publisher report is set up to run mulitple threads. Each thread running unique set of invoices.
    I am seeing this issue, randomly.
    The pdf output of the invoice is having the fonts messed up. font 10 shows up as 14 and the invoice looks very bad.
    When i rerun the same set of invoices it looks absolutely normal.
    Also if I retrieve the xml output of the bad pdf and view it through the xmlpub desktop, it looks perfectly fine.
    Two times we saw this issue
    PRODUCTION
    - when i run 8 threads, i saw this issue in one of the thread and affected one invoice. (Production- 1 concurrent processing node+ 5 OPP processes and 5 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    TEST INSTANCE
    - when i ran with 16 threads, one of the thread running xml pub report affected all the invoices (UAT environment-1 concurrent processing node+ 7 OPP processes and 1 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    Looks like it is happening when running multiple threads.
    The formatting command or information is getting lost somewhere and the report is all messed up.
    Please advise.
    Thanks
    SJ

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • XML Publisher Report in EBS without Standard Oracle Report

    Hi folks ,
    i have some questions.
    Can I create a XML Publisher Report for the EBS without a Standard Oracle Report in EBS.
    So that I can build up the files with the Desktop Publisher, create Data Definition / Template with Upload / Create the executable und concurrent and than only start the new program in EBS ?
    I have the situation that I can start my program with the template in the background but ít is searching for the report on the file system.
    Thanks in advance for the feedback.
    regards
    Kay

    Hi Ravi ,
    can i do it only with the xml Publisher , because when i tried it in the past and get all the staff like Template / DD / CP up and running and started the CR i get an error from the system that he is missing a report directly in the file system... so he searched for the report himself on system like a standard 6i Report. But the template and the dd is stored in the db. So my question again, can I use the XML Puplisher without a Standard Report or can i use a dummy file only for checking and after that he use my template / dd.
    regards
    Kay

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • Problem in XML Publisher Report submission from OAF Pages

    Hi,
    I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
    The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
    We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
    I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
    So my doubt is
    Does the Standard Concurrent program used in OAF supports the rtf reports.
    Please suggest if any modifications to be done in the Concurrent program
    Krishna

    Krishna
    Modified your code a little bit.Use this
        public int submitCPRequest(String shipmentId) {
        System.out.println("into submitCPRequest");
            OAPageContext pageContext;
            OAWebBean webBean;
        try {
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
        OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("XXAPL"); //Application that contains the concurrent program
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
        System.out.println("Concc Name"+ cpName);
        String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
        // Pass the Arguments using vector
        // Here i have added my parameter headerId to the vector and passed the
        //vector to the concurrent program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        System.out.println("Args"+ cpArgs);
        // Calling the Concurrent Program
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
        cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
        System.out.println("Req Id"+ requestId);
        tx.commit();
        return requestId;
            catch (RequestSubmissionException e) {
            System.out.println("Into Exception");
            OAException oe = new OAException(e.getMessage());
            oe.setApplicationModule(this);
            throw oe;
            catch(Exception exception)
            throw OAException.wrapperException(exception);
        }Thanks
    AJ

  • One or more post-processing actions failed - XML Publisher report

    Hi all, I'm working with the following envinronment:
    Unix platform: HP-UX rp1 B.11.11 U 9000/800
    DB: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    eBS: EBS 11.5.9
    More in detail I have a problem when I run a request to see an XML Publisher Report. The request's status at the end is WARNING.....
    When I click on "View Output" I don't see nothing and inside the "View Log" I have this error:
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1897375 on node RP1DEV at 10-SEP-2008 14:13:36.
    Post-processing of request 1897375 failed at 10-SEP-2008 14:13:37 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Following the Metalink Note 364547.1 I opened the OPP service log and this is the content:
    [9/10/08 2:51:09 PM] [OPPServiceThread0] Post-processing request 1897433.
    [9/10/08 2:51:09 PM] [72379:RT1897433] Executing post-processing actions for request 1897433.
    [9/10/08 2:51:09 PM] [72379:RT1897433] Starting XML Publisher post-processing action.
    [9/10/08 2:51:09 PM] [72379:RT1897433]
    Template code: XX_MANAGERS
    Template app: AR
    Language: en
    Territory: GR
    Output type: PDF
    [9/10/08 2:51:09 PM] [UNEXPECTED] [72379:RT1897433] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:187)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: java.io.UnsupportedEncodingException: &Encoding
    at sun.io.Converters.getConverterClass(Converters.java:223)
    at sun.io.Converters.newConverter(Converters.java:263)
    at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
    at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
    at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
    at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
    at oracle.xdo.parser.v2.XMLReader.setEncoding(XMLReader.java:848)
    at oracle.xdo.parser.v2.XMLReader.checkXMLDecl(XMLReader.java:2718)
    at oracle.xdo.parser.v2.XMLReader.pushXMLReader(XMLReader.java:471)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:263)
    ... 17 more
    [9/10/08 2:51:09 PM] [72379:RT1897433] Completed post-processing actions for request 1897433.
    Anybody have any idea where the error is ?
    Any help will be appreciated
    Alex

    You are right !!
    The problem is inside the report generated by Oracle Reports
    The XML code, which I retrieve running the report request is the following:
    <?xml version="1.0" encoding="&Encoding"?>
    - <!-- Generated by Oracle Reports version 6.0.8.20.2
    -->
    - <MODULE1>
    - <LIST_G_MANAGER_NO>
    - <G_MANAGER_NO>
    <MANAGER_NO>1000</MANAGER_NO>
    <MANAGER_NAME>Anil Passi</MANAGER_NAME>
    </G_MANAGER_NO>
    - <G_MANAGER_NO>
    <MANAGER_NO>1001</MANAGER_NO>
    <MANAGER_NAME>Martin</MANAGER_NAME>
    </G_MANAGER_NO>
    </LIST_G_MANAGER_NO>
    </MODULE1>
    and the problem is the "&" !!!
    So, inside Oracle Reports, when I try to generate the XML code from a preexisting report, the encoding variable is not set.
    Now, I'm trying to understand how to set it, but I didn't find nothing....
    Somebody knows where can I find a Report's configuration file in order to set this "encoding" ?
    Thanks
    Alex

  • Different methods of creating an XML Publisher report

    Hi All,
    Can anyone please advice me on different methods of creating an XML Publisher report.
    The method which we us is as follows -
    1. Create an RDF file and upload the same in the /REPORTS/US path.
    2. create a concurrent program, give output as XML.
    3. Create a data definition, but here we do not upload any data definition.
    4. Create a template and upload the RTF template.
    But I have heard that there is a method wherein we do not have to create the RDF and simply adding the query to the XML file works.
    But in that case do we upload anything in tht Data defition also ?
    Can anyone please provide me any link or some place where I can read about different methods to create an XML report without the use of an RDF.
    Regards,
    Shruti

    Hi Shruti,
    There is a method where we need not to create RDF as data defination. You need to write a xml file which we upload as data defination. The short name for this data defination used as short name as concurrent program having executable XDODTEXE.
    Sample XML data template :
    <?xml version="1.0" encoding="UTF-8" ?>
    <dataTemplate name="EmpData" description="Employee Details" version="1.0">
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select business_group_id, business_group_name
                   from hrfv_business_groups
                   where date_to is null
                     and business_group_id not in (0, 82)
                         order by business_group_id]]>
    </sqlStatement>
    <sqlStatement name="Q2">
    <![CDATA[select employee_number,
                         title ,
                         full_name,
                         sex ,
                         date_of_birth,
                         email_address
                 from per_all_people_f
                 where business_group_id = :business_group_id
                   and current_employee_flag ='Y'
                   and trunc(sysdate) between effective_start_date and effective_end_date
                   and rownum<11]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_BG" source="Q1">
    <element name="BusinessGroupId" value ="business_group_id"/>
    <element name="BusinessGroupName" value ="business_group_name"/>
    <group name="G_EMP" source="Q2">
    <element name="EmpNumber" value ="employee_number"/>
    <element name="Title" value ="title"/>
    <element name="FullName" value ="full_name"/>
    <element name="Sex" value ="sex"/>
    <element name="DateOfBirth" value ="date_of_birth"/>
    <element name="EmailAddress" value ="email_address"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    This data template generates xml data which prints output on rtf template.
    Hope this will help. Let me know for more info.

  • Extra Blank page in XML Publisher report

    Hi,
    I am getting extra blank page in XML publisher report.
    The RTF has two pages and each page has one table.These two tables will be populated with data based on some if condtion.
    eg:
    In RTF:
    for each Header
    if PMA='Y' THEN
    Table1 data in 1st page
    end if;
    pageBreak
    IF OTC='Y' then
    Table2 data in 2nd page
    END IF;
    end for each
    And also another issue is: The data is starting from the same page instead of new page.
    Please help me in solving the issue.
    Thanks,
    Srinivas

    Hi,
    Thanks for reply.
    I am using <xsl:attribute name="break-before">page</xsl:attribute> page break.
    I tried split-by-page-break also,but still its not resolved.
    Today I have noticed one thing: When generating this report locally,then there is no blank page coming.But when generating from APPS then blank page is coming.
    Please help me to resolve this issue.
    Thanks,
    Srinivas

  • Copyright symbol in XML Publisher report

    Hi All,
    I have the following requirement in XML Publisher report,
    The user may include © (Copyright) symbol in the goal section (performance management module) and save it to oracle.
    It is storing in oracle correctly and i am seeing the ascii char is 169 and it is support by oracle.
    But, when i run the XML publisher report, getting the error "The webpage cannot be found"
    Its happening only when there is a non-ascii characters like copyright symbol. Otherwise, it is working fine.
    How to resolve this? Please share your ideas.
    Thanks,
    Manoahran

    Thanks for your reply Duncan.
    PARAMETER     VALUE
    NLS_CHARACTERSET     WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    FND: NATIVE CLIENT ENCODING value is - WE8MSWIN1252
    We are not running thru concurrent program. We are running from self service page and the Source of this XML report is VO (View Object).
    There is no font installed under font files in XML Publisher Administrator.. Do we need to create the font files?
    Please give me your suggestions.

  • Submitting a XML Publisher Report from JSP page

    Hello,
    We have need to submit a XML Publisher report from Quoting/iStore module in Oracle Ebusiness. The out put should be viewable in PDF format and user should be able to print. can anyone pls help on how this can be achieved.
    TIA

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • How to add a digital signature in xml publisher report

    The problem is: There is a existing pick slip report.This is a xml publisher report and the data source is RDF. We have to add digital signature there. Now this signature is stored in a table with type Long Raw and format BMP. XML Publisher do not support Long Raw and BMP format. It supports BLOB and jpg format.
    Could you please guide how to add this signature in the existing RDF with datatype as BLOB and format as jpg.
    Please provide the steps with example.

    Hi,
    Have a look at this thread.
    Implementing electronic signatures on an existing AP check run
    Re: Implementing electronic signatures on an existing AP check run
    Regards,
    Hussein

Maybe you are looking for

  • Shopping cart header status differs to status at line item level

    Hello I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on docume

  • New TM user: initial back-up plan

    Hi. I'm going to be using TM for the first time to back up my son's Digital Performer music project files. He keeps all of these files, which are very large, on a 1Tbyte internal drive called "Projects," which is separate from his main Mac HD. My pla

  • Data Retrieval speed from DIAdem Database using Data Finder Toolkit in LabVIEW

    I have developed a LabVIEW code using NI Data Finder toolkit for extracting the data from the DIAdem. I have formed queries for extraction the data. But the data retrieval takes more time for extracting the data. I have attached my LabVIEW code image

  • Dreamweaver Hilfe für Widget

    hallo ich grüße Sie mein Problem ! ich habe Dreamweaver CS6 trotzmehrmaligen Versuchen auch nach Neu Installation kann ich keine Verbindung mit dem Widget Browser  aufnehmen es sind auch keine Widget im Programm vorhanden. was muss ich machen um das

  • ADFS Proxy

    I have a proxy server in a DMZ i'm unable to connect to a load balanced cluster on the other side using the cluster address. What ports (if any) do I need to open? Is there any trouble shooting or diagnostics I need to do? I would also appreciate som