Export xml publisher to output  CSV

Dear all
I want to output my report use xmlpublisher to format csv.
How can i do this?Please help me .
Thanks

Hi;
I want to output my report use xmlpublisher to format csv.
How can i do this?Please help me .Refer:
CSV report with BI-Publisher 10.1.3.3, but how?
https://blogs.oracle.com/xmlpublisher/entry/csv_anyone
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/csv-as-a-report-output-in-apps-11i-4236827
Regard
Helios

Similar Messages

  • Displaying BLOB of type word doc in XML Publisher pdf output

    Hi all,
    Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XXTDIC_SUP_REG>
    <LIST_G_BASIC_QUSNRY>
    <G_BASIC_QUSNRY>
    <RESPONSE_ID>194</RESPONSE_ID>
    <UAE_REGISTRATION>Yes</UAE_REGISTRATION>
    <TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
    <WEBSITE_DETAILS>com</WEBSITE_DETAILS>
    <AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
    </G_BASIC_QUSNRY>
    </LIST_G_BASIC_QUSNRY>
    <LIST_G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>0</FAX_NUMBER>
    </G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>-</FAX_NUMBER>
    </G_CONTACTS>
    </LIST_G_CONTACTS>
    <LIST_G_SC_QUSNRY>
    <G_SC_QUSNRY>
    <RESPONSE_ID1>113</RESPONSE_ID1>
    <FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
    <ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
    <SCM_EXPERIENCE_PARTNERING>Have you had experience of &quot;Partnering&quot;?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
    </G_SC_QUSNRY>
    </LIST_G_SC_QUSNRY>
    <LIST_G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City1</CITY>
    <STATE>State1</STATE>
    <COUNTRY>US</COUNTRY>
    </G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City2</CITY>
    <STATE>State2</STATE>
    <COUNTRY>IN</COUNTRY>
    </G_ADDRESS>
    </LIST_G_ADDRESS>
    <LIST_G_DSN_QUSNRY>
    </LIST_G_DSN_QUSNRY>
    <LIST_G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.42</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.37</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    </LIST_G_PROD_SUB_CODE>
    <LIST_G_CONT_QUSNRY>
    </LIST_G_CONT_QUSNRY>
    <LIST_G_BUSS_CLASS>
    <G_BUSS_CLASS>
    <BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
    </G_BUSS_CLASS>
    </LIST_G_BUSS_CLASS>
    <CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
    <CF_REG_STATUS>Draft</CF_REG_STATUS>
    <CF_BUS_CLASS></CF_BUS_CLASS>
    <CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
    <CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
    <CF_COUNTRY>India</CF_COUNTRY>
    </XXTDIC_SUP_REG>
    Thanks in advance.
    Best Regards,
    Mahi

    Mahi,
    you can't do that yet.

  • XML Publisher - Specify Output file name

    Hi All
    I am using XML Publisher in one of our OAF pages to generate PDF reports based on some parameters. I am using the shared region which OAF has provided. On export, I see that the output file name is : template code + random number + _out.pdf. Is there anyway to specify custom output file name?? As this is little critical for me, any pointers would be greatly appreciated.
    Thanks in advance,
    Murari

    Hi Avaneesh,
    Thanks for your prompt response. I see that the logic for file name is in xml publisher utility class: DocumentHelper. I dont see any option to pass file name as a parameter to DocumentHelper. So I am not sure if extending OAF region controller : "DocumentViewerCO.java" would be of any help?? Please correct me if I am wrong. Did you ever try changing output file name from OAF page?
    Many thanks,
    Murari

  • XML Publisher Report Output from OAF Page

    Hi,
    I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
    Please see the below code.
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
    String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
    System.out.println("s1 = " + s1);
    String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
    System.out.println("s2 = " + s2);
    String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
    CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
    System.out.println("s3 = " + s3);
    if(requestId != 0)
    try
    Number number = new Number(requestId);
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, number.intValue());
    callablestatement.setString(3, s2);
    callablestatement.setString(4, s1);
    callablestatement.execute();
    String s4 = callablestatement.getString(1);
    System.out.println("Before S4 if statement");
    if(s4 == null || s4.equals(""))
    // throw new RuntimeException();
    System.out.println("URL is null");
    System.out.println(" print ouput url - " + s4 );
    // throw OAException.wrapperException(exception);
    oadbtransactionimpl.putValue("OutputURL", s4);
    System.out.println(" print ouput url - " + s4 );
    }

    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.

  • XML Publisher Report Output

    Hi,
    For one of our XML Publisher report, the output is varying from one instance to another. The data output is same.
    There are nine records that need to be displayed.
    In the first instance, all the nine records are being displayed in the first page.
    In the second instance, eight records are being displayed in the first page and the last record is being displayed in the next page.
    Please let me know what could be the cause/resolution for this issue.
    Thanks,
    Krishna

    before all you need to check version of publisher with patches
    Liviu Iliescu-Oracle how data source can impact to output in this case ?
    OP said
    The data output is same.

  • XML Publisher report output in RTF format does not display full page

    Hi,
    We have one XML Publisher report, the output of report in RTF format is not getting displayed in Full Page in normal way (MS Word -->View menu --> Print layout) but we can see full page display when we do MS Word -->View menu --> Outline.
    Appreciate your valuable inputs on this.
    Is this a template issue or any profiles needs to be set.
    Thanks
    Vijay

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

  • 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.

  • Xml publisher excel output

    Hi.
    I have the rtf-template for xml-publisher report with excel output.
    There is the table there. I need format the table according appointed requirements (in output excel file). For example, width of the columns of the table must be fixed width. How I can define width of the columns with xsl language in rtf-template?
    [email protected]
    Best regards

    UP
    There is positive progress there.
    For example, I can change height of the heading row of the table by this way:
    <xsl:attribute name = "height" xdofo:ctx="block-container">40mm</xsl:attribute>.
    These xsl tags I put it in the text field of the rtf template between <?split-column-header:GROUP?> and <?VALUE?> tags (There are dinamic columns in the table).
    But <xsl:attribute name = "width" xdofo:ctx="block-container">40mm</xsl:attribute> tags work incorrect, not as I need (Some cells is spanned in the height and division of the text is by the word).
    May be I need some others tags? Or I need different object or property?
    I want to note that xml-publisher's tags <?split-column-width:@width?> and <?split-column-width:width?> are not working in excel output (or I use it incorrect).
    I am really need your help. How I can define exact width of dinamic columns?
    Thanks.

  • XML Publisher with output type EXCEL is taking time to finish than for PDF

    Hi Guru's,
    I got a strange problem.
    When i submit a report by choosing output format type as EXCEL, it is taking much time to complete. The same report if i choose PDF finishing in half of the time of EXCEL report. Also when we go with "view output" it is taking 4 mins to show the output. Total number of records existed are 6000 only.
    Please suggest me the solutions or alternatives if any.
    Thanks in advance and waiting for your response.
    Regards,
    Phani Reddy

    it is taking much time to complete. The same report if i choose PDF finishing
    in half of the time of EXCEL report. Excel is a complicated and proprietary file format. Whilst I know nothing about XML Publisher I do know that putting any sort of output into Excel format takes a long time. It's because it has to be done on a cell-by-cell basis. It's much faster to blat stuff out row-by-row.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • XML Publisher rtf output not consistent with the rtf created

    I am using XML publisher to generate a custom report.
    The approach I folllowed:
    1) AM Class: Write the VO data to XMLNode using vo.writeXML() method
    2) XML Publisher Administrator Responsibility: Create a data template and attach the xml created in step1 as "Preview Data"
    3) XML Publisher Administrator Responsibility: Create a rtf template (contains images and text), attach the data template (step 2) and attach the rtf created.
    4) Controller class: Use TemplateHelper.processTemplate() method, passing the rtf template and the XML data from VO.
    5) Verify the rtf output in application.
    Issues I am having are as follows:
    1) Major issue is page format. I have saved my rtf file with a different page format as below:
         File->Page Setup->Paper->Width:255 pt
                   ->Height:165 pt
         File->Page Setup->Margins->Top: 12 pt
                        ->Bottom: 0.1 pt
                        ->Left: 0.1 pt
                        ->Right: 12 pt
    When I open my document from the application, the margins and page setup rtf output is not retained (as given in teh doc), hence my whole layout is disturbed.
    Thus, I am getting a very weird layout when I open my rtf output from application.      
    How can I retain the page settings?
    2) I added a image, and the size of the image also is not retained as well.
    And if I set the layout wrapping style anything other than "In line with text", the image does not show up in the output.
    Would greatly appreciate if someone can put some light on this.

    RTF & PDF output can't be exact same, we can minimize the difference by eliminating all extra spaces(Ex: from table rows, in between form fields etc.) from RTF while generating RTF output.
    For reference:
    BUG:8662322 - RTF FORMAT DOES NOT SHOWS WITH FIXED HEIGHT OF ROW
    Thanks,
    Sandeep

  • XML Publisher pdf output need each page wise start and end number

    Hi ,
    I have xml publisher out put in PDF. Now i need on each page header and detail part.
    In header for each page it should repeat and should be print the min and maximam number of the columns.
    I mean in the header start and end number of the column value for that particular page.
    I did many ways but there is no luck.
    Can you please suggest me how to do.
    Thanks
    Sampath

    pls give me reply on this if any body have the answer

  • XML publisher - the output have few vertical lines.where are they come from

    I need some suggestion on how to debug.
    just take over a project. The invoice is present using XML publisher. the template also called sub template for header and footer information. But there are vertical line between each column almost all the way from the header to the footer. I original though that must be the boarder from each column. but not really. I even delete all the column, or even the for-each@section... Still see the vertical liine. I won't see them at all in the template.
    Where are these vertical line comes from

    ATI Radeon HD 2600 XT:
    Chipset Model: ATI Radeon HD 2600
    Type: GPU
    Bus: PCIe
    Slot: Slot-1
    PCIe Lane Width: x16
    VRAM (Total): 256 MB
    Vendor: ATI (0x1002)
    Device ID: 0x9588
    Revision ID: 0x0000
    ROM Revision: 113-B1480A-252
    EFI Driver Version: 01.00.252
    Message was edited by: Mac Pro Man
    I have looked the mac inside an everything seems fine.
    Message was edited by: Mac Pro Man

  • Enable to get the aligned XML Publisher Report output

    Hi All,
    In BI Publisher report there is a column called short_text which have data like
    i) Price Basis : Free Delivery to Tata Power SED
    (ii) Delivery time : Within 6 weeks from the date of PO
    (iii) Payment : After acceptance within 7 Days
    (iv) Freight : Nil
    (v) Insurance : Nil
    (vi) Packing & Forwarding :Nil
    (vii) CST/VAT : @ 5% VAT
    (viii) Excise Duty : @ 10.3%
    (ix) Service Tax : Nil
    (x) Entry Tax : Nil
    (xi) Warranty : Nil
    But the data in the output is not coming in the aligned manner like above.
    Could anyone please help on this??
    Regards,
    Swapna.

    Hello Bala,
    I wouldn't SUBMIT the same program to get the Spool number. You can achieve the same by [NEW-PAGE PRINT ON|http://help.sap.com/abapdocu_702/en/abapnew-page_print.htm#!ABAP_ADDITION_1@1@] command.
    Check the code snippet i've provided below:
    DATA: spfli_wa         TYPE spfli,
          print_parameters TYPE pri_params,
          valid_flag       TYPE c LENGTH 1.
    START-OF-SELECTION.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog            = 'X'
        IMPORTING
          out_parameters       = print_parameters
          valid                = valid_flag
        EXCEPTIONS
          invalid_print_params = 2
          OTHERS               = 4.
      IF valid_flag = 'X' AND sy-subrc = 0.
    *   1. Write the output to the output list(no spool is generated)
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
    *   2. Write the output to SAP spool(no list is displayed)
        NEW-PAGE PRINT ON PARAMETERS print_parameters NO DIALOG.
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
        NEW-PAGE PRINT OFF.
        MESSAGE i000(zibi027) WITH 'Spool' sy-spono 'is generated!!!'.
        "You can use the spool number (SY-SPONO) to email the list output
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Special Characters in XML Publisher PDF Output

    Hi,
    I'm printing "Long Text" in report output in every line based on tab.
    Report output is having special characters like \n.
    I was using below to print in next line, any suggestions for removing \n.
    Below is what was happening:
    ===================
    RDF:
    =====
    lv_notes := replace(:CF_LONG_TEXT_DESC, chr(9), ' ') ;
    lv_notes1 := replace(lv_notes, chr(10), ' ') ;
    lv_notes2 := replace(lv_notes1, chr(13), ' ') ;
    XML
    ===
    <CF_LONG_TEXT_desc>
    Initial Billing Amount: $549,180.00 \n \n Computation: \n a) Estimated Number of Full-Time Students: 12,000 \n
    b) Estimated Number of Calendar Days: 113 \n
    c) Calendar Date (From - To): 1/18/2011 - 5/10/2011 \n
    d) Multiply by: $0.81 \n
    e) Estimated Total Costs: $1,098,360.00 \n
    f) Initial Billing Amount represents 50% of Estimated Total Costs. \n
    \n \n
    If you have questions about your invoice please contact Darud Akbar at (312) 681-2724.
    </CF_LONG_TEXT_desc>
    PDF Output
    ==========
    Initial Billing Amount: $549,180.00 \n \n Computation: \n a) Estimated Number of Full-Time Students: 12,000 \n
    b) Estimated Number of Calendar Days: 113 \n
    c) Calendar Date (From - To): 1/18/2011 - 5/10/2011 \n
    d) Multiply by: $0.81 \n
    e) Estimated Total Costs: $1,098,360.00 \n
    f) Initial Billing Amount represents 50% of Estimated Total Costs. \n
    \n \n
    If you have questions about your invoice please contact Darud Akbar at (312) 681-2724.
    Thanks.

    >
    Initial Value
    =======
    <?CF_LONG_TEXT_desc?>
    Changed to (Below gives me error)
    ========
    <?<xsl:value-of select="translate(CF_LONG_TEXT_desc,'\n','')"/>?>
    Changed to (Below doesn't fetch data)
    ========
    <xsl:value-of select="translate(CF_LONG_TEXT_desc,'\n','')"/>
    >
    must be in field as
    <xsl:value-of select="translate(CF_LONG_TEXT_desc,'\n','')"/>

  • How to export Bi Publisher report into .csv file in different sheets?

    Hi,
    I have a report request in BI Publisher to generate the results in different tabs in Excel format with headings etc.
    But the users are now asking for the same report in .csv format with the same number of tabs in one file.
    Can I do that in .csv file?
    Regards
    Sailaja

    Can I do that in .csv file?
    no
    csv is simple plain-text
    A comma-separated values (CSV) (also sometimes called character-separated values, because the separator character does not have to be a comma) file stores tabular data (numbers and text) in plain-text form. Plain text means that the file is a sequence of characters, with no data that has to be interpreted instead, as binary numbers. A CSV file consists of any number of records, separated by line breaks of some kind; each record consists of fields, separated by some other character or string, most commonly a literal comma or tab. Usually, all records have an identical sequence of fields.
    Comma-separated values - Wikipedia, the free encyclopedia

Maybe you are looking for

  • IPod nano 3rd Gen & i-Station3

    I have an i-Station3 from Logic3. It always worked with my iPod nano 2nd gen, but it don't accept de new generation while they both have the same docking station. Is there a solution for this? Maybe a software update for the iPod or something? Thanks

  • OSB with database adapter using stored procedure

    Hi All, We have a following requirement, in OSB while using the DB adapter with stored procedure. 1) the store procedure has custome datatype as inout parameter 2) send reference cursor as input to stored procedure Can you please let me know how to d

  • Install Grid Control and use repository within a DataGuard configuration

    Hello, I need some information if anyone has experience in the following We have severel database running in DataGuard standby configuration. I want to install OMS 11.1 and use the repository in a primary and standby configuration. My configuration w

  • Desktop background issues

    I downloaded a photo from the internet to use as my desktop background. I selected the photo as my background and it worked. However, whenever I shut down my computer and turn it back on, the photo I chose has disappeared and my desktop has gone back

  • ORA 12224 - TNS:  No Listener problem

    Hi there, I have SQL*Plus working on client A (Sun Solaris, 9i), connecting to server C (Windows NT, 7.3.4) From client B (Sun Solaris, 8.0.6), trying to connect to server C using the same TNSNAMES.ORA, same user & instance, I get the error : ORA-122