Output Report in HTML format thru Oracle Forms. ASAP!!!

Hi,
How can i create a HTML output format thru Oracle Runtime Form?
I have tried using the .REP and i was able to produce the HTML output format but when call the .REP using Oracle Form i was not able to produce the desired output.
Attach below is the code. Seems like something is wrong with the code
Thanks,
Jen
DECLARE
pl_id ParamList;
--subheader varchar2(1000);
BEGIN
** Check to see if the 'tmpdata' parameter list exists.
pl_id := Get_Parameter_List('tmpdata');
** If it does, then delete it before we create it again in
** case it contains parameters that are not useful for our
** purposes here.
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
** Create the 'tmpdata' parameter list afresh.
pl_id := Create_Parameter_List('tmpdata');
** Add 1 data parameters to this parameter list
*/ -- subheader is a parameter created in Oracle Reports
--subheader := :variable.txt_message_yes;
--Add_Parameter(pl_id,'SUBTITLE',TEXT_PARAMETER,subheader );
**Pass a Parameter into PARAMFORM so that a parameter dialog will not appear
**for the parameters being passing in.
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
** Add the account_no parameters to this parameter list
Add_Parameter(pl_id,'P_ACCOUNTNO',TEXT_PARAMETER,:account_no);
* Run the report synchronously, passing the parameter list
*/ -- ABC is the report name
Run_Product(REPORTS, 'c:\Fusion\FusionInvoice.rep',
SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
END;
null

Hi there,
You have to add 3 parameters to param list :
DESTYPE with value "FILE"
DESNAME with value of desired filename
DESFORMAT with value "HTML" or "HTMLCSS" (for cascading style sheets)
Hope this helps.
Regards, Kai

Similar Messages

  • Calling report in JSP format from oracle forms...

    I created a report and save it in 2 formats (.rdf and .jsp)...
    Now instead of using the rdf format(which opens in a pdf inside a web browser) ...i want to call the report in jsp format

    Suhail,
    You can even call a .rdf report in HTML format. You have to set the Report Destination Format to html.
    For calling the jsp report , you don't have to do that differently either. Place your jsp report in the REPORTS_PATH directory.
    Then set your report object to that of html destination.

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

  • Getting a report in excel format from oracle report builder 10gDS release2

    I want to get a report in excel format from oracle report builder 10gDS release2.
    Is there ne method by which minimum effort is required for changing already made reports .
    I have searched for it on internet :-
    http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
    Example, given in the last of the page opened from the above url, is not working.
    Can neone plz explain the example and how to use it
    Thanks & Regards
    JD

    Ok, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
    declare
         pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(20);
    v_repsrv     VARCHAR2(100):= 'yourreportserver';
    v_serv varchar2(50) := 'yourservername' ;
    begin
    pl_id := Get_Parameter_List('tmpdata');
    if not id_null(pl_id) then
    Destroy_Parameter_List( pl_id );
    end if;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
    Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
    repid := FIND_REPORT_OBJECT('yourreport');     SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
    set_report_object_property(repid,REPORT_DESTYPE,CACHE );
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
    end;
    I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    The rest remains untouched.
    Hope it helps.

  • How to export the report in HTML format for desktop application

    Hi,
    i have wrote the JRC desktop application to export the report and i am able to export it in PDF and other formats as mentioned in "ReportExportFormat" API.
    i would like to know is there any API there which can export the report in HTML format.
    i know it would be possible with web based application of JRC, but how can i do it in desktop application?

    There's no mechanism for static HTML pages that displays the report.
    You can use the CrystalReportViewer DHTML viewer, but that's 'interactive'.
    Sincerely,
    Ted Ueda

  • Scheduling deski report to html format fails

    We're running boxi 3.1 SP4 on a Linux redhat machine. When scheduling a deski report to html format to unmanaged disk, the report stays in processing state for 10 minutes and then it goes to failed state with error "Object failed to run due to an error while processing on the Job Server" . Additionally I get the message "The scheduler component failed the object identified by <jobnumber>. The job associated with the object was unresponsive."
    Scheduling to other formats works fine. I have tracing on but there's not any hint in the logfiles. The htm file and it's subdirectories are created on the temporary location /data/procSched/<name>.DesktopIntelligenceJobServer but it's not copied to the configured destination. It is not an issue with permissions, the server has write permissions to the directory.

    Hi Clive,
    since your are in XI R2 you can only try to modify the layout of your report. In XI 3.x a new feauture was introduced, which allows the user to choose between keeping the layout or facilitating further processing in Excel when exporting a document in Excel.
    Regards,
    Stratos

  • Send report in HTML format not in MHTML

    Hi all,
    I need to send report in email in HTML format not in MHTML format.
    Kindly help me.
    Thanks

    Hello,
    As far as I know, we cannot change the rsreportserver.config file to achieve this effect.
    In SSRS, the HTML rendering extension renders a report in HTML format. The HTML rendering extension is the default rendering extension for reports that are previewed in Report Builder and viewed in a browser, including when run in Report Manager.
    There is an article about Rendering to HTML, you can refer to it.
    http://technet.microsoft.com/en-us/library/dd255269.aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Desktopintelligence report in HTML format

    Hello Gurus,
    I have to schedule a Deski report in HTML format. But when I schedule the report, the html format will will be saved in 'section by section' mode automatically.
    Waht properties should I change to save in 'All in one page' mode?
    Thanks,
    Naveen
    Edited by: NR on Apr 30, 2009 8:33 PM

    Hi Naveen,
                      Even I am facing a similar problem while exporting the reports to HTML format. All the sections in the report appear on different pages,and there's no option for getting them on a single page. As of now, there does'nt seem to be a direct solution for this issue, however, I got rid of this problem by using 'Breaks' in my report instead of 'Sections'. For example, if you are having a report which displays section-wise data, and you have applied the section on say, 'Cities' (which means you will get the city-wise data). You can remove the section and drag the 'City' field into the table, and then apply a break on it. You may also enable the option of 'Centre Value Across Break' which would give the report a better look.
    Regards,
    Alok.

  • WebIntelligence report in HTML format

    Hello Gurus,
    Can we schedule the WEBI reports in HTML format. If so how? I do not see the option to schedule the WEBI reports in HTML format.
    We are using BOE 3.1 version.
    Thanks in advance,
    Navin
    Edited by: NR on Jun 5, 2009 9:30 PM

    Hi Navin,
    The short answer is no. It is not supported by default. Desktop Intelligence does this. I think it is seen as a competition for the InfoView portal. There are however some good SDK examples that you might be able to use.
    Regards
    Alan

  • How to display static HTML pages in Oracle Forms 6i

    I want to display static HTML page in oracle Forms ? Can any body help please ? Its very urgent. Many thanks in advance.

    Suresh,
    there exist a Java Bean in teh Forms 6i demos that shows a static HTMl example. Note that the HTML that could be shown is somewhat basic, but it will give you an impression how it can work. The demos are at otn.oracle.com/products/forms --> samples --> 6i demos
    Frank

  • Need profile option for determining DateTime format in Oracle Forms

    Hello All,
    I also have requirement where I need to read the date format in which Oracle Forms displays date values.
    As per updates to [this thread|https://forums.oracle.com/forums/thread.jspa?messageID=10285119] , I just need to read the profile option "ICX: Date format mask" ("ICX_DATE_FORMAT_MASK"), and reformat the date value to my required target format.
    This is good for the date type of fields. But what about the profile option that determines "datetime" formats in Oracle Forms ?
    Appreciate any help.
    Thanks
    Bhaskar

    Are you linking the host script to fndcpesr? E.g.:
    Host script defined with prog extension:
    XXSCRIPT.prog
    Move it to relevant dir:
    $XX_TOP/bin
    Create a soft link to fndcpesr
    ln -s $FND_TOP/bin/fndcpesr XXSCRIPT

  • Webi report into HTML format

    Hi Frns,
    I wanna convert webi report into html format...
    Is there any possibility in bo???
    I'm using sap bo 4.1 sp2
    Regards
    Riaz

    Hi Riaz,
    As per my knowledge Webi report export to HTML format is not possible in BI 4.1
    You can raise a request in SAP IDEA's place
    Refer the below links for workaround solution
    [WebI XI 3.x] Export report to HTML or XML
    Does BOE XI 3.1 supports exporting WebI to XML format?

  • Reports which generate Excel output do not open under ie8/Oracle Forms

    Hello,
    we run Oracle Forms (regardless whether under Jinitiator 1.3.1.22(28) or SUN JVM) and generate Excel output with Oracle Reports (web.show_document). This works well under Internet Explorer 6 (ie6) but not under Internet Explorer 8 (ie8).
    The effect ist that a new browser window opens and closes very quickly without anything further happening.
    I honestly assume that this has not to do with oracle reports but ask this nevertheless in this forum as there might be people which made the same experiences...
    I additionally found out that the same problem exists when gerenating excel or ms word output via a db procedure (with http. modules). There I found that suppressing the question (open/save/cancel) before opening a file (via the windows explorer file type association menu) helped with excel and ms word output (but this might be regarded as a not satisfying workaround).
    The problem persists with other applications' file types than XLS or DOC which are also correctly registered on the client.
    I'm not sure whether mimetypes sent along with the files (which were obviously correct with ie6) play a role in this problem.
    Peter

    Hello,
    Your problem with IE 8 seems to be similar to the one discussed here :
    IE7 windows opened and closed immediatly
    http://www.experts-exchange.com/Software/Internet_Email/Web_Browsers/Interne
    t_Explorer/Q_23304982.html
    You can test the solution suggested :
    We have found the setting that we needed, under the Internet Options
    Security tab, if you select the internet zone, and click the custom level
    button, then scroll down to the Downloads section, the first option is
    Automatic prompting for file downloads, setting this to enable keeps IE 7
    from interfering with this sort of download.
    Example with screen shots :
    http://www.celt.iastate.edu/webct/securitysettings.html
    Regards

  • Email the Output of Report under HTML Format instead of .eps

    Hi to all
    I having Developer 6.0.5.0.2. I want to send an email from
    report (Using Lotus Notes email client) as an HTML attachment.
    Could any one guide me how to do that?
    null

    Set DESFORMAT = HTML in the Parameter Form Builder.(or in the
    system Parameters under Data Model)
    the DESTYPE should be MAIL only then you won't get the .eps file.
    Hope this helps.
    NB
    Kalle (guest) wrote:
    : Hi,
    : In case of Reports Runtime : Edit->Runtime Options->Runtime
    : Values->Format HTML, in Report Builder: Tools->Preferences...
    : Regards
    : Thalamuthu (guest) wrote:
    : : Hi to all
    : : I having Developer 6.0.5.0.2. I want to send an email from
    : : report (Using Lotus Notes email client) as an HTML
    attachment.
    : : Could any one guide me how to do that?
    null

  • How to remove Pagebreak while printing a Report in Html format

    Hi there,
    I am printing the Report Output as HTML format and I need to avoid pagebreaks ... Is there any way to avoid.
    I did tried PAGESTREAM ... but it prints the next page in a separate file ...
    Can anyone give a solution for this !!!
    TIA
    Vaithy. S

    hello,
    when you use the output-format HTML or HTMLCSS, oracle reports creates a representation of the layout as it would be created on paper in these formats; therefore there are pagebreaks.
    there is no way to switch them off.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Using a UK purchased iPad in the US - Okay?

    Ignoring the obvious answer of "why not buy it out there" for a number of reasons. If I bought a UK iPad, would there be any issues with using it in the States? I can buy US power cables and the like, but operationally, no difference? Also, will I be

  • Design mode in Flash Builder 4.5

    I've seen from previous discussions that newer versions of Flash Builder wouldn't be supported in design mode because there would be too many SWCs to maintain, but I wanted to check if it'd be possible for the LCCS team to only support the current/ac

  • Checking for existence of a record in csv file

    Hey all, I have two csv files residing on the server that I will be processing using the UTL_FILE package. One of these files (File A) has only one column and the other one (File B) has over ten. The data in file A is the same as the one in column 2

  • Idoc not getiing processed

    Hi, While posting the PO from MM to SRM the following error message is coming and the idoc is not geting posted. Error during syntax check of IDoc (outbound) Please help in this regard. Regards, Manu

  • Converting Oracle Forms to J2EE

    Hi, I was just wondering if the conversion of the forms using jHeadStart will require a lot of recoding of application logic attached to the forms. As oracle forms has a lot of built-in form triggers, how will this be converted using jHeadStart? Will