PDF and Excel output cell spacing issues

Hi all..
I have a report and template whose output should be both in PDF and Excel.
Lets say I have two tables in out put one below other. (Table1 and table 2 below it..)
Table 1 has 5 columns and table 2 has 30 columns.
In PDF since it is difficult and ugly to show 30 columns, I made font as 6( very small font)
PDF output looks fine. But, when I open the reort in excel..its all messed up and ugly.
Table 1 column widths are very much uneven. lI noticed that table1, table 2 coulmns width are same...
For my Requirement, they must have seperate widths.. Also..when I open the report in Excel, I still get in font size 6 which is ugly
I want table1 column width and table 2 column width in Excel as seperate..
How do I achieve this.

Vetsrini wrote:
you can do that too..
two set of tables, one for each output. and use the Microsoft word font properties.
else
add something like this
<fo:block font-size="14pt" font-family="verdana" color="red">
Your test or your field
</fo:block>Srini, this worked!
My font differences in Pdf and Excel has been eliminated now.
But however I have one more problem as I stated in my first post.
When I exported into Excel, My column width of first table is dependant on the other making my report look uneven.
I am providing the screen shots.
Look how Rate column of first table is very huge as it took the colmun width of table2 (Decription column)
http://i.imgur.com/Rj8CC.jpg
I need something like this: http://i.imgur.com/nklEN.jpg
Is this achievable?

