Bug in PDF Report generation?

Hi everyone!
We have a problem! We need to print user data, including an initial password, on paper, one user per page. In the report section there is a choice of number of users per page.
However, if one(1) user per page is chosen, the PDF-generator produces a document with only one page, and just one user, where it should be about 40 (test environment).
Just running the report in the browser produces a corrects number of pages according to the number of users.
Is this a bug? Are there any workarounds?
Thanks,
Anders
Message was edited by:
AndNys

We solved but not so sure about the cause.
It had something to do with character encoding in PDF reports.
Thank you for all that read the question.

Similar Messages

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Error only in PDF report generation not HTML

    The same report exports fine in HTML. This only happens when exporting a PDF report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 26---- Error code:-2147467259 Error code name:failed
    The application was developed by our developer team and it is hosted in a Windows Server 2008 R2.
    Does someone had the same problem ?
    Thank you.

    We solved but not so sure about the cause.
    It had something to do with character encoding in PDF reports.
    Thank you for all that read the question.

  • PDF report generation fails with v7.01

    I have software that generates a PDF report. I upgraded FireFox to v7.01 and I now get an error that the printer is not activated even though I am saving the report to a disc file and not printing it. Any ideas or suggestions are appreciated.

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Problems with PDF report generation on WEB application

    Hi friends.
    I have the following problem.
    I heve many reports running on a client/server system. But we decide to move one by one, the menu options of the system to the WEB, using iAS. Most of the reports works just fine, but some of them works wrong.
    But I am not talking about the data or something like that, I am talking about the layout format. All of them out a grey rectangle in all the pages of the PDF reports. The report doesn't have any color inside, but when we move the file, to the UNIX server and test it, it is generated not in a white normal report but grey and white colors.
    anyone have an idea what is it happend?
    thank you folks....
    abdel.

    hi shivanjali..
    the problem may be due to your local system settings..
    try this..
    open internet explorer.-> click on tools menu-> click on internet options-> select connections tab-> press lan settings-> uncheck the proxy address if you have any and press ok....
    now try your web report.. hope it will help your concern..

  • PDF Report Generation

    Hi,
    I would like to know how to generate reports in pdf format
    I use:
    EBS: Oracle 11.5.9
    Database : 9i
    O/S : Solaris
    And I use Oracle Reports 6i version

    Hi;
    Please see:
    Oracle XML Publisher and Oracle Reports
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    NOTE:276691.1 - XML Publisher and Concurrent Manager Integration
    Note 276691.1: XML Publisher and Concurrent Manager Integration will provide the technology used in Oracle Ebusiness Suite for generating various types of output (formats) for communication.
    http://bloggingaboutoracleapplications.org/integration-of-oracle-apps-and-bi-publisher/
    Also see:
    Re: How To View Large PDF Reports Output?
    http://download.oracle.com/docs/cd/B13597_05/bf.904/b13673/pbr_pdf.htm
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/index.html
    http://www.oracle.com/technetwork/middleware/reports/documentation/index.html
    Regard
    Helios

  • PDF Report generation and email it from a DB trigger

    Dear all
    Is it possible to run a report in PDF format ad email it to some clients after a specific envent through Database Trigger. For example whenever a client makes an entry into order entry table (through entry form), a trigger should execute on Orders table, this trigger should execute or generate a PDF formatted report and finally mail it to Sales team?
    I'm using Oracle Database 10g. Rel.2 on Windows-XP.

    kamranpathan wrote:
    Is it possible to run a report in PDF format ad email it to some clients after a specific envent through Database Trigger. No. Not the way you imagine.
    A trigger is fired when? During the transaction. The transaction still is not committed and can be rolled back. So if you start doing notifications and what not in the trigger, and the transaction is rolled back, then that transaction never happened. But your notification code did. And the users have been informed incorrectly - about something that did not happen.
    The same trigger can also be fired in the same transaction for the same row - more than once. This can happen in specific circumstances in Oracle, where basically Oracle itself does an undo of the transaction (trigger already fired) and then redo that transaction (trigger fire again).
    So in such a case, your trigger will generate two notifications from the same trigger for the same event. Inside a transaction that still could be rolled back by the session owner.
    The correct approach is not to perform the action in the trigger. It is to queue the action to be executed when the transaction is committed.
    For example, the trigger is on the PRODUCTS table. When a new product is added, a notification needs to be send to customers that have selected to be informed of new product releases.
    The first step is to write a package that performs this notification. The procedure that drives the notification processing, gets a product identifier as input and does the checks and notification.
    After this package has been tested, it is implemented indirectly via a trigger on the PRODUCTS table. Instead of the trigger directly calling this package, the trigger needs to queue an action that will execute the notification package when the transaction is committed.
    This can be done using DBMS_JOB. In the trigger, a job is submitted to execute that notification package for the current product ID. The job submission is part of the existing transaction. If the transaction is rolled back, so is the job and it is removed from the job queue. If the transaction is committed, the job is also committed to the job queue and executed.

  • Apex 4.1 PDF report generation

    On Apex 4.1 when I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error
    Ora-20001
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    What is this all about. DId I miss something in the install.
    It can generate HTML and eXcel just fine just not PDF.
    Any help appreciated.
    greG

    Greg,
    This error typically indicates that something is wrong with your print engine configuration. Did this work before, or is this the first time you're trying this? Also, are you using BI Publisher or Apache FOP? And have you enabled networking services if you're using 11g?
    Details can be found here:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
    Regards,
    Marc

  • Error building .EXE Report Generation Toolkit

    Whenever i try to build my application this error message shows up.... Error 1502 ocurred at AB_source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass: Save.vi
    it says the possible reason is Word_Open_Document.vi
       I'm using the report generation toolkit for office.... I really need to build this application soon!! 
    Please Help!!!
    Thx in advance
    Wong

    I finally made it work... As a reference, i upgraded from labview 2011 due to windows 8 incompatibility, and found that the installer kept showing these error messages. 
    I read in another post that if you opened the troubled VI and just clicked on the property nodes to browse and then ok, you just saved the VI, restarted labview and the error message disappeared. To my surprise IT WORKED!!!  I had to do it on several excell.llb VI's too. 
    Maybe you could report this bug in the report generation toolkit as a part of the NI team.
    thanks!!!
    Wong

  • PDF Reports in Internet Explorer fixed in Developer 6?

    I am currently awaiting the shipment of Developer 6, with the new
    Reports server. I'm currently using the Developer 2.1 Reports
    server with OAS 3.0.1 and there is a known bug that PDF reports
    don't display with ANY version of Microsoft Internet Explorer 4,5
    with just the Acrobat Reader installed........
    Is this fixed in Developer 6 release?
    null

    Frank Huether (guest) wrote:
    : Eric Dannewitz (guest) wrote:
    : : I am currently awaiting the shipment of Developer 6, with the
    : new
    : : Reports server. I'm currently using the Developer 2.1
    Reports
    : : server with OAS 3.0.1 and there is a known bug that PDF
    : reports
    : : don't display with ANY version of Microsoft Internet Explorer
    : 4,5
    : : with just the Acrobat Reader installed........
    : : Is this fixed in Developer 6 release?
    : Eric,
    : I'm using the OAS 4.0 and there are no problems for Reports 3
    in
    : PDF format neither in MS IE nor Netscape.
    : Frank
    Um, do you have the FREE Acrobat reader installed, or the FULL
    Acrobat Exchange package. IE works fine with the full reader....
    I'd be interested to know how you go Reports 3 to work with OAS
    4......
    null

  • Online Report generation

    Hi All
    I'm using jdeveloper 11.1.2.0
    This is my use case.
    I'm thinking of developing web reporting tool which enables design report online and generate reports
    For this I hope to use Itext for PDF report generation.
    I plan to implement a design area in web page and user can Drag and Drop fields to that area so that they can outline the view of the report
    First I want to know is there a controller to cater my requirement
    Then I'm going to read the position details(for ex coordinations of a particular filed) and generate the PDF report online.
    Please can any body give me a suggestion to implement this use case scenario.
    Thanks
    Padma

    Hi,
    ADF is not a pixel-perfect user interface and as such doesn't allow you to lay out components this was (though it allows drag and drop). My assumption is that JavaFX, Flash or Java Applets is what you want to look into
    Frank

  • Add PDF report type to TestStand

    We have created a PDF report generation method.  We would like add "pdf" as a selection in the TestStand report options editor screen.  Has anyone else added a new report generation method to TestStand?  Will we have to modify the support model dll to make this appear as a selection in the report editor screen?

    Hello CS,
    You are right on track with your identification of modelsupport2.dll as the code module that is responsible for the Report Options dialog.  This dll is located in the following directory:
    <TestStand>\Components\Models\TestStandModels\
    I am not sure whether you will be able to just modify a parameter that is passed in the particular step that calls this code module or whether you will need to modify the dll itself.  I would be glad to look into the issue further.
    Matt G.
    National Instruments
    Applications Engineering

  • .tdms report generation with .pdf format

    Hi,
    My problem is a kind of report generation problem.My data logging format is .tdms format and i use tdm file viewer function to view my datas but i didnt use tdm data report generation function.How can i use this function with my code.Actually i want to print automatically like pdf format...
    Attachments:
    ustalt.vi ‏62 KB

    kacco wrote:
    Hi Yye,
    İ use diadem and labview 09. I know diadem is very good solution to view data but i want to print automaically.My data type is .tdms(test data management system) if u look my .vi you can understand.
    ı want to print aoutomatically with my channel and group.
    I can see from your code that you are a beginner. Your coding style is very Labview no-no. But well every Labview pro have some time been a beginner I have some problems understanding or grasp the essence of your problem. Can you post your failed attempt to use rapport generation. It would help in the understanding of your problem.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Report Generation MS Word Table Bug

    Hi everybody,
    I am using Word 2010 and LV2010 and I am unable create a proper table with Word using the Report Generation Toolkit. Excel and HTML work fine, but Word fails. Not even the Examples work as they are supposed to.
    When using the attached VI (see screenshot below)
    the result appears as follows:
    Temperature
    Temperature
    Temperature
    Temperature
    Temperature
    Data 1
    Data 1
    Data 1
    Data 1
    Data 1
    Data 2
    Data 2
    Data 2
    Data 2
    Data 2
    Does anyone have an idea?
    Thanks in advance.
    ben
    Solved!
    Go to Solution.
    Attachments:
    test_table.vi ‏10 KB

    OK, if NI won't provide a workaround, I'll create my own:
    The problem stems from the fact that the NI Report Toolkit populate a Word table by first creating an empty table of the correct size, then placing the table contents into the copy buffer, then selects the whole table and uses Paste to push the data into the table. The problem is actually in Word, because in Word 2010 it interprets the contents of the copy buffer differently.
    The solution is to alter the data that gets pushed into the copy buffer by the NI Report Toolkit. To implement my fix, you will need to alter one VI of the NI Report Toolkit (so you might want to make a backup in case this stops it from working in other previous release of Word).
    Open [LabVIEW installation folder]\vi.lib\addons\_office\_wordsub.llb\Word_In​sert_Table.vi
    There is a nested for loop that interprets the provided string array data and reformats it into a long ASCII string for the copy buffer. It should look like this:
    Change the nested loop to look like this:
    The changes I've made are twofold:
    1. Within the inner loop, replace the "\n" char with a Tab character
    2. Just after the inner loop, add a new "concatenate strings" function that adds "\n".
    This alters the string that the toolkit places into the copy buffer. You should find that report tables now populate correctly in Word 2010!
    This is untested on previous releases of Word, and could possible introduce problems there, so if anyone could test this for me it would be most appreciated
    Best of luck!
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Bug in securing pdf report

    Security feature in exporting pdf report is not work. For example to add password to pdf report it will be done but when I try to open that pdf report is opened without asking for password!!

    What version are you using?

