How to generate a report direct in PDF with oracle developer 6i

hi all
Please help me about this issue.
THAT How to generate a report directly in PDF using oracle developer 6i.
Regards
Yousuf Ahmed Siddiqui

Hi,
You can create the Report directly in PDF by setting some of the Report Parameters
i.e. DESTYPE, DESNAME AND DESFORMAT as follows before calling the Report.
DECLARE
     PL_ID          PARAMLIST;
     PL_NAME     VARCHAR2(10) := 'param_list';
BEGIN     
     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);
     Add_Parameter (PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
     Add_Parameter (PL_ID, 'DESNAME', TEXT_PARAMETER, 'c:\test.pdf');
     Add_Parameter (PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'PDF');
        RUN_PRODUCT (REPORTS, 'REPORT_NAME', ASYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
END;Hope this helps.
Best Regards
Arif Khadas
Edited by: Arif Khadas on Apr 22, 2010 9:24 AM

Similar Messages

  • Plz help: how can i index multiple directories including pdfs with oracle text??

    problem:
    i habe several subdirectories with pdf files which must be indexed by a fulltext index.
    .../dir/
    sub_dir1/
    1.pdf
    2.pdf
    sub_dir2/
    3.pdf
    4.pdf
    it's possible that other users create new subdirs.
    try #1:
    i tried to update the FILE_DATASTORE parameter PATH with the concatenated directory list
    i.e.: (.../dir/subdir1:.../dir/subdir2:...) and updating the index.
    that fails, because the directory string is too long (1637 chars)
    try #2:
    i set the FILE_DATASTORE PATH parameter to the basedir
    i.e.: ('.../dir')
    now i generate a list of all pdf's including the subdirectories to store them into
    a new table.
    i.e.: '12345', 'subdir1/1.pdf'
    '23456', 'subdir1/2.pdf'
    this one fails, 'cause it seems that the database uses some kind of basename() function to
    get the "filename_only" part of the table entry 'subdir1/1.pdf' => '1.pdf'.
    so, the db fails to open (and indexing of cause) the file.
    how can i solve this prob?
    thanks in advance!!!
    best regards.
    /achim

    If you need to use multiple directories, you'll need to put the full directory and filename into the table, and not use the PATH attribute at all. PATH only works where all files are in the same directory (though you MAY find you can use more than one directory on certain OS's).
    - Roger

  • How to generate one report in multiple formats with FOP or BIP?

    Hi all,
    Is it possible to generate multiple formats of one report in a single "call" using Apache FOP or BI Publisher? (something similar to reports bursting).
    Right now I can only select one format at a time.
    Thank you,
    Ana-Maria

    Hi Ana-Maria,
    When you enable printing on a report region or add a button to download a report query to your application, then you get a single document download. How would you see this working with "multiple formats"? Given that APEX is a development environment, you can pretty much implement anything you like. The built-in printing capabilities in APEX come with an API that allow for customization of the default functionality, e.g. you can use apex_util.download_print_document to dynamically assign report layouts at rumtime or to use you own XML data sources or XSL-FO style sheets. More relevant to you question though, there's also apex_util.get_print_document. What that allows you to do is to generate report documents inside the database and e.g. store them in database tables or email them out to a list of recipients. You can call this API as often as you like to, requesting any combination of available report formats.
    The API function is documented here:
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CHDDECIA
    Regards,
    Marc

  • How to generate a report in pdf from a stored proc

    Hi, i need guidance on how to generate a report in pdf from an oracle stored proc.
    The environment is oracle 10gas + 10gdb.
    On a specific event, a PL/SQL stored procedure is called to do some processing and at the end of the processing to generate report which has to be sent to the printer (and optionally previewed by the user).
    Can anyone assist me with this?

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • How to generate interactive report in alv

    hi,
      how to generate interactive report in alv,for this what are the requirements,
    give me one sample report.
                                                 thankyou.

    Hi,
    Chk these helpful links..
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    Regards
    Anversha

  • How to generate my report in HTML format

    Hi
    I am using Forms and reports 6i . How to generate a report in Html format.
    Please explain what are the option available in reports and the way to do
    thanks in advance
    prasanth a.s.

    *specify  desformat=html  in cmd line
    refer
    * Forms Reports integration 6i
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

  • How to generate a report based on account description

    Hi Experts,
    How to generate the report based on account description, that means
    i want to generate a report on G/L account and which account numbers are having 'CASH' description.
    for Ex: G/L a/c no: 25010026-Cash and Bank balance(des)
    G/L a/c no: 101000-Cash-freight
    like this.
    please help to do this,
    good answer will be appreciated with points,
    Thanks in advance
    Venkat

    Hi shana,
    my requirement is
    I have G/L account numbers, that account numbers having some descriptions, in these some descriptions are belongs to cash transactions, i want to generate the report on these cash transactions, and the report is " G/L account, debit cash, credit cash, balance".
    is it possible or not,
    thanks in advance,
    Venkat

  • How to print a report directly on to a printer on the client machine

    Hi,
    Could anyone let me know how to print a report directly on to the clients default printer in oracle forms 10g with OAS?.
    Regards,
    Prasad.

    Hello,
    <p>You can use this Java Bean</p>
    Francois

  • How to generate classical report

    Hi guys,
                I need a help from you. how to generate classical report can you guide me please.
    Thanks guys.

    Vijay,
    To generate a report, follow the steps below
    1) Determine the desired output for End-user
    2) Based on the desired output, write a program with data declarations for all the variales u will display in the report
    3) Write extraction routines to fetch data from the DB tables
    4) Read extracted data and bind the data for final output
    5) Output data
    here's a simple example for your ref
    report ztest.
    Table declaration
    data: it_mara type table of mara with header line.
    SELECTION SCREEN
    parameters: p_matnr like mara-matnr.
    start-of-selection.
    select * from mara into table it_mara where matnr = p_matnr.
    end-of-selection.
    loop at it_mara.
      write: it_mara-matnr, it_mara-mtart, it_mara-mbrsh.
    endloop.
    reward if helpful,
    Karthik
    Message was edited by:
            Karthik

  • Display report directly to PDF instead of when user selects that

    Hi, We have a requirement where we want to export report directly to PDF when user runs a report. We have a Java application where parameter screen for Crystal reports is displayed. When user clicks process button after selecting parameter then a new ReportViewer window appears. Right now after running report user selects export option to export to PDF. They want to open report directly to PDF instead of opening report / selecting export option.
    We have Crystal reports saved in BOXI R2 SP3 on IIS.  We are using .NET SDK to do this.
    Thanks,

    You can export and stream directly using RAS.
    [Sample|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b09a5013-9e3b-2c10-41af-85f08f91c895;jsessionid=(J2EE3417700)ID0302179550DB10992550101163851332End]

  • How to generate addm report using grid

    Hi,
    how to generate addm report using grid, please provide any relevant doc/links etc.
    Thanks in advance.

    how to generate addm report using grid, please provide any relevant doc/links etc.When you start with the wrong question, no matter how good an answer you get, it won't matter very much.
    what is best way to divide board into 2 pieces using a hammer?
    Edited by: sb92075 on Oct 25, 2010 7:22 AM

  • How to generate the reports in BI and display in EP ?

    Hi All
       I am new to BI but i am working on EP
       Can any one help me how to generate the reports in BI and should be displayed
       in EP frontend?  So what and all settings and installations i need to do ?
       Any documents on this will be really helpful to me..........
    Adv...thanks and regards
    Kops

    Hi kops,
    Check the links below.What you need is there..
    How can i place a query developed in BEX to portal
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/92dceb49fd25e5e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm

  • How to generate 8D Report

    Dear All,
    Iam trying to generate 8d report in Quality Notification...
    I created Quality notification with the notification type Q1 but after completing the notification when i take print preview for 8report only defect causes and defect desciption comes.Corrective tasks and actions does not come.Could you please tell me where am i missing something...
    Can anyone tell step by step procedure to generate 8D Report....with screen shots would be helpful
    Regards
    JR

    Hi, JR,
    I think you should refer the following links along with the other champions have suggested.
    [Shop Papers for Quality Notifications|http://help.sap.com/saphelp_47x200/helpdata/en/a5/a5e1f6547911d295ad00a0c930e04c/frameset.htm]
    [Creating an 8D report (notification type Q1, customer complaint)|http://help.sap.com/saphelp_47x200/helpdata/en/a0/c1636cd81711d1953800a0c930e04c/frameset.htm]
    [SDN Thread|8D Summary Report]
    Regards,
    Shyamal

  • Need to monitor event ID with Event Level :Critical , Also how to generate (powershell or otherwise) an event with Event Level :Critical

    Need to monitor event ID with Event Level :Critical , Also how to generate (powershell or otherwise) an event with Event Level :Critical

    Hi
    First, we Need to clarify what do you want.
    1) You want to Monitor a Windows Event with the severity "Error" (there is no Critical for Windows Events, only Error").
    2) You want to create an Event in SCOM. I think you if you talk about "Event" in SCOM you mean actually an Alert.
    There is no direct way like a tool/powershell script  of only creating an Alert in SCOM only if you are going to use the SCOM SDK
    http://msdn.microsoft.com/en-us/library/hh329086.aspx or using the Orchestrator Create Alert activity.
    If you want to create a SCOM alert depending on a Windows Event you either can create a rule
    http://technet.microsoft.com/en-us/library/ff730470.aspx or a Monitor
    http://jimmoldenhauer.blogspot.ch/2013/03/scom-2012-how-to-generate-alerts-from.html 
    Cheers,
    Stefan
    Blog: http://blog.scomfaq.ch

Maybe you are looking for

  • How i get photos in iphone4s from windows7 pc?

    now i am using iphon4s. it is an enjoyable experience to me. it is my first iphone use, that is why i dont understand how i get photos from my windows7 pc.? plz help me...i have haul of imotional pictures in my pc which i want to attach with me 24/7

  • Is there an internet browser component in swing or awt?

    Im developing an internet browser using swing, is there any component or that?

  • R1208 Self Service Timecard Error ORA-01422 HXC_TIMECARD line 830 HXC_LOCKS

    Hi, After applying HRMS RUP 8 on 12.0 we are intermittently seeing this error when an employee is trying to update an existing timecard (usually a timecard that was previously submitted). The user just gets the generic unexpected error page, but FND_

  • Photostream Not Syncing Win7? Fixed!

    If your windows based computer is no longer syncing with Photostream, its time to stop wasting time looking for a solution and look elsewhere like DropBox, etc..  Its become quite obvious over the last few months APPLE NO LONGER SUPPORTS or CARES abo

  • Unable to export movies

    Hello I have the most up to date Q.T. Pro working on a fresh system windows xp pro i selected a avi around 8 megs I went to export movie set it to mpeg 4 clicked save pop up said do i want to replace the movie already I new this wasn't right I clicke