Similar Messages

  • PDF and RTF output differences

    Hi All
    I'm having some issues when previewing labels in PDF and RTF output. I have created a RTF template that outputs labels - 5 address lines per label, 2 X 10 labels per page. Each label is contained in a table and each address line is contained in a table row.
    - When I preview the RTF output long address lines are not being truncated even though I uncheck the wrap option on the table cell properties.
    - When I preview the RTF output I can get 2x10 labels on the page (if no wrapping occurs) but when I preview in PDF I can only get 2x9 labels on the page. I have checked the font size of both the PDF and RTF outputs and they are the same size. It looks like the header and footer is taking up more space on the PDF version compared to the RTF version when I visually inspect the output but I cannot be sure.
    Does anyone have any ideas how to resolve these issues?
    regards
    Brad

    Always its better to use different templates for individual output types as the template designed with perfection for pdf output type dosen't comply with rtf or any other type and vice versa.
    Cheers!
    Vishnu T Ramakrishnan

  • Template builder for adobe pdf and excel

    Hi All
    I couldnt find plugins and template builders for adobe pdf and excel.
    some pointers pls..
    thanks
    cm

    Rainer,
    I want to use this PDF Templates in EBS, is it possible?.. and also I have 10 sample output pdfs and one RDF for my AR Invoice Report.
    For this scenario do i require PDF Writer Software?.. I am new to develop reports in pdf templates.
    please adivce me
    with regards
    Ram

  • Save as pdf and excel file

    Hi All,
    Can anyone tell me how to save data available in a node(model or value) as pdf and excel files?
    Thanks in advance.....
    Bhushan Reddy.

    Bhushan,
    check these links for saving as excel
    Excel Export - Funky Column Headers
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0
    Handling FileUpload and FileDownload in NetWeaver Developer Studio(NWDS) 2004S
    New Web Dynpro Java Tutorials - Uploading and Downloading Files in SAP NetWeaver 7.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    Thanks
    Bala Duvvuri

  • Data missing in scheduled report via email as pdf and excel

    Hi,
    I scheduled a webi report to email as pdf and excel, I am getting the mail but on pdf and excel only I can see the report header, values are missing
    Regards
    Aflal

    how come?
    do you have any parameters in this report?
    can you tell exactly the steps u r following doing
    thanks
    Amr

  • Where does workspace store the pdf and excel file ?

    Hi,
    I'm working on a Web Analysis project and I have created a dynamic web menu based on the workspace repository to improve the poor capacities of WA in terms of menu. I use the javascript API to control the WA applet from the menu.
    Now my problem is that my customer created a folder in workspace (which is translated into a sub menu of my dynamic menu), and that folder contains pdf and excel files. The function openFile which I use to open report in the applet doesn't work on pdf and excel files. So I've been looking for the files on the server, to know where they are stored, so that I could just modify the java class that generates the menu.
    I couldn't find those files on the server. Where are they ? Are they stored in the database as an xml string like the report s ? If yes then I might have a problem.
    Has anyone already done this ?
    Thanks for your help.
    Cyril

    Tomcat stores it in the work dir under $TOMCAT_HOME.
    There'll be directories like localhost%2f<urcontext>..
    As for as JSP changes being recognized, try refreshing ur browser....

  • Taking zip, pdf and excel file Offline

    Hi All,
    The App has fixed number of zip, pdf and excels (10, 15, 5) files which periodically gets updated, using the updated feature the app updates all the files currently.
    Is there a way where the App can replace all the updated files offline from the server "offline synnchronization" .
    srinath

    Yes, but it's very complicated and requires a set of custom-made scripts.
    The easiest way of doing it is by converting the Excel file to a plain-text
    file (like a CSV file) and then attach that file to the PDF and use it as
    the data source for the script that populates the fields.
    On Mon, Oct 20, 2014 at 4:46 PM, amcwilliamslge <[email protected]>

  • Multiple Mail attachment (PDF and Excel) in a single mail

    Please help me to send the PDF and Excel attachment in the single mail. I am using the FM for PDF is 'SO_NEW_DOCUMENT_ATT_SEND_API1' and for Excel 'SO_DOCUMENT_SEND_API1'. Currently the program sends 2 different attachments for PDF and Excel.
    Thanks in Advance.

    Hi,
    If you want to send multiple attachments in a single mail then i would suggest to use
    CL_BCS for achieving it.
    Look at standard program BCS_EXAMPLE_6 for more clarity.
    There you find this statement of code
    document1 = cl_document_bcs=>create_document
    After creating one document using this you can use the same statement again and create another document.
    document2 = cl_document_bcs=>create_document
    Both documents should have different name.
    Then use
    send_request->set_document( document1 ).
    send_request->set_document( document2 ).
    This will attach both the documents to a single email.
    Hope this helps.
    Regards,
    -Sandeep

  • Could 'export button' show only pdf, and excel only?

    Hai,
    I am using report viewer, it has export button in that header.
    Could 'export button' show only pdf, and excel only?
    So the report just only export pdf only or excel only.
    Technology:
    Asp.net Vs2010
    SSRS2012
    Windows 7

    I found the solution:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/74dad27b-ef7e-4b9b-8922-666b317b3094
    This is the additional code, to hide all type of export.
                DisableUnwantedExportFormat((ReportViewer)sender, "XML");
                DisableUnwantedExportFormat((ReportViewer)sender, "CSV");
                DisableUnwantedExportFormat((ReportViewer)sender, "IMAGE");
                DisableUnwantedExportFormat((ReportViewer)sender, "PDF");
                DisableUnwantedExportFormat((ReportViewer)sender, "MHTML");
                DisableUnwantedExportFormat((ReportViewer)sender, "EXCELOPENXML");
                DisableUnwantedExportFormat((ReportViewer)sender, "WORDOPENXML");

  • Excel output: Cell Size not adequate

    Hi all,
    I am designing an XML Report whose default output format is excel.
    To one field, I am assigning a long text. When I run the report and generate excel output, the text is not shown fully. I have to manually increase the column size in excel to see the entire text
    Is there some setting in RTF such that I can force the column to expand to accommodate entire string at all times?
    Thanks,
    Rahul

    Hi,
    I am using 10.1.3.4.1 BI Publisher. When I upload my .rtf template in Backoffice 13.0.1, the cell sizes get adjusted in a random manner. The size doesn't remain same in the Back office application from what I have created in .rtf temlpate. How can I fix the cell size in BI publisher so that it doesn't get auto adjusted in BackOffice application.
    Please help to resolve this issue. Any suggestion is appreciated.
    Thanks & Regards
    Quest

  • Strange characters displaying in FR pdf and excel export

    We are using Financial Reporting on a Planning application. We have a dimension, projects, whose aliases display on the report. Now the strange part. On some projects, not all, during some report runs, but not all, some, but not all, of the spaces in the alias are translated into a question mark in the pdf, and then when the pdf is exported to excel, the question marks are translated into black diamonds with a question mark inside.
    We’ve seen it happen on a handful of projects. These are from the same report, first one from report ran Monday, second one from report ran yesterday.
    P.F0256REC - M88 STS Forecast
    P.F0256REC�-�M88�STS Forecast
    Ok, the diamonds won't paste into this message. But you can see the little squares in the second line - those are the diamonds with question marks inside.
    Has anyone seen this behavior before? Or know what to do about it?
    Sabrina

    I've seen similar items with 2 causes:
    1. When creating the alias names, the DBAs copied from emails and pasted the names in, which caused the formatting issues. Solution, get them to remove the existing alias and retype manually.
    I think this is probably your problem too.
    2. Font substitution: The other time was due to differing fonts installed on the developer, print server and BI server machines, causing some incorrect items to be displayed - check that the fonts are the same on all servers/instances.
    Hope this helps.
    Cheers, Iain

  • Report Type for pdf and Excel

    I have following code to generate the report for pdf format.
    I would like to let users to choose report type 'pdf' or 'excel'
    I need pass the user select from user interface to <cfreport format= "PDF" or "Excel".
    Can you please advise how I can pass the user select Report Type from lsReportType to my cfReport?
    Your help and information is great appreciated,
    Regards,
    Iccsi
    <cfstoredproc procedure="spGetReportType">
       <cfprocresult name="rsReportType" resultset="1">
    </cfstoredproc>
    <cfreport format = "PDF" template= "MyReport.cfr" query="#myQuery#">
       </cfreport>
    <td><select width="50" name="lstReportType" id="lstReportType">
          <cfoutput query="rsReportType">
             <option value="#rsReportType.ReportTypeID#" <cfif (isDefined("form.ReportTypeID") AND form.ReportTypeID EQ rsReportType.ReportTypeID)>selected="selected"</cfif>>#rsReportType.ReportType#</option>
           </cfoutput>
         </select></td>

    Change format="PDF" to format="#VariableName#" where VariableName contains the text "PDF" or "Excel".

  • Linking PDF and Excel File

    Is there a way to link a PDF to an excel file so when the end user types in information it will auto populate what they are looking for? I would like for the end users to be able to search for their contact information by inputting their zip code and it populate in the PDF.
    Any help would be greatly appreciated. I am not even sure where to start.

    Yes, but it's very complicated and requires a set of custom-made scripts.
    The easiest way of doing it is by converting the Excel file to a plain-text
    file (like a CSV file) and then attach that file to the PDF and use it as
    the data source for the script that populates the fields.
    On Mon, Oct 20, 2014 at 4:46 PM, amcwilliamslge <[email protected]>

  • Reports 10g and Excel output

    Hi,
    We are getting the excel file generated out of report RDF by specifying the DESFORMAT=spreadsheet. This works fine and excel file opens when we run the report with proper output. However, when we try to 'save as' the excel file opened, the default 'save as' type is coming as 'Web page (*.htm, *.html)'.
    Is there any way using which we can have this default 'save as' type changed from 'Web page (*.htm, *.html)' to 'Excel (*.xls)'?
    Thanks,
    Jaldhi

    Try adding charset to the content type
    e.g:
    <%@ page contentType="application/vnd.ms-excel;charset=ISO-8859-1" %>

  • Opening pdf and excell on an acrobat or xls sheet from a servlet

    Hi all
    I have a servlet that generates a pdf or excell as per the file type passed , the problem i am facing is the excell and the pdf file opens on the browser itself. Is there anyway of opening the pdf / excell on their applicaitons (ie on Acrobat reader or Microsoft excell). Or promting the user to save.
    regards
    riaz
    NOTE: My servlet code is as below
    public synchronized void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    Log.skip();
    Log.write("Servlet posting...");
    try
         String filename = request.getParameter("DownLoad");
         File file = new File(filename);
    String lsContentDisposition = "inline; +filename=\"" filename + "\";";
    response.setContentType("application/pdf");
         response.setContentLength((int)file.length());
         response.setHeader("Content-Disposition", lsContentDisposition);
    java.io.FileInputStream fis = new java.io.FileInputStream(file);
         int i = 0;
         javax.servlet.ServletOutputStream out =response.getOutputStream();
         while((i=fis.read()) != -1)
              out.write(i);
              out.flush();
              out.close();
              fis.close();
              response.flushBuffer();
         catch(Throwable t)
         System.out.println("---DownLoadFile--:" + t.getMessage() );
         }

    Probably the browser for security reason will not open those application unless the user specifically ask it to do it. One way you can do is put a hyperlink to those files in your generated pages and let the user click on it, at which moment depending on the configuration of the web browser will open the right application.
    Hope this help.

Maybe you are looking for

  • Logical database PSJ

    Hi All, I need to add a Y-table in the logical database PSJ and need to assign the fields to one of the Functional Groups. For this I went to tcode SE36 with logical database as PSJ, then went to Extras->Selection Views from menu, I gave the Origin o

  • Value Mapping Problem - Values not appearing in destination system

    hello everyone, Here's my scenario: XML > XI > IDOC I have a problem with the ValueMapping and FixedValue function in XI. When I test the message in the Integration Repository, I don't get any problems (the value is converted appropriately), but when

  • HT3986 Does equation editor in MS Word work with windows 7 on a imac

    Just wondering if I buy an iMac and install Boot Camp whether or not all of the MS Office features will work? For example, my wife needs to use equation editor in MS Word.  It's sort of an add in in Word so I need to make sure all of those random fea

  • Nokia 5800 3.0 Update Orange UK?

    Got my 5800 today from Orange in the UK yet theres no update available, when I know theres a newer version. I'm currently on 21.0.025. Does anyone know how to get the latest update on Orange, or when its coming?

  • Cover Flow "Now Playing" Update

    When I hold the iPhone horizontally the song currently playing does not "flow" to the current song when it changes track. Is there a way to make it update automatically to the current song in cover flow?