Maybe you are looking for

  • Horrible Experience with new 17" MBP

    I have had 3 Apple laptops in the past 3 years. My most recent purchase has been the most expensive, and most disappointing. Its a mid 09 17". All day, everyday, this computer beach balls. From the simplest task of quick viewing a folder, creating a

  • Can't find the folder ATV is using for screensaver pics?

    This is kind of weird...I am seeing all my pictures perfectly and it always works...BUT ever since I got my new Macbook & our Timecapsule crapped out, I haven't been able to find the folder that ATV says it's reading my pics from.  I want to add some

  • Can't use portlet with JD

    I have Oracle Portal Extension -- "Version: Oracle JDeveloper 10g Portal Addin Release 9.0.5.1 " and JDeveloper 10.1.3.0.2 (jdevj2eebase1013.zip). In "new" wizard portlet section is there but I can't use it. Why it is gray?

  • Language in messaging

    Although my language is set on " Dutch", by writing a message nearly every word is underscored, indicating that the word is written wrong. How can I solve this?

  • Can't adjust reverb settings or load saved settings.

    Adobe Aution CS6 - MAC computer In both Studio Reverb and Full Reverb my settings are greyed out all of a sudden and I can't change them. I also can't load the settings I had saved. Any ideas? Many thanks in advance, Brent