Calling a report from the application
Hi,
I am using Jdeveloper 11g…Using Bi-publisher; I want to call a report which should be opened in a new dialog window. The problem is, I don’t know how to call the report directly using "Output Stream" without having to save it physically.
Could you please give me a complete solution on this?
Thank you so much in advance.
Best Regards,
Yasaman Parandian
Edited by: Parandian on Jan 13, 2010 7:35 AM
Did you try searching the forum (perhaps for "BI Publisher"?) This question has been asked a number of times before.
John
Similar Messages
-
How to Call Crystal Reports from Swing Application
Hi All,
I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
Thanks in advance.
Chandrahi
this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
import java.awt.*;
import javax.swing.*;
import com.crystaldecisions.ReportViewer.*;
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class HelloSwing
public static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle( "Testing Reports");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init( new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.open( "report path", 1 );
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource( rptSource );
frame.getContentPane().add( viewer, BorderLayout.CENTER );
frame.setSize( 700, 500 );
frame.setVisible(true);
viewer.start();
catch ( Exception exception )
System.out.println( exception.toString() );
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
specify the key in the CRConfig.xml file (which also has to be imported in the package)
u can find these jar files in the common objects folder in your program files.
hope it helps. best of luck -
Problem while calling a report from the report
Hi
i want call a report from the report, i have written URL in the Hyperlink and its working
but
1) i want open it in the diffrent window.
2) suppose if u have a report called emp it should call antoher 2 report at a time.
( how to put 2 URL in the hyperlink?).
i,e if i press a hyperlink it should open emp1 and emp2
Please help me.
thanks and regardsThanx,
I have solved this problem.
Regards,
Hafeez -
How to call oracle reports from ADF application.
Hi
I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
Dario -
Calling 10g reports from ADF_BC Application
Dear All;
Good day to you;
I have an ADF_BC application, and at the same time i have 10g reports compiled and placed on forms and reports server,
i want to call reports from my application as needed, i can put a hyperlink with the link to the report, and it is working fine,
but i want to know how to change the link to be dynamic, since the application is deployed on 1 application server, and the rerports on the other
in addition i need, to know how to send parameters
i am unable to change the properties of a hyperlink in the code, and i do not want to change it in scriplet
any idea, or tutorials will be most helpful
thank you
regards
halimHello John;
Thank you for your reply;
Yes i am using JSF, i am working on JDEV 10.1.3.30, i deployed my application to srvanweb2 a server we have, where the application server port is 7777,
and i have deployed my reports to srvanweb2 with port being 7778,
Report: http://srvanweb2:7778/reports/rwservlet?cmdkey=user_string&report=hrempr007.rdf&destype=cache&desformat=pdf
Application: http://srvanweb2:7777
my problem is, if i want to embed the link to the report as a common HTML hyperlink it would work, but if i want to set the value for this hyerplink dynamically to be able to add parameters on run time i would have to do it on the scriptlet level, and i can not do it in a bean, since i can not call the hyperlink set value, or even the get value, so my question what should i use to create a link which will change in a bean as you said and be able to call a differnet instance which is srvanweb2:7778, and send parameter
regards
Halim -
Calling oracle reports from java applications
Hi:
I was wondering if anyone can tell me how to invoke an oracle report from a java application.yes it is possible. There is a cgi script called viewreport.cgi. Have the jsp page call it (GET or POST method) and place the user parameters inside the form.
-
Calling a report from the form shows SSO page
Hi all,
When a form calls a report, the single sign-on screen apears and the report is not generated until a valid SSO account is provided, can this be bypassed ?
Oracle 9iAS R2 is used on Windows 2000 platform and forms/reports 9i
Thanks in advanceAny one has an idea ?
-
Prompts are not working when we call another report from the narrative view
Hi,
In my dashboard i need a table view report which should have scrolling option only for that section.
For this i added a html tag <iframe ........scrolling="yes"> in the narrative view and i added that narrative view in the report.
Now,it works fine in the dashboard.
But when i apply prompts in the dashboard the values are not filtering even though i added the "is prompted" filter condition in the criteria of both narrative view section and the called function.
Any help would be greatly appriciated.
Thanks,
chinna.Hi,
since you have created an iframe dashboard prompt wont work on that report.Same is the case if you put the report in Embeded content.
One possible workaround is to creaate a dummy report having columns same as that of dashboard prompt.Put all the columns is prmompted in this report
(No need to create dummy report if you already have those columns in some other report,You can use that report also)
Then go to your Iframe report and use "filter based on other request".In this way dashboard prompt will filter dummy report and based on dummy report values your iframe report will also filter.
Thanks
Sandeep -
How to call a report from a web application
Hi,
I have a web server in wich is installed Reports 6i. My question is how can I call reports 6i to generate a pdf using a .rep file from my web application (built with java)?Hi,
The below link will be very useful for one who need idea on calling Oracle Report from Java Application,
http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/reportswebservice/index.html
Thanks & Rgds,
M T -
How to call BI report from web dynpro
Hi ,
How to call BI report from webdynpro application and what are the prerequisites for that .
Please provide an example to work with BI application frame UI element
ThanksHi Rajpal,
Please go through this..
calling BI report
Cheers,
Kris. -
Call Oracle Reports from Forms ver 9i or 10g
Hi,
Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
What is the best way to call the reports from the form ??? pls help...
Thanks in avdance.
Jitesh ([email protected])You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
In the Forms help you should find examples.
If you have access to Metalink, have a look at Note:207396.1. -
Calling a report from a report in a new window?
I have a report that has a link to another report that opens in a new window. This works great when I run the report from the applications tab in the navigator. I then added it to a page as a portlet. I ran the page and tried the link, but I get a page not found error. Here is the code I'm using.
''||c.client||'<BR>'
client_link,
Any ideas would be great.
Thanks,
TomThis is basically a BASE HREF problem.
In full page mode, your base HREF woule be point to something like package.procedure.show
But in the portlet mode, the BASE HREF would be set to the current page. -
Hi All ,
I am trying to call a report from Static view.Now , I know we can call a page or dashboard from the statis view by writing th HTML content.
Can we also call a report from the Static View .
I tried using :
<a
href="/Analytics/saw.dll?Path=/shared/Sample%20store/_portal/DashboardName/Report%20Name">
Here, the report 'Report Name' is in the dashboard 'Dashboard Name' .
The report location is : /shared/Sample store/Report Folder/Report Name
Can we directly call the report without going to Dashboard as I have tried in above HTML statement.
Thanks!hi,
Create a static view with the following code which will directly open report not the dashboard,if u want you can make the input type as button,I guess we will not get the dynamic report name as your
The report location is : /shared/Sample store/Report Folder/Report Name
The alternative if any user click on that "TEXT" it will take you to that report
{p}
Here, the report 'Report Name' is in the dashboard 'Dashboard Name' .
To edit the report
{input type="text" value ="Report Location is :"
onclick="window.location='saw.dll?Answers&ItemName=Bench To Individual - Help&Folder=/shared/Sample Sales/02 History and Benching&LocItemName=Bench To Individual - Help'"}
{P}
Hope this helps you
PS: Replace {} with <> codes
thanks,
Saichand Varanasi -
Calling a report from module pool program
Hi all,
I had a requirement where I need to call a report from the module pool program where in when we click REPORT button, it should display the report output in the another screen.
Can we do by calling screen after pushing REPORT button. If so, where we should write that code ( In pbo or pai). Please give me an idea.
Thanking you,
Regards,
Murali Krishna TUse submit syntax.
Press F1 on submit, Donot use return statement with it.
If so, where we should write that code ( In pbo or pai).
Please understand about these two events before doing the requirement. -
Calling a report from Module Pool
While calling a report from the module pool I'm not able to display th alv. The skeleton of the ALV is coming. But the data and headings are also not displayed.
But where as calling the same program from a report it is coming properly. can somebody please guide me where did I go wrong?MODULE user_command_1001 INPUT.
w_ok_code = ok_code.
CLEAR ok_code.
CASE w_ok_code.
WHEN 'BACK'.
LEAVE PROGRAM .
WHEN 'CREATE'.
CALL TRANSACTION 'Z_FIRST_TIME'.
WHEN 'SYNC'.
CALL TRANSACTION 'Z_SYNC'.
WHEN 'APPROVE'.
SUBMIT zds_xx_approval_status WITH po_aname EQ sy-uname AND RETURN.
WHEN 'OVERVIEW'.
PERFORM show_all_reqids.
ENDCASE.
ENDMODULE.
Maybe you are looking for
-
TS3775 Target Display Mode doesn't work
I have a similar issue. I am trying to connect iMac 27" to Macbook Pro 13" (both 2011 models). I am using mini displayport Male-Male cable to connect both computers. After connecting I have pressed Command + F2 key but nothing happens. Any suggestion
-
Still images interspersed in video all with the original audio
I have what I think should be a very simple task. I have a 1 hour video of a school show. I want the soundtrack to remain intact. I simply want to take still images and replace the video images for certain chunks of the school show. The result should
-
HT5642 How is it suppose to work I don't no what to click ????
How are yu suppose to get the update I can't find where to click plz helpppp!!!!!! XC
-
Illustrator 10: Marks and Bleeds
I'm using illustrator 10 to design some bumper stickers. To prepare for printing, the print company I'm using told me to expand the background at least 1/16 of an inch outside the setup box. Then when I'm saving the file to PDF format (save as), I wa
-
Trying find a way to detect and list the external hard drives/flash drives
Hiya, I'm trying to find a way to detect and list all the external hard drives or flash drives connected to a machine. The reason I want it is that I want to make a File Synchronization program in Java which will automatically synchronize from flash