Executing a report from a JSP

I built a report in Reports Builder and I want to execute it from a JSP, especifically in the action of the form, something like this:
<form name="forma2" method= "post" action ="">.
Am I right?
What should I write in the action ???
Thanks for your help.
Pätricia

Patricia,
There are 2 kinds of layout in the report - web layout and paper layout. Web layout is totally JSP-code based. Here you can write normal JSP code, and get the output as an HTML page (just like any other normal JSP). As I wrote in my earlier post, the URL for running the web layout of a report is:
http://machine:port/<your_application_context_root>/MyReport.jsp?server=...+userid=...
In this case, just like the output format of any JSP will always be HTML, similarly, the output of a JSP Report will always be HTML. It cannot be any other format like PDF.
The other type of layout in the report is the paper layout. This layout is graphical, so you can design text boxes, put in color, choose font, etc using the GUI tool in Report Builder. The URL for running the paper layout of a report is:
http://machine:port/reports/rwservlet?report=...+server=...+userid=...+destype=...+desformat=...+desname=...
In this case, you can have different output formats, like PDF, RTF, XML, HTML etc.
Hope this is clear. Another point - just because your report is saved as a *.JSP file, does not mean that it contains only web layout. The same report can contain web layout as well as paper layout. So, in case your JSP report contains paper layout, you can run it using the second URL above, and get the output in PDF.
You can open your report in Report Builder, and verify whether a paper layout has been defined or not.
Navneet.

