PDF & CSV reports..

Two types of report one in CSV format & other in PDF format is generated from form module, problem is 1st time when i run PDf report it works, next if i run CSV format it works, then again if i try to run PDF report it picks CSV format itself..Please suggest...

Hi,
How are you passing the report format (CSV, PDF)? Maybe you need to refresh that everytime you run the report.
-Marilyn

Similar Messages

  • How to generate a csv report to determine paper size in a pdf or pdf/a file ?

    how to generate a csv report to determine paper size in a pdf or pdf/a file ?

    Use the cfpdf tag as follows:
    <cfpdf
        action = "getinfo"
        name = "pdf_info"
        source = "C:\temp\testFile.pdf">
    My Operating System is Windows. This tag gets information about testFile.pdf, and stores it in a structure. I have given this structure the name pdf_info. This structure has the key you are interested in, namely, pageSizes.
    Pdf_info.pageSizes is an array whose indices correspond to the respective page number in the PDF. You can use this to generate Comma-Separated Values (CSV) for each page.
    <!--- Initialize CSV list --->
    <cfset csv = "">
    <!--- Add headers or first row, followed by carriage-return --->
    <cfset csv = "Page,Height,Width" & chr(13)>
    <cfloop from="1" to="#arrayLen(pdf_info.pageSizes)#" index="i">
    <cfset row_info = i & "," & pdf_info.pageSizes[i]["height"] & "," & pdf_info.pageSizes[i]["width"] & chr(13)>
    <cfset csv = csv & row_info>
    </cfloop>
    <!--- Output CSV --->
    <cfoutput>#csv#</cfoutput>
    <!--- Write CSV to file --->
    <!--- <cffile action="write" file="C:\temp\output.csv" output="#csv#"> --->
    Done!

  • Generate & Export PDF/CSV on the fly without holding entire contents in mem

    Hello Everyone,
    We are using Crystal Reports JRC (in our server side application. In a typical use-case the generated report is exported into the pdf/csv format and streamed to the client/browser.
    My question is with regards to the current interface/implementation of the JRC export api(s), which returns an InputStream which is basically a ByteArrayInputStream?, Why ByteArrayInputStream ? why not a custom InputStream imeplementation which really benefits from the streaming approach, and give you the option to stream the contents as they are generated on the fly, instead of it holding the entire report contents in a byte-array, as is the case with using ByteArrayInputStream. Since, this often seems to choke our system with regards to memory footprint, when the generated report contains huge dataset.
    Please comment? Is that not possible ? Is there any reason why ByteArrayInputStream is the only way to retrieve the report contents ?
    Thanks,
    Farhan.
    Edited by: mfarhans on Feb 26, 2010 12:40 AM

    We have new place called Idea Place, look up on the right hand side. Great place to add enhancement requests.
    Or the link: http://www.sdn.sap.com/irj/scn/idea-place

  • Report Rendering (Print & PDF) trashes report that looks fine on screen

    Since installing SQL Server 2012 SP2 CU3 (11.0.5556) a number of reports look fine on screen but when printed or exported to PDF the format is totally altered so that either many blank lines are inserted between lines, or lines are squashed together. It
    doesn't affect all reports. Reports (both affected and not affected) use Tablix with both Row Groups and Column Groups. There is no obvious consistency between those reports that are affected.
    All of our SQL Server instances are hosted on VM-Ware virtual servers.
    I've raised the issue via Microsoft Connect: https://connect.microsoft.com/SQLServer/feedback/details/1063641/report-rendering-print-pdf-trashes-report-that-looks-fine-on-screen
    Any thoughts or workarounds? Is this a bug?
    Thanks!

    Hi nsam,
    We installed the sqlserver 2012 sp2 cu3 in our lab, but unfortunately the issue cannot be duplicated, so I provided the following options for your reference.
    1),Please help to provide a way with detail steps to duplicate the issue.
    2),If you don't know how to duplicate the issue, please try to remove the sqlserver 2012 sp2 cu3 update by the following steps to see if the issue can be fixed.
    In Control Panel, open the Add or Remove Programs item.
    2. Click Change or Remove Programs .
    3. To see all the updates for the SQL Server 2012 installation, click to select the Show Updates check box.
    4.Uninstall the cumulative hotfix package.
    3,)Please visit this link to see the various support options that are available to better meet your needs: 
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

  • Saving a CSV report output as TXT file

    Hi,
    We are generating reports on the web using Intenet Explorer. The report is a CSV report, i.e. the data displayed is comma separated. After generating the report, we need to save it as TXT file.
    If the length of a line is long (let us say more than 80 chars) while saving it as TXT file, it is saving as 2 lines. If the length of a line is less, then it is saving in a single line.
    How can I avoid this 2 line problem?
    I am not facing this problem if I generate report with Netscape browser and save as TXT file.
    We are using Reports 6i.
    Thanks in Advance,
    Srinivas

    Hello,
    I had the same problem. And I think what I did to fix it is I made the mode=charcter, batch=yes, and background=yes. Hope this helps.
    Martin

  • Any good tutorial/pdf on report painter tool ???

    Hello,
    Can someone reply me sum links having good tutorial/pdf on report painter tool ???
    Thanks...

    Hai
    Please go through the enclosed document. This will give you step-by-step approach for Report painter:
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    Check url
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
    Just go through These Links to learn about report Painter.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    Thanks & regards
    Sreenivasulu P

  • Configuring Export to PDF and Report Printing

    Greetings
    using Apex 3.1,Oracle 10g Release 2 on Hp-Unix
    i have got to Configure
    Export to PDF and Report Printing
    please mention Documents or Links for the Configuration
    thanks a lot

    Hello ahuja
    I would start here...
    [APEX Printing|http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm]
    Kind regards
    Simon Gadd

  • Correct pdf from report 9i

    Wanted know as it is correct to get pdf from reports 9i. I necessary to get the report with Cyrillic symbol. Use section [ PDF:Embed ] beside me was not got. I have taken Type1 font from resource Acrobat reader 5.0, made sure by means of program fontview.exe from supply Windows that this font contains Cyrillic symbols, has described his use: "Courier New" = "COM_____.pfm COM_____.pfb". As a result pdf file was got with embedded font, but Cyrillic symbols are don't care displayed not correct. When use [ PDF:Subset ] is got correct displayed pdf, but with use font Type3 that on my not quite well.
    Thanks.

    Hi,
    Using PDF embeding with Type1 fonts will not give you the symbol as the Type1 fonts have characters only upto 256. The way to get the Cyrillic symbols properly is to use PDF subsetting. You need to use either UTF8 or any Cyrillic charcater set and use True Type fonts. Add proper entried to uifont.ali for subsetting. An example would be to add, "courier = courier.ttf". The ttf files location should be included in Reports path. Internaly when doing PDf subsetting, these are converted to Type3 fonts so you will always get that. It works properly with Acrobat reader 5.0 for displaying and printing purpose.
    Hope this helps!
    Thanks,
    Rohit

  • Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?

    Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?
    How much the upgrade process depends of database size, in this case?
    I have fast boxes  IBM AIX 5.3 , 64 b.

    Appreciate your comments ...
    Yes, sound stupid, regarding test environment, but in reality, is not that much:
    -I do have "preprod" environment, (2 instances RAC) same releases of OS, OCW,RAC ... but DB size is 40 GB!!!  It has all the objects as production, but (again but) it does not have physical standby, as production has. This is not that unusual, knowing that production DB grows very fast, and very large, and business do not want to keep preprod, dev, test databases same HUGE size as production is. Savings ...
    -My DB upgrade depends if application  running on top of it is certified for higher RDBMS release ... looks like they have some problems.
    -Very encouraging sounds comment that DB upgrade does not depend that much of the DB size ...
    - i do not recall from where this info came, but I have heard that R 11.* treats PDF files in different way that R10 did it ... and because of that, process of upgrading big databases which have many items of that type (pdf) can take very long. Any idea about this?
    -Brian, thx ... I'm trying hard to provide DB simmilar size in UPG environment and face all possible pitfalls before I go in production...thx for youe advice. I'm relly interested in how upgrade to 11.* from 10.* traets my pdf-s ... All my TBs comming from pdfs. Everi advice will be wellcome ...

  • CSV Report Export Filename

    Can you make the CSV Report Export Filename a variable so that the user can enter the filename before exporting? Can a directory on the local PC be specified prior to exporting as well?
    Paul Platt

    Paul,
    You typically get a file download dialog when clicking on CSV export. The download dialog has a suggested file name, which can be overwritten and you can also choose the file download location.
    Regards,
    Marc

  • Increase width for Excel and CSV reports

    HI ,
    I am having problem with data in Excel and CSV reports , since the data is large and the width of the column is fixed its is displaying ###### ,
    can u suggest me how to make the wodth of the columns variable depending upon the data passed.
    I want to know how to increase the width of column in Excel and csv reports dynamically.
    Thanks & Regards
    Dipty

    What has this to do with JSF?
    It is obvious that it is a setting/bahaviour of Excel. Just doubleclick at the right column border, then it will be widen according to the largest cell contents.

  • Csv reports

    I need to customize a teststand sequence which currently generates an HTML report to additionally generate a csv report . The csv shall have the following values in it columsn
    1st - Test No ( These can be auto generated also)
    2nd - Test Dsecription
    3rd - Units
    4th - Lower Limit ( if any )
    5th- Upper if Any
    6th - Numerica Results( if Any)
    I am pretty new to testand and have been struggling for some time with the property and invoke nodes . I will appreciate if someone can assist me with a sample of his code so that I can get past this stage .
    I am using LabVIEW 6.1 and the way I was doing it was looking at addition of one extra step somewhere which intercepts the sequence context and format the data and puts it into a csv.
    The seqeunce has tests that are nested to 2-3 levels and their report in HTML have indentations . In the csv they should just be listed in the order they are executed.Its like putting all of them in a big table irrespective of them being run as a test or sub-test
    Thanking all in anticipation.
    Sumit

    Thanks.
    Attached a modified reportgen_csv.seq file to support multiple numeric limit test. Even the layout of csv is somewhat modified. Just store the file in your ..\national instruments\teststand 3.1\components\user\models\teststandmodels directory. 
    Attached as well an example of calling sequence csv_report.seq. Change in the report options window the report format to ASCII text file.
    These files requires version 3.1. 
    Regards,
    Petri
    Attachments:
    reportgen_csv.seq ‏114 KB
    csv_report.seq ‏63 KB

  • Please help.  I can't open pdf comparables report from MLS Realist website.

    Please help.  I can't open pdf comparables reporT from MLS Realist website.  Thank you!

    I have this problem too and no one seems to be able to figure out what should be done. Feel like not using iPad any more.

  • Exporting csv reports to repository

    Dear Cisco Guru's,
    We are currently testing Prime infrastructure 2.1. Is it possible to export CSV reports to an external repository ??
    Apparently, Repository path points only to localdisk/ftp
    What is told in the 2.1 pi admin book :
    Off load backups and reports—You can save space on the Prime Infrastructure server by saving reports and backups to a remote server.
    Many thanks,
    Lieven Stubbe
    Belgian Railways

    This is correct, it has options for local disk and FTP because, currently PI supports NFS and FTP/SFTP.
    NFS is usually mapped/linked/mounted on one of the local directory and hence you need to select that local directory which is linked to NFS server.
    For details check document for Configuring the NFS backup Server.
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them.**

  • Interactive Reports - Question about Downloading PDF, CSV, Email, etc

    I recently installed the latest version of APEX. I deployed it as an EAR on Oracle WebLogic. I then created a simple
    interactive report that has the search bar above the report. The downloads (emailing, pdf, etc) do not work after I
    run the report.
    What setup\configuration is required to get the emailing and downloading of the other files to work?
    fyi: right now I have Oracle WebLogic, Oracle 10g, and APEX running locally on a XP based laptop.
    Thank you in advance,
    Wes

    Hello Wes,
    Sending a report as an email requires an SMTP server. You need to configure your instance settings to point to the SMTP server.
    http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#BEJBCEEH
    To download a report as a pdf, excel or RTF... you need to have a reporting engine installed. Check this link for details...
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
    Thanks,
    Machaan

Maybe you are looking for