Oracle Reports - PDF report

I have a PDF report designed using oracle report builder 6i. This report has a margin that prints the total of all the quantities to be ordered via a QUOTE. If this report prints beyond one page, then the total will print on all the pages. Users do not want to see the total on all the pages but only on the last page. I really need to keep these total fields on the MARGIN section of the layout. Is there any way, i can still keep these fields on the margin and print them only on the last page of the report? The report builder do not let me set the 'print condition' as the 'last page' because it is in the margin section. Any idea on this issue??

I would create a trigger for your MARGIN totals so they print only on the last page.
Have the trigger return TRUE if current page = total pages, else return FALSE.
This will make sure your margin totals are only visible on the last page.

Similar Messages

  • Displaying both Hindi and Arabic numerals in Oracle 10g PDF report

    Hi….
    Oracle experts told us to ask “In how many ways we can do it in oracle?” instead of asking “Can we do it in Oracle?” , I need ONE way to solve the following problem, it toke to much time and I don’t know if it can be solved !
    The problem:
    Can we print in - Oracle 10g reports - a PDF report with BOTH Hindi and Arabic numerals?
    Well, at design time everything is fine, you can use right-to-left, left-to-right and the print preview is showing BOTH Hindi/Arabic numerals fine, but when I tried to produce it as a PDF, unfortunately its not, means its either all Hindi or all Arabic numerals !
    I tried everything possible, environment variables: NLS_LANG, REPORTS_BIDI_ALGORITHM, and REPORTS_ARABIC_NUMERLS, setting Digit substitution to Context in windows regional settings, uifont.ali is modified properly according to metalink note, but nothing solved this issue!
    I noticed something, when I used the DESTYPE=printer and DESNAME=PDF995 (one of the PDF printers) , it worked fine , means the problem could be in the generic PDF generator of the Oracle reports server,
    But even with PDF995 you still need to feed the file name, which is not suitable for multi-user environment that need the report to be displayed via web browser.
    Does anybody face this before?
    Edited by: khaled.w on May 24, 2010 7:29 AM
    Edited by: khaled.w on May 24, 2010 7:35 AM

    Don't tell so much.
    Check the following link
    1. PDF Reports in Unicode / Arabic & English | Oracle Community
    2. OraFAQ Forum: Reports & Discoverer » Report in Arabic(pdf) (merged)
    3. Arabic Report generated to text file giving Jun... | Oracle Community
    Hope this helps
    Hamid

  • Generate multiple Oracle Applications pdf reports in one batch

    hi,
    we are working in oracle applications 11i.
    we have a custom salary slip report that is built with Oracle Reports Builder and run as a PDF report in Oracle HRMS.
    I need to find a solution to generate the reports/pdf files of all employees in one run/click, name each output file according to employee number and month in the report, save them all in a folder.
    How can I do this from either, reports builder, or Oracle applications?
    Regrads,

    Hi,
    I need to find a solution to generate the reports/pdf files of all employees in one run/clickYou can write a PL/SQL program which will dynamically submit the concurrent request for the report multiple times with different parameters. You will need to run the calling PL/SQL program only once.
    name each output file according to employee number and month in the reportThe output files generated are named according to Oracle EBS convention(like o<req_id>.out). I do not know of any way by which the output file names can be changed. You can however generate the report title dynamically, depending on the input parameter.
    save them all in a folderOutput files are generally stored in $APPLCSF/$APPLOUT. This location can be changed but it will affect all concurrent programs and not just your report.
    Regards,
    Sujoy

  • Button on Report (.pdf report)

    Hi Friends!
    I want to have a button in my report and by pressing I want to see my .pdf report located in a specified path. Is it possible ?, if..then how ? Kindly help me in this interesting assignment and let me know if I have conveyed properly ?
    Many thaks in advance!
    IMRAN AMJAD.
    null

    Hi Friends!
    I want to have a button in my report and by pressing I want to see my .pdf report located in a specified path. Is it possible ?, if..then how ? Kindly help me in this interesting assignment and let me know if I have conveyed properly ?
    Many thaks in advance!
    IMRAN AMJAD.
    null

  • Embed FREE3OF9.TTF in Oracle 9i PDF report

    I want to embed the "Free 3 of 9" barcode font in my Oracle 9i report. The steps I have taken are as follows:
    1. I know I can't use a True Type font for embedding so I have used the conversion utility - ttf2pt1 - to create .afm and .pfa files.
    2. I have copied these into a directory included in my REPORTS_PATH.
    3. I have updated my uifont.ali to include the following:
    [ PDF:Embed ]
    Free 3 of 9 = "FREE3OF9.afm FREE3OF9.pfa"
    4. In my report, I have selected the "Free 3 of 9" True Type font for the text having already included the font in my windows Font directory.
    5. I issue the following command to run my report:
    http://server:port/reports/rwservlet?server=REPSERVER&report=BARCODE_TEST&destype=cache&desformat=PDF&desname=BARCODE_TEST.pdf&envid=DEV&PDFEMBED=YES
    Unfortunately, the resulting pdf document displays the text in a default font (looks like arial) and not in the "Free 3 of 9" font. If I run the report to a file from Report Builder the PDF document includes the text using the barcode font.
    How can I test that my embedding is working correctly? Have I added the entry correctly to my uifont.ali? Am I doing this correctly, including the ttf barcode font in the report expecting it to be replaced by the .afm and .pfa fonts?
    Any advice would be greatly appreciated.
    Richard

    I know this is a very old thread, but I just beat my head against this for 2-days until I got it and wanted to post the solution.
    First of all, changes to uifont.ali do not go into effect immediately. I find that there a lag equal to the engine's job life, so I've been hitting refresh alot (about 20 times per change, sometimes more).
    The correct entry for PDF:Embed looks like this :
    [ PDF:Embed ]
    "Free 3 of 9" = "FREE3OF9.pfm FREE3OF9.pfb"
    Note the quotes around the font name. There is no mention of font names with spaces in the documentation, but it must be quoted. I'm not sure about case sensitivity on the filenames (it is a windows server) but the case matches my files.
    I am running Application Server under windows so I have to use the .pfm file. I'd expect to use the .afm if I was running on a linux server. (If I try to use the .afm, I get errors)
    The two files are in their own directory under $ORACLE_HOME/reports (called free3of9) and I added that directory to REPORTS_PATH in the registry (HKEY_LOCAL_MACHINE/Software/HOME0).
    I tried putting the fonts into my report directory, but that didn't work. I set my report directory by setting sourceDir property in the rep_server.conf file and apparently that setting doesn't influence font embedding.
    The first problem was converting the TTF to an Adobe Postscript Type 1 font, which I did with ttf2pt1. That produced a .afm though (and the .pfb), so then I used a windows program called CrossFont (the 15-day trial version worked fine) to produce the .pfm.
    The lag on making the changes was the most frustrating thing about this.

  • SQL Report - PDF Report Printing. How to show one row per page?

    Hello
    I have successfully created a simple SQL Report.
    Than I enabled Report Printing to PDF (default Report Layout).
    Export to PDF is working good by default.
    Now I want to see one report row per one PDF page. Is it possible?
    How I can change the amount of rows per PDF page using default report layout?
    I tried to create a User Layout with MSWord Plugin. it's quite suitable for data forms.
    But I still did not find a way around for my question.

    I would create an User Layout (.rtf) with MSWord. Load your XML data and use the table wizzard to put the fields in your document.
    Put this code after your last field and before the 'E' (= <?end for-each?> tag):
    <?split-by-page-break:?>

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • Storing oracle-reports generated pdf-report onto a blob

    Hey ppl,
    I have this requirement:
    I basically generate a report from Jdev using a remote servlet call to oracle reports, which very neatly generates the pdf document for me and stores it locally. The problem is immediately storing this onto the DB as a blob once the report is generated. I know how to store the pdf as a blob onto the DB. I know how to make the call to oracle-reports and generate my pdf. What I don't know is to sequentially first generate the local pdf report and only once that has been generated proceed to store it onto my DB.
    I want it to be done within the scope of a single request. As in, the entire process should be complete through one cycle. I don't want to keep a day end sort of procedure that inserts into the db at the end of the day.
    As soon as the report has been requested by the user, I want the pdf file(which is generated by the reports) to also be stored onto the DB.
    My problem (which i apologize has been repeated already 2wice above) is that I basically lose control once redirected through the servlet to the report call. There is no way i can instruct Jdev, from the reports side, that the pdf has been generated and now has to be stored onto the DB, as i have lost the session context by redirecting to a different servlet.
    Any help would be GREATLY appreciated.
    Cheers
    K

    Hi,
    its quite some time ago that I a looked Oracle Reports, however, I think that the event mechanism is quite complex to achieve
    I want it to be done within the scope of a single request.
    Which means that if Oracle Reports hangs, the user session follows.
    As in, the entire process should be complete through one cycle.
    Unfortunately you don't control how long reports run, which means that there is no sense in stopping the page lifecycle for this
    I don't want to keep a day end sort of procedure that inserts into the db at the end of the day.
    Fair enough, but as far as I remember there is an eventing in Reports that would allow you to have the Oracle Reports Server triggering the upload
    So I think, the architecture I would go for is:
    - user requests report
    - report generates PDF output
    - reports uploads to DB
    - reports_processing table holds user ID and reports ID plus flag to update when report is done
    - If using JSF, you could use af:poll to check frequently for the report to be finished.
    This here may help: http://www.oracle.com/technology/documentation/reports.html
    Frank

  • Print PDF Report(XML) in Dot matrix Printer in Oracle E-Biz R12

    Hi Friends,
    Is it possible to print a PDF Report (xml report) in Dot Matrix Printer in Oracle E-Biz R12 assuming the Dot Matrix Printer supports Post Script.
    If so , what configuration needs to be performed from Oracle E-Biz?
    Regards,
    DB

    user4525564 wrote:
    Hi Friends,
    Is it possible to print a PDF Report (xml report) in Dot Matrix Printer in Oracle E-Biz R12 assuming the Dot Matrix Printer supports Post Script.
    If so , what configuration needs to be performed from Oracle E-Biz?
    Regards,
    DBI do not think it is possible -- Please confirm with your printer vendor if your printer support PDF printing first.
    Thanks,
    Hussein

  • How to print a BLOB (image) on a PDF report using Oracle APEX Listener as Print Server

    Hi,
    I use APEX 4.2.
    I have the following query as SQL text for a Report Queries in Shared Components:
    select
        customer_id,
        cust_first_name,
        cust_last_name,
        cust_street_address1,
        cust_street_address2,
        cust_city,
        cust_state,
        cust_postal_code,
        phone_number1,
        phone_number2,
        credit_limit,
        cust_email,
        filename,
        company_profile,
        -- customer_image,
        decode(nvl(dbms_lob.getlength(customer_image),0),0,null,
        '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
        'src="' ||
        apex_util.get_blob_file_src('P22_CUSTOMER_IMAGE', customer_id) ||
        '" height="75" width="75" alt="Photo Customer" title="Photo Customer" />') customer_image,
        mimetype,
        image_last_update
    from
        demo_customers;
    I am unable to have the image printed on the PDF report. Even when the P22_CUSTOMER_IMAGE is defined as session state item.
    Does someone knows how to print such image/BLOB in a PDF report?
    Thanks by advance.
    Kind Regards.

    Hi,
    Indeed, I would need a custom layout.
    Unfortunately, it seems (according to this white paper) not possible with the APEX listener only. I would need a third pary tool. A pity...
    For me strange, that I cannot generate such a report having images or pictures in a pre-definied report layout... Maybe a future enahancement for Oracle.
    Kind Regards.

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • How to Create new PDF Report in ORacle Apex3.2 without having XML Publisher

    I am an Apex developer , my requirement is to develop the PDF file from Apex 3.2 with out using Oracle BI Publisher.
    Can anyone let me know the possibility??
    Thanks,
    Dhana

    Dhana,
    What reports are you trying to generate? I believe Apex can generate PDF reports out-of-the-box.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31rpt.htm
    APEX forum: Oracle Application Express (APEX)
    regards,
    Rownald

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

  • Generatation of 4 PDF Reports from One Oracle reports 10 G

    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;

    Abhishek,
    Please post your question in the Reports forum. This forum is for Forms related questions.
    Craig...

  • Oracle 10f reports --pdf err

    Hi,
    Oracle reports 10g are facing alignment and formatting issue in all PDF reports...could you pls tell the reason why?
    In the reports tat is formatting improperly (letters being chopped off) ....all of suddenly reports are not working proerly...

    Me too need some help.
    How can u send the output of pdf reports directly to printer?
    My system is on hp-ux. I get the following errors when i try:
    1. Unable to run report
    2. ora 6502 ("PL/SQL: numeric or value error")
    Whereas when i print the same report as charactre, it is OK
    thanks for a reply
    null

Maybe you are looking for

  • I have a hp office jet 6600. It will not wake up to receive e-print.

    I just bought a office Jett 6600. It will only recieve E-print when it is awake. The print will not wake up to receive eprint. Not much good if i am traveling. <script id="JSScriptForDynamicControls" type="text/javascript" src="https://www.billeo.com

  • ISE 1.2 SMS Notification for Self Service Guests

    Is there a way to have guest account credentials created through using the Self Service feature sent via SMS text?  I have read where this can be setup via the sponsor portal, but I have not seen much about self service option Also, is there an SMS g

  • Multiple TVs in home

    What is Apple expecting people with more than one TV in their home to do? Buy an Apple TV for each TV? Seems excessive. Not that you should have more than one TV, or one in the bedroom.

  • Replace a 3750G in a configured stack

    I need to remove a configured 3750g out of a 7 unit stack. I want to replace it with another unit that is the same. How to keep the config correct an get the unit into the stack.

  • Flash Forum Suggestion

    On the Adobe.com and Forums Feedback forum I posted a suggestion which applies to this forum. It concerns the two languages, Actionscript 2.0 and 3.0, we are all so familiar with. ;) Well maybe it is personal, but I find it increasingly difficult to