Format Pdf Output

Hi Friends,
I am trying to suppress the records in my RTF template.
My current output is something like this.
supplier Site Invoice Desc Amount
ABC      XYZ     1     ABCDF     100
ABC     XYZ     2     EFGH     200
ABC     XYZ     3     HFHG     300
          Supplier Total:
DEF     YYY     1     ABCDF     100
DEF     YYY     2     EFGH     200
DEF     YYY     3     HFHG     300
          Supplier Total:
#############Expected Output###########
supplier Site Invoice Desc Amount
ABC     XYZ     1     ABCDF     100
          2     EFGH     200
          3     HFHG     300
          Supplier Total:
DEF     YYY     1     ABCDF     100
          2     EFGH     200
          3     HFHG     300
          Supplier Total:
Any suggestions please.?
Many Thanks..!

Can you post a sample of your XML data and explain why you trying to do what you are trying to do?

Similar Messages

  • Query about Email Address Format & PDF Output

    I'm using XML Publisher and an RTF word template linked to an Oracle XML file to generate PDF Purchase Orders.
    Part of the PDF output displays an email address.
    If the email address is in this format:
    [email protected]
    then when the PDF output is generated, the address is outputted into a clickable hyperlink which sends an email to:
    [email protected]
    However, if the email address is set to:
    [email protected]
    then the resulting email hyperlink will only be sent to:
    [email protected] (i.e. all to the right of the dot)...
    Just wondered if there is any way to stop this from happening?
    Thank you

    Sorry - I know months have passed since I first raised this query.
    Just double checking again, to see if anyone is aware of a workaround for this email issue? Is there anything I can do in the XSL in the background to force a particular email hyperlink format?
    Thank you

  • Creating a nicely formatted PDF output, suggestions/stratigies?

    I really wanted to call this "Stupid Questions 101", but figured this was probably a better thread title.
    I think this is going to rather long, as I have many variables and other considerations, so let me start off trying to explain.
    I finally have my application pretty much finished (at least the initial version, have to see what users say). Now, I also need to add the capability for a nicely formatted report that's rather complicated, preferably as a PDF file. The final result needs to look like pages from a book (different fonts, lots of whitespace, left, right and center alignement, etc.) instead of a standard report layout.
    So first, I have about 30 tables (views actually). For this application, I need to produce a report that goes through all of the views and 'dumps' all of the information in each table for whatever 'parent' record the user wants. There's going to be lots of looping, and I have the typical parent - child - grandchild relationships, so when I'm printing the child record, before progressing to the next child record, I also need to print all of the assosciated grandchild records.
    A couple views can be simply output in one line, like the simple report format. Most views though need to formatted across multiple lines, like a form. Many fields will also need to be wrapped across multiple lines, adding to the whitespace and indenting problem.
    All together, I have around 300 fields or so that I need output, so as I understand it, ApEx itself can't handle this as a web page (besides all the various looping problems, but also the 100 'item' limit), so I'm thinking that I'll need to create a page with a PL/SQL region and write a package (with all of the views getting their own procedure), that will go through all of the looping etc. I'll need for the 'dump'.
    So, I'm wondering which is the best approach to take on this, I don't think I can use a PSP page to accomplish this, so I think I just need to use the web toolkit.
    1. Should I start my PL/SQL region off with the "pre" tag, so my 'layout' stays intact?
    2. I'll also need to print my field 'labels' in bold, so will the "pre" tag interfere with that?
    3. Will it be easier to place the htp.p statements in my package's procedures, or just write the package with the htp.p statements and add those with the PL/SQL region on the page? (But then I'll need to use dbms.output to send the data to the region won't I?)
    4. Since this will wind up (hopefully) as a nicely formatted region on the page (with lots of whitespace, etc.), will the FOP package allow me to create it (just the region, not the entire page) as a PDF, or does the FOP package only work with standard ApEx 'reports'?
    5. Am I way off base here, or is there a better aproach I'm missing? I really need to try and keep everything free (otherwise I'd consider PL/PDF), as being in the government, money is usually pretty tight, we usually only have money just for our salaries and office space.
    Like I said above, pretty stupid questions, but I haven't used the web toolkit in about 7 years or so, being tied up with merging two database and cleaning up the data from one of them (it had no data validation or integrity constraints at all, everything was a free-form field, like a giant spreadsheet).
    Thanks for any suggestions on how to best tackle this next stage of my problem.
    Of to start experimenting some.
    Bill Ferguson

    For anybody following this, here's a couple updates.
    I decided to go with an internal stylesheet, vs. an external (one less file I need to worry about moving during an upgrade, machine change, etc.). Since I'm generating the entire page through a PL/SQL package anyway, the internal stylesheet stays with the code, just in a separate procedure.
    I'm having problems getting a button to fire off the javascript to popup a new window that runs the package. I can run the package fine if I start a new window manually and supply the URL/user.package.procedure, so it's something with where I'm placing the javascript call. I've searched the forums, and the closest I found to an answer was to add the code to the "Image Attributes", but when I tried that, it insisted on an image also being specified. Since I don't have an image, or know of any, I tried both the "HTML Button" and "Template Based Button", but those grey out the "Image Attributes", and the javascript doesn't seem to fire from the "Button Attributes".
    The (edited) javascript call is:
    onclick="javascript:MypopUp2
    ('http://my_machine:my_port/mrds/usgs.print_site.print_doc?dep_id_in=&P0_DEP_ID.',800,600);"Anybody have any ideas on what/where I really need to place this? The javascript does work elsewhere, it's simply a copy of the popup2 script in core.js that I moved over into my own javascript file.
    On a different note, since I'm learning about css as I progress, I discovered that using "div" "/div" causes a new line, while "span" "/span" does not (angle brackets replaced with quotes). Took me a while to get figured out, it was really messing up my formatting, so maybe somebody else just learning this css stuff can save a few headaches.
    Hope somebody knows where to add the code to the button. :^)
    Bill Ferguson

  • Conditionally format PDF output

    Hi
    In my report, I use this technique to highlight in red some rows:
          case when a.completed_date is null then
              '<div style="color:red">'||a.action_description||'</div>'
          else a.action_description end action_description,However, the div part is ignored when the report is exported to PDF (using Apache FOP) and all rows display in black.
    To fix it, I created a new report template and added a conditional display to it:
    <xsl:if test="contains(.//#COLUMN_HEADER_NAME#, 'color:red')">
    <fo:inline xsl:use-attribute-sets="highlight">
    <xsl:value-of select="#COLUMN_HEADER_NAME#"/>
    </fo:inline>
    </xsl:if>
    I.e., if the column contents contains "color:red" it should print using the highlight attribute set. However it does not work. If I remove the div (so the color:red part actually displays in the report) it works.
    So I guess that all html tagging is removed before passing the data to the PDF generation -- is this correct? Any advice on how to implement this in that case?
    Thanks,
    Luis

    Marc,
    Thanks for the response. There is another column in the report ("Status") on which I can base my logic to conditionally display one or another block, but this layout, obviously, will be specific to that report.
    I was just wondering if it could be done it in a more generic way... apparently not!
    Cheers,
    Luis

  • PDF output not retaining same formatting as done in RTF

    Hi All,
    I have created a RTF template and need to show the output in PDF. Now in the RTF, as per the requirements, I am not enclosing my form fields in any table or inside any tabular cells. So I have to display the output something like this
    Name : Peter
    Age : 30 years
    Address : New Jersy
    Dept : Accounts
    but after placing the form fields in their right places, when I see the output in PDF, the formatting is lost and values are NOT displayed at their desired places as set in the RTF template. So I get the PDF output something like this
    Name : Peter
    Age:
    30 years
    Address :
    New Jersy
    Dept :
    Accounts
    Is there a method to fix the form fields so that they don't move and i get the output in the same way as I have designed in the RTF template.
    Any help on this would be much appreciated.
    Thanks,
    Ronny

    Ronny,
    There is the concept of CONTEXT COMMANDS:
    http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#con_freeform
    It may help to get what you want along with the example from the XML Publisher blog:
    http://blogs.oracle.com/xmlpublisher/entry/inline_grouping
    regards
    Jorge

  • PDF Output File Format

    Hi all,
    Does somebody know what is the PDF output file format in Oracle EBS 11.5.10.2?
    Is it PDF/X, PDF/E, PDF/UA, PDF/VT or something else?
    Thanks and regards,
    Karmit

    Hi,
    See this thread.
    concurrent ouput to email
    concurrent ouput to email
    Regards,
    Hussein

  • Broadcast Email to PDF output format

    Hi All,
    We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
    Has anyone experience this issue before and what is the solution for this?

    Hi All,
    We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
    Has anyone experience this issue before and what is the solution for this?

  • Can we Compare PDF Output with CSV format

    Team,
    Can we Compare PDF Output with CSV format.
    In Excel I need to two text boxes asking us to browse the files and compare the files PDF & CSV format.
    Please suggest me if we have solution for this.
    Thanks!
    Kiran

    Hi
    I'm afraid the Excel Application does not support this function currently, I am suggesting you to take advantage of a third party component to achieve this goal.
    Thanks for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • XML Publisher Report not generating the PDF output.

    Hi,
    I am trying to develop a XML Publisher Report in R12 Vision Instance.
    I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
    When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
    Kindly please help me out in this issue.
    Thanks,
    Manasa.

    Hi Mahesh,
    Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
    In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
    Thanks,
    Manasa.

  • PDF output does not refresh data in BI Publisher, XML and HTML do refresh

    I just upgraded to BI Publisher 10.1.3.4.0 and I noticed that the PDF format of the reports does not reflect recent changes in data, while XML data and HTML output do reflect changes in data immediately.
    I'm using BI Publisher to print APEX applications reports. When I change some data in APEX forms, I click again in the Print button and the data remains unchanged. I made some testing inside Oracle BI Publisher, and noticed that XML data and HTML output do reflect changes, but PDF output remains with the old data for some unknown amount of time. I cannot identify a method to force the PDF to refresh, just un-log and log in again several times until the data appears updated. This is serious because when users change data and print again, they expect the changes to be reflected in the new printable report, and may not notice that the data is the old version.
    OS is Oracle Enterprise Linux.
    Any help on this will be very welcome.
    Francisco

    Open the report in Edit Mode Click on the reports and in the properties section Uncheck the
    Enable Document Cache Property and your issue should be resolved.

  • Animated GIF in PDF output

    Hi all,
    is it possible to hand an animated GIF to the PDF output (remaining animated)?
    FM10 and AcrobatX work together rather fine concerning other animation formats such as SWF or AVI. I am not sure however wether the PDF format supports animated GIFs at all.
    Robert

    As a side, I've never ever got an embedded avi to covert to pdf.  I do it all in the pdf.

  • How to generate PDF output from OracleXMLQuery

    I want to generate a PDF out put from XML by using JSP. For this i writen jsp and xsl. My jsp code works fine if i include html formated xsl and it displays as a text when i pass pdf formated xls.
    Here i am providing my jsp code.
    I don't want to use XSQL, please provide me information ASAP.
    <%@ page import = "java.sql.*,oracle.xml.sql.query.OracleXMLQuery" %>
    <% Connection conn = null;
    Statement stmt = null;
    ResultSet rset = null;
    String dbURL = "jdbc:oracle:thin:@localhost:1521:oracle9i";
    try{
         DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         conn = DriverManager.getConnection(dbURL, "scott", "tiger");
         stmt = conn.createStatement ();
         rset = stmt.executeQuery ("SELECT * " +
                   "FROM scott.emp ORDER BY ename");
    OracleXMLQuery xq = new OracleXMLQuery(conn, rset); %>
    <% xq.setStyleSheet("emptablefo.xsl"); %>
    <%= xq.getXMLString() %>
    <% } catch (java.sql.SQLException e) {  %>
    SQL error: <%= e %>
    <% }
    finally {
    if (stmt != null) stmt.close();
    if (rset != null) rset.close();
    if (conn != null) conn.close();
    } %>
    Thanks,
    Ramana

    >
    if the report output format is xls this code is generating the pdf output
    >
    looks like pdf is default output in template definition in xml publisher resp
    so for r12 use FND_REQUEST.ADD_LAYOUT as example
    v_request_id   number;
    xml_layout boolean;
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
    v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
                                               program     => 'XXCONCNAME',
                                               description => NULL,
                                               start_time  => NULL,
                                               sub_request => FALSE,
                                               argument1   => p_date
                                               );also see http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/

  • How to generate a PDF output using batch file in 10G

    Hello,
    I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
    Can someone please look at the syntax below and let me know where I am going wrong.
    I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
    Thanks
    IQ
    Contents of .bat file follow
    ECHO Opening parameter form. Please do not close this window.
    C:\
    FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
    FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
    SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
    SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
    CD C:\Users\Documents
    RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
    DESNAME=C:\Users\\%FILENAME% PRINTJOB =NO

    Rwconverter is not used to run reports:
    rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
    I think you mean rwrun:
    rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
    This bat file has to run on the server. There is no Reports installation on the client anymore.
    If you want to run a report from a client, you can make a bat file that calls the report url
    See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710

  • Unable to open PDF output (PDF downloaded from Interactive Report--APEX)

    Hi,
    I'm getting below error while opening a PDF file downloaded from an interactive report (APEX).
    Adobe reader cound not open "TEST.pdf"because it is either not supportd file or because the file has been damaged.
    Thanks & Regards,
    Ramamuni.

    Steps of pdf Printing of Report from FOP:
    1) Download and unzip the following needed files in D:\Apex_fop directory.
    2) Open your command prompt .
    Change the directory to D:\Apex_fop\cocoon-2.1.11.
    Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
    then type build war
    3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
    Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
    Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
    level of webapps directory.
    4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
    The cocoon.war file will automatically uncompressed as directory.
    5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
    Just check whether Tomcat is running or not as http://localhost:8181/
    & to check cocoon type http://localhost:8181/cocoon/
    6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
    \cocoon.
    7) Now you need to do some apex settings as follows:
    In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address:localhost
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Report Settings
    - View File As: Attachment
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    8) Open up the Report Page and click Print , You will get the pdf report.
    I am sure this will help you
    Regards

  • How to download PDF output forms to presentation server without display

    Hi All,
    My requirement is to download the Sales Order forms and save it in local system.
    I have created a custom program where I am passing a range of Sales Order no, Partner Function, Output type and Application as my input in selection screen.
    Logic:
    I am calling my Sales Order Abodeform using the FM: 'FP_FUNCTION_MODULE_NAME' and thereby I got the function module name of my form.
    Then I am calling the FM:
    Input to the FM:  
      ls_outputparams-nodialog = abap_true.
      ls_outputparams-authority = 'X'.
      ls_outputparams-getpdf = 'X'.
      ls_outputparams-dest = 'LP03'.
      ls_outputparams-nopreview = abap_true.
      ls_outputparams-reqimm = abap_true.
      CALL FUNCTION 'FP_JOB_OPEN' 
        CHANGING
          ie_outputparams = ls_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    followed by,  CALL FUNCTION (FM name)
         EXPORTING
          archive_index        = toa_dara
          archive_parameters   = arc_params
          control_parameters   = ls_control_param
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          output_options       = ls_output_param
          user_settings         = ' '
          is_nast                 = nast
          is_vbdka               = vbdka
          is_addres             = addr_key
        IMPORTING
          document_output_info = document_output_info
          job_output_info      = job_output_info
          job_output_options   = job_output_options
        TABLES
          it_vbdpa             = tvbdpa    "Item information
          it_vbdpau            = tvbdpau   "Subitem numbers
          it_vedpa             = tkomservp  "Contract Item Validity
          it_vedka             = tkomservh  "Contract Header Validity
          it_vedpn             = tkomservpn "Contract Item Cancellation Data
          it_vedkn             = tkomservhn "Contract Header Cancellation DA
        EXCEPTIONS
          formatting_error     = 1
          internal_error       = 2
          send_error           = 3
          user_canceled        = 4
          OTHERS               = 5.
    then ,  CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = ls_result
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
    then i am using the below FM to get the OTF data if any available.
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = lv_binfilesize
          bin_file              = lv_bin_file
        TABLES
          otf                   = ls_output_info-otfdata-> i am not sure which data to pass here. i am getting sy-subrc value as 4.
          lines                 = lt_lines
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    Now I dont no how to link the PDF forms to below method.
    CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          bin_filesize = v_size
          filename     = D://x.pdf
          filetype     =   'BIN'
        CHANGING
          data_tab     = lt_pdf.
    Because in smartforms, we will convert the OTF output to PDF and that value is passed to GUI_DOWNLOAD FM as input (lt_pdf) , whereas in adobeforms the output itself is in PDF so i dont how to retreive the values from adobeforms and pass it to the above FM, so that I can save 'N' no. of sales order outputs in one PDF file.
    Kindly help me out in this.
    Thanks & Regards,
    Karthikeyan G.

    Hi Vishnu,
    I read the GUI_DOWNLOAD FM documentation, if I am trying to download binary type of file, It is mandatory to pass file size.
    In my case, since I am having PDF file, so i don't no how to get the size of the pdf file.
    As you said, if i use Convert_OTF FM, i don't have data to pass to the OTF and LINES tables.
    I am having values of PDF in xstring format in ls_output1-pdf, which i got using the below FM.
    CALL FUNCTION lv_funcname (FM name)
        EXPORTING
          /1bcdwb/docparams  = ls_docparams
          is_vbdka           = vbdka
        IMPORTING
          /1bcdwb/formoutput = ls_output1
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Kindly tell me what values i need to pass to the FM you mentioned in order to get the size of the file.
    Thanks & Regards,
    Karthikeyan G.
    But still I am not sure, how the pdf output is coming for single input whereas if i give in a range, its failing. In single input, i am not giving binary file size still the output is coming.. but for range its not. Kindly help me out in this.