Similar Messages

  • Error while executing a report from Planning

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I am not sure about it. But i remember once running into a similar issue where i made some changes in the metadata or outline and few members were dropped from the hierarchy and it came up with this error at the time of running
    the report as my report was still trying to query the dropped members. But u said you have already checked and all your members are valid on the report. Is this happening with all the reports or just one. If its all the reports i would
    restart the BI+ reporting services and then try to run the reports!

  • How do I call a 10g report from a jsp page securly?

    How can I call a report from a jsp page securly? We are migrating from 10g forms to J2EE, and we want to keep using our reports. In forms we were able to do this using a cookie. How can I pass a users credentials to reports without the user having to connect to the database? Single Sign-on isn't an option either.
    Thanks,
    Jim

    Hi Jim,
    If you want to pass the user credentials to the report dynamically, then SSO (Single Sign-On) is the only option I can think of.
    If the user credentials can be hard-coded, then the following 2 solutions are possible:
    1. Use cgicmd.dat file, and write the user credentials in the file.
    2. In your report JSP itself, you could write the following:
    <rw:report id="report" parameters="userid=scott/tiger@mydb">
    Navneet.

  • How to call a report from a jsp page

    Hi
    1) Can anyone please tell me how can i view Discoverer report from a jsp page instead of opening it directly thru plus/viewer.
    2) Please clarify do i need to install Infrastructure and OID for it.
    Please advice.
    Thanks

    You need the AS infrastructure if you want to use connections. If you do not intend using connections, you do not require the infrastructure.
    Note that you cannot pass in passwords in the URL any longer. You do not need to pass passwords if you pass in a Discoverer connection id (but then again - if you don't use connections, then you do need to still pass in the connection information - username, password, database, language, EUL)
    I have a post on my blog that describes how to pass a password using an HTML Form submit - http://oraclebi.blogspot.com/2005/08/passing-password-to-viewer.html
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • Executing the report from the form

    I am getting the following error while executing a report from the form, and the destination format is excel
    RWRBE60.exe - Application Error
    The exception unknown software exception (0xc00000fd) occurred in the application at location 0x64aa591a.
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    OK Cancel

    im having same problem when i use long report file names. like when i use report name my_very_long_long_report_name.rep this problem occurs..
    i reduced this to my_short_report_name.rep it never occurs, it happend in lot of reports.
    Regards

  • Problem while executing a report from Planning Web

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I didn't see anyone post the resolution on this. I recently re-ordered the dimensions in my outline, and afterwards was getting that error. It's a simple fix of changing the database connection to something else, then changing it back. I was able to do this because I have multiple databases with the same outline structure. If you don't, possibly you may just have to re-create the connection, not sure.
    Sabrina

  • When i try to execute a report from forms10g i found the errore id not ....

    i have a button in a form that run on forms10g that tri to execute a report in the web :
    the trigger is this
    **** when i try to execute the button the error is that the is impossibile to find the "report ID"???
    there is a easist solution to execute a report from a form button ????
    thank's !
    DECLARE
    report_id Report_Object;
    BEGIN
    report_id:= find_report_object('imm_print_01');
    PROCEDURE RUN_REPORT_OBJECT_LIST(report_id , 'repSRV' , 'pdf');
    END;
    the procedure run_report_object_list is the follow :
    PROCEDURE RUN_REPORT_OBJECT_LIST(report_id REPORT_OBJECT, reportserver
    varchar2,
    runformat varchar2) IS
    report_job_id VARCHAR2(100);
    vc_rep_status VARCHAR2(20);
    paramlist_id ParamList;
    paramlist_name VARCHAR2(10):=’tmplist’;
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,
    SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,
    reportserver);
    paramlist_id:= get_parameter_list(paramlist_name);
    IF NOT id_null(paramlist_id) THEN
    destroy_parameter_list(paramlist_id);
    END IF;
    paramlist_id:=create_parameter_list(paramlist_name);
    add_parameter(paramlist_id,’DESTYPE’,TEXT_PARAMETER,’CACHE’);
    add_parameter(paramlist_id,’PARAMFORM’,TEXT_PARAMETER,’NO’);
    add_parameter(paramlist_id,’desformat’,TEXT_PARAMETER,
    runformat );
    report_job_id:=RUN_REPORT_OBJECT(report_id,paramlist_id);
    END;

    Please see that in your form you have created a "report object" with the same name ie "imm_print_01" . This is done using Forms builder in object navigator
    (For forms-reports intg pls see "forms reports integration whitepaper" (link below)
    [    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
    ---------------------------------------------------------------------------------

  • Executing Sabrix Reports from SAP CPS

    Does anyone know if we can executing Sabrix Reports from SAP CPS?
    Thanks,
    Bhushan

    No. That was the first option I could think of. Executing it with ABAP Program.
    I dont have much information about Sabrix System but what I understand is that automated tax reporting solution which runs batch processes in background during
    night and email report with desired data in an excel spreadsheet format. Sabrix doesn’t have a custom solution to generate reports. They have suggested leveraging 3rd party tools for such requirement.

  • Passing Parameter to Report from a JSP

    <p>I have a report which calls a Oracle stored procedure which requires some  IN parameters. These parameters need to be passed from the JSP. For this scenario if someone has some sample code please post it.</p><p>Thanks.<br /></p><p>&#160;</p>

    <p>In the scenario you described the report that connects to the stored procedure will automatically require parameters so they can be passed to the stored procedure.</p><p>Here is a link to a sample that passes a parameter to a report at runtime using BusinessObjects Enterprise XI R2:</p><p>http://diamond.businessobjects.com/node/1018 </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Executeing a report from Arbit. program

    Hey, i was wondering.
    Is it possible to start a report from a commandline ?
    I want to do some report printing during the night, and i'd prefer initiating it from within a Java program (dev. with JDeveloper).
    I realize that i problary will have to execute the report binary, and pass some arguments to make this happen.. Is this the way to go about it, or is there a more efficent way to do this ?
    Thx alot.

    Hi,
    U can do by using
    SUBMIT PROGRAM VIA SELECTION-SCREEN .
    Bye

  • Execute transaction/report from SAPOffice message

    Is it possibile to execute directly a transaction or a report from a SAPOffice message ?
    In functions SO_DOCUMENT_SEND_API1 and SO_NEW_DOCUMENT_ATT_SEND_API1 in input structure DOCUMENT_DATA there are two fields (PROC_TYPE and PROC_NAME) that seem to give this possibility.
    I used them, together to table parameter OBJECT_PARB, but nothing happen.
    Regards,
    Antonino Musciumarra

    Send  .sap file in the attachment..
    check following thread:
    Re: Hyperlink to SAP documents in external emails
    G@urav.

  • BI error while trying to execute a report from a role - HELP

    Hi experts, I just started in a new BI project and there were some roles already created, I tried to execute a report in one of these roles (SAP_BW_TEMPLATE-Procurement) and I receive a pop-up window saying: "Windows cannot find "report technical name" . Make sure you typed the name correctly and then try again"
    Does anyone have any idea what this is happening?, how can I fix it?, this is very urgent, any help would be appreciated.
    Thanks
    JC

    Hi Shaimaa
    First of all I'm delighted that the scheduling itself is now working.
    In reply to your other concern regarding lost database connections when attempting to open the scheduled results, a couple of things come to mind.
    Firstly, what version of the application server are you using?
    Have you raised a service request with Oracle? If so, can you tell me what they said.
    Have you recently upgraded to 10.1.2.2 by any chance? If so, you definitely need to be aware that a new preference has come into play which could muck things up. The clue is to look at the SQL that Discoverer is generating. Do you see a line at the top of the code saying NOREWRITE? If so, we need to stop this by doing the following:
    1. Add the following parameter to the preference file in the c:/oracle/BIHome_1/discoverer/util/pref.txt under the [Database] section
    UseNoRewriteHint = 0
    Note: the preference is all one phrase with upper case characters at the beginning of each word
    2. The beginning of the section should look like this:
    [Database]
    UseNoRewriteHint = 0 # speeds performance and stops lost connections
    3. Double click the applypreferences.bat or run applypreferences.sh (if on Unix or Linux) to save the changes.
    4. Restart the Discoverer services and test.
    The next thing that comes to mind is hidden Group Sorts. I've recently had a situation where these can cause a loss of database connections. Do you have any of these in the offerning workbook?
    Mull over the above and let me know your findings.
    Best wishes
    Michael

  • Execute BIP Reports from Concurrent Manager

    We currently have EBS and are using XML Publisher that is embedded in EBS.
    However, we would like to deploy a dedicated BIP Server for our reporting needs and call our reports from EBS via concurrent jobs.
    Is there a documented method to accomplish this?
    Thanks,
    Scott

    Hi Scott,
    You could call BIP web services eg. from java concurrent programs, but with separate BIP server you'd have extra licensing, integration complexity to contend with.
    Is your issue performance or do you want to use BIP Server functionality independently? If performance, might be better to go for parallel concurrent processing.
    Are the reports you mention in "call our reports" custom reports or standard EBS reports? Either way you'd need to create the reports on BIP server and consider integration.
    Regards,
    Gareth

  • How to call a report from a jsp

    Hi!
    I did a report at Oracle Portal as part of an application and publish this as a portlet. But I'd like to have a parameter form developer at JSP
    and this parameter form can call 2 types of reports, depending on the parameters.
    Someone knows how? Or Where can I get more information?
    Thank's in advance!!!

    Hi Patricia,
    With Portal 9.0.2, you can use the new JSP tags to include content from existing portlets. You can read an overview about it at:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/DOCTEAM/DOCPLAN/CREATING_JSPS_IN_PORTAL.PDF
    regards,
    Stewart

  • Execute Crystal report from client computer

    Dear Friends,
    we create one report in CR on computer A.
    Now i want to run this report on computer B using Crystal Report Viewer.
    Its giving me the data which is last run on computer A. parameters are not available here why.
    Any help.
    Regards
    Malik

    The free Crystal 2008 viewer can't refresh data.  For a list of 3rd-party Crystal viewers that can refresh data, see: http://www.kenhamady.com/bookmarks.html

Maybe you are looking for

  • Hanns-g 19" doesn't work with macbook...

    I have a Hanns 19" external monitor, which I have been using with my Aluminium PowerBookG4 laptop with no problems. I also have a Black MacBook, running 10.4.8. Yesterday I purchased the Apple Mini-DVI to DVI adaptor and plugged it in to the macbook

  • Making a .exe In LabVIEW 8.2

    I'm trying to make a stand alone executable from a vi created in Lab VIEW 8.2. I did not create the vi in a project, but I have moved It into one. I have been unable to make a exe that works on the none Lab VIEW computer. I have Three questions 1. Do

  • Adding a Flash photo gallery on DW

    So, I'm trying to add a flash photo gallery on my site.  I am very new to this and cant seem to figure out how to do it exactly. I've found free templates online and downloaded the files.  But I am unsure where to go from there.  Like I said, I very

  • Represinting my data and relations between records in a diagram not by the hierarchic

    hi all , if there is a group of people in one table and the other table contains another group of people, and there is a relation between those groups, how to create a form or a report representing diagram for this relation. This diagram should be dy

  • Get Tabname during runtime

    Hi all, I am writing a module pool program with 1 main screen with 5 subscreens Within the each tab there may be 52 inputs fields declared. My requirement is while saving input, i need to generate log saying that the fields in tab(Tabname) is not fil