Maybe you are looking for

  • I am facing a problem that Basic Excise Duty is not picking in Tcode.: J1IS

    while doing STO. Our STO procedure is intiallyyPO with UB STO then MB1B with 351 movement type transfering stock from one plant to another plant. Next step is Tcode: J1IS here BED should pick automatically once i click on GET EXCISE INVOICE tab. then

  • How to copy only part of the music media folder and library to another Mac

    Dear friends, I run iTunes in Mac OS. The iTunes music media folder is now located in an external HD because it´s quite large (2T). The problem is that I´got a second Mac and I´d like to copy -in this second Mac, only part of my music using only its

  • Change XP Look and Feel Rollover Highlight Color

    Is it possible to change the orange rollover highlight color that is used in the Windows XP Look and Feel? If so, how? I want to change it in once place and see the results on every component in my application.

  • Close button - FPM WebDynpro - not working after upgrade NW 7.01/SP10

    Hi, I have developed a form using FPM Webdynpro. When click on a workitem in UWL, it launches the form which I have developed. One of the standard buttons on the form is "CLOSE" button (Which automatically appears). This was useful to close the windo

  • JDBC response generic message format

    Hello experts I have a proxy to JDBC scenario,In the Receiver end , i have to call 3 SQL statements.The Format is as follows <Statement1> Delete Query </<Statement1> <Statement2> Insert Query </Statement2> <Statement3> Stored Procedure </Statement3>