How to Run a Report from Desktop in Oracle 10g without using Web

Hi Friends,
I want to run a report from desktop (report which is developed in oracle report developer 10g), for that i have created shortcut. But when i double click on that shortcut it gives me followig error
"Report name, database connection, and reports server name (unless using local runtime, i.e. reports server call is local) properties must be specified for successful report run"
the path which is defined in the shortcut of report is as follow
D:\DevSuiteHome_1\BIN\rwsxu.exe rcptreg_dt userid/password@ORC
pls help me to sort out the problem.
Thanks & Regards.

Hello,
You can use rwrun. Since 9.0.2 , it is no more possible to DISPLAY the output on the screen , but you can generate a file (HTML , PDF , RTF , ..) and then open the file generated.
EX: rwrun report=c:\temp\myrep.rdf destype=file desname=c:\temp\myrep.pdf desformat=pdf userid=scott/tiger@mydb P_1=param1_value ...
Regards

Similar Messages

  • How to run my vi from a front panel control without using even structure in the vi

    Hello, I would like to run my vi from a front pannel control instead of the tool bar RUN botton. I am using LV6.1 without the even structure feature, so I can't do as proposed by a previous posting by setting the vi to run at open in a "do nothing state" then taking the front panel control event and switching the vi into another ("running") state. I wonder is there some other type of solutions to this problem. Your help is greatly appreciated.
    Bryan

    Hi Dennis, thank you for the reply. I tried with the attached vi. It can only run once (also not in the correct state I want), as the control i placed on the front pannel will stop the VI. I want to have the vi do nothing when it is opened and start counting when the start botton is pressed. Then i want it stop counting when the botton is pressed again...and so on... I must need a different structure to get it work, or did I miss something simple? Thanks again.
    Attachments:
    StartVI.vi ‏16 KB

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • I need a code to run a report from a forms on 10G...

    Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
    Thanks!!
    Regards!

    iam using Javabean in oracle 10g forms to tun the report....
    First create a block with a name control and add an bean to it with a name
    userid_bean.click the proerty of the bean and changes its width and height
    so that u cannot see it when u run the particular form.
    now use the below code where u are coding to run the report.
    Declare
    rep_url varchar2(2000);
    begin
    rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
    '&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '&paramform=yes';
    -- Write Log messages to the Forms JInitiator console.The Next line must
    -- be disabled before running this code in any production environment.
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
              get_application_property(password)||'@'||
              get_application_property(connect_string));
    -- writing the cookie
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    web.show_document(rep_url,'_blank');
    end;

  • How can I transfer contacts from my Iphone to ipad without using a computer?

    How can I transfer contacts from my Iphone to ipad without using a computer?

    The easiest method is to setup an iCloud account, turn on Contacts syncing in Settings > iCloud on both devices, and the Contacts from the iPhone will sync to the iPad.

  • How do I transfer files from one computer to another without using cables??

    How do I transfer files from one computer to another without using cables?

    Wifi network
    Email
    Thumb Drive
    Online storage such as, iCloud Google Docs, SkyDrive, etc.

  • How do I transfer photos from MacPro to iPad 2,without using iPhoto

    How do I transfer photos from MacPro to iPad 2,without using iPhoto on the ipad.

    You can use Photo Transfer App
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%205/35cf0e9c02b37da4016 bdc657debcaca.jpg

  • How to run a report from WCF

    hi,
    I am trying to run a report from a WCF service application, and then render it in PDF Format to a caller WPF application. But I cant get it! In more detail, this is what my app should do
    1. from WPF, call a web service procedure, pass a report name, report path and parameters. Report is store at the same server where Web Service is installed
    2. WCF procedure loads report, set parameters, retrieve data from DB and renders it as an array of bytes
    3. WPF gets the array, save it into a PDF file, then open it.
    this is the code of the WCF procedure.
        Function DownloadCRReport(codEnte As String, connString As String, reportDir As String, reportName As String, Parameters As Dictionary(Of String, Object)) As Byte() Implements IGesiService.DownloadCRReport
            Try
                Dim bytes As Byte()
                Dim infile As BinaryReader
                Dim fs As FileStream
                Dim rep As New ReportDocument
                Dim RepAddress As String
                logPath = reportDir & "log\"
                sb = New StringBuilder()
                timestamp = Now.Year.ToString & Now.Month.ToString & Now.Day.ToString & Now.Hour.ToString & Now.Minute.ToString & Now.Second.ToString
                logFileName = timestamp & "_" & reportName & ".txt"
                logFile = New StreamWriter(logPath & logFileName, FileMode.CreateNew)
                logFile.WriteLine("----
    Date and time: " & Now.ToString & " -
                If My.Computer.FileSystem.FileExists(reportDir & reportName & ".rpt") = False Then
                    Throw New Exception("file RPT non found in: " & reportDir)
                End If
                RepAddress = reportDir & reportName & ".rpt"
                logFile.WriteLine("rep address: " & RepAddress)
                rep.Load(RepAddress, OpenReportMethod.OpenReportByDefault)
                logFile.WriteLine("load rep")
                If rep.DataSourceConnections.Count > 0 Then
                    rep.DataSourceConnections.Item(0).SetLogon("usr", "pwd")
                    logFile.WriteLine("data source connection")
                End If
                For Each i In Parameters
                    rep.SetParameterValue(i.Key, i.Value)
                    logFile.WriteLine("param: " & i.Key & " - " & i.Value)
                Next
                Try
                    fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
                    logFile.WriteLine("export to stream")
                    infile = New BinaryReader(fs)
                    logFile.WriteLine("created binaryreader")
                    bytes = infile.ReadBytes(CInt(fs.Length))
                    logFile.WriteLine("render pdf. fine")
                    logFile.Close()
                    Return bytes
                Catch ex As Exception
                    logFile.WriteLine("vbCrLf & ex.Message & vbCrLf & ex.InnerException.Message)
                    logFile.Close()
                    Return Nothing
                End Try
            Catch ex As Exception
                logFile.WriteLine("vbCrLf & ex.Message & "-" & vbCrLf & ex.InnerException.Message)
                logFile.Close()
                Return Nothing
            End Try
        End Function
    I detected that error occurs on rep.ExportToStream(ExportFormatType.PortableDocFormat). I should point out that the same procedure works under WPF application. In the WCF server I installed CR Runtime engine for .NET framework (13.0.9.1312) and CR version for Microsoft Visual Studio (same version). Moreover, all DB operations are stored into the report, so I should not pass any dataset, just parameters.
    Anyway, just to begin, I tried to call a simple report with just two string parameters and no queries, but I alwais get error ("An exception of type 'System.NullReferenceException' occurred in MyApp... Object reference not set to an instance of an object)!
    How can I make it work? thanks for help

    hi Ludek,
    Im trying to change DB connection info at runtime for all of the report tables. this is the code I used in my Web Service
              Function DownloadCRReport(...)
    If rep.DataSourceConnections.Count > 0 Then
       Dim conn As New ConnectionInfo
       Dim tabLogon As TableLogOnInfo
       conn.ServerName = "10.10.15.90" 'IP address of DB server
       conn.DatabaseName = "MyDB"   'Database name as set in TNSNAMES.ORA
       conn.UserID = "newuser"
       conn.Password = "newpwd"
       For Each t As Table In rep.Database.Tables
          tabLogon = t.LogOnInfo
          tabLogon.ConnectionInfo = conn
          t.ApplyLogOnInfo(tabLogon)
          logFile.WriteLine("changed logon tab. " & t.Name)
       Next
       rep.Refresh()
       logFile.WriteLine("changed data source connection")
    End If
    'set parameters
    If Not IsNothing(Parameters) Then
       For Each i In Parameters
          rep.SetParameterValue(i.Key, i.Value)
          logFile.WriteLine("set parameter" & i.Key & " - " & i.Value)
       Next
    End If
    fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
              End Function
    that comes to an error on rep.ExportToStream: "Unable to access database".
    Running web service in debug mode, I noticed that, after t.ApplyLogonInfo(tabLogon), the new ConnectionInfo has "password" property empty. Maybe this could cause the error, or is there some mistake in the new connectioninfo?

  • How to run a report from UIX ?

    Hi, I need to run my reports made in Oracle Reports Builder, in Web Style. All reports has parameters, then I buid a UIX page with some MessageChoice to select values for the parameters, and I need to invoke the report when a click the submit button. How I can call this JSP, because to work I need to invoke a URL not the JSP code. Example:
    http://localhost:8889/reports/myreport.jsp?cia=001
    Thanks.

    Rodrigo,
    We figured out the way to run the reports from UIX parameter forms. It will take a lot of explainig though. If you are interested, please email me at gorbunov @ pacbell . net and I'll send you the example.
    Regards,
    igor

  • How to run ADDM report from client?

    Hi,
    I want to run ADDM report from the client and get the report in my machine?/
    in other words while connecting to sqlplus from my machine if i invoke @?/rdbms/admin/ >> it selects local oracle home..
    Any suggestion to set as if run the remote sql's from sqlplus?/
    Thanks,
    Raman

    You can run the individual built-in packages from SQL*Plus from a client.
    You can also open a browser session to the OEM Grid Server if you know its fully qualified host name or IP Address on your network.
    Be sure, however, that you are licensed to do so. ADDM requires the diagnostic pack license.

  • How to run multiple reports From One Form with 1 report object?

    Hi ALL!
    i want to run multiple reports (in 10g technology) from 1 Form having only 1 report object.
    i.e
    IF parameter=yes THEN
    Rpt_new should run
    Else
    Rpt_old should run
    END IF;
    How can i do this?
    thanks
    rana

    Rana,
    I found this in the Forms online Help. You could easily found it yourself. Don't be afraid of pressing CTRL-H:
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, 'yourreportsfilename.rdf')Regards,
    Martin Malmstrom

  • How to run a report from a form?

    i created a report from reports 6i. now i want to design an interface in oracle forms and want to call all information from report according to paramaters which i designed in oracle forms.
    i found some information that i can do that using Procedure Run_Report or Run_report_object but i could not achieved it.
    Can anyone explain me that step by step? Or anybody made an example before so a connection from form to report and send to me as a muster. probably i can find a solution for me too..thanks a lot..

    Abdetu thanks for your quickly reply but i have to say that i could not understand it very clearly because i don't have any experience about Forms and Reports. Therefore i am trying to ask my question again with examples.
    I made a report and now i am trying to connect this report to my forms. My forms has 2 search item. Account_no and Date and i have a Run button.
    If i write date "Oct" and push button "Run" i want to see whole list of Oct from Report. Therefore i made a trigger "When-Button-Pressed" and i wrote this and now my question about the parameters.
    In Forms under menu parameters should i create 2 parameters parameter01 and parameter02. and now my questions:
    1) After i create parameters should i write as a Parameter Initial Value
    2) Should i extra add paramters to reports too?
    declare
    v_Report_Id Varchar2(20) := 'RAPOR_NAME';
    v_Parameter_List Varchar2(15) := 'FormParameter';
    v_Parameter_List_Id Paramlist;
    v_Return_Code Number;
    Begin
    v_Parameter_List_Id := Get_Parameter_List(v_Parameter_List);
    If Not id_null(v_Parameter_List_Id) Then
    Destroy_Parameter_List(v_Parameter_List_Id);
    End If;
    v_Parameter_List_Id := Create_Parameter_List(v_Parameter_List);
    Add_parameter(v_Parameter_List_Id, 'PAR_01', TEXT_PARAMETER,:Parameter01);
    Add_parameter(v_Parameter_List_Id, 'PAR_02', TEXT_PARAMETER,:Parameter02);
    Add_parameter(v_Parameter_List_Id, 'PARAMFORM', TEXT_PARAMETER,'NO');
    Add_parameter(v_Parameter_List_Id, 'DESTYPE', TEXT_PARAMETER,'SCREEN');
    Run_product(REPORTS,'v_Rerpot_Id',SYNCHRONOUS,RUNTIME,FILESYSTEM,v_Parameter_List_Id,null);
    End;

  • How to publish a report from Discoverer  to Oracle App. Server

    Hi,
    I am just getting into this. I glanced through admin & desktop user guides(10g Release 2 (10.1.2.1)) for information on how to publish the end report developed using discoverer desktop onto Oracle Application server?
    Do anyone of you know which tool allows me to do that?
    ( perhaps, this would be a silly question to ask. But I got a bit inpatient in knowing about it)
    Thanks,
    Sun

    You are correct, the viewer will provide that functionality, it is a web tool that they can use to view the saved workbooks.
    There are some differences between the plus and the desktop, for example:
    1. The desktop should be installed on every end user computer in order to run reports while the plus is installed on IAS server and all the user referred to it.
    2. you cannot install the desktop on any operating system other then windows.
    3. there are functionality differences between the 2 apps like: in the desktop you can perform sub query that you cannot create in the plus (you can use a pre built)
    4. in the desktop you can save the workbooks locally, in the Plus you can save to the database only.

  • How to move the changes from one system to other without using CMS

    Hi
    In our project they are migrating NWDI 6.40 to NWDI 7.0.
    During migration CMS won't be available.
    Could you plesae tell what are the different options are there to move the WebDynpro changes from (NWDS) Development to Quality system and then production system without using CMS server?
    If i will create a development package and import this packgae in Quality package will my new changes also be available in Quality server?
    Thanks & Regards
    Susmita

    Hi Susmita
    I wasn't completely sure, but from your description of your problem, it seemed like you would have access to your DTR during your upgrade. The following solution assumes as much. If this is not the case, you'll need to do things slightly differently, but the solution will still be possible.
    Depending on the scope and size of your changes, it may be practical for your developers to deploy directly from their NetWeaver Developer Studio (or for a designated administrator to install the NWDS and do the same). To do so, from the Development Configurations perspective, create a new NWDS project for each of the DCs you want to deploy. Then right-click the project and choose from one of the deployment options. (Deploy new archive and run will allow you to see if your deployment has taken effect.) When deploying, the target server is the one set up as your J2EE engine in the NWDS properties - you'll consequently have to modify this when the target server for your deployment changes (from QA to production, or vice versa).
    Note that this is only applicable in certain situations, and only as a short term stopgap measure. This sort of practice - developers or administrators deploying haphazardly to servers other than those intended for development - is precisely what the NWDI is designed to prevent (and is one of very few things it's fairly good at doing). For instance, if your QA and production systems are attached as TEST and PROD runtimes systems respectively in your NWDI, a full assembly and subsequent full deployment would usually occur to these servers when deploying with the NWDI. This is a much stronger guarantee of consistency than the build that will be performed within your local NWDS to deploy your changes. (Conversely, the rigidity of the assembly is perhaps the NWDI's greatest design flaw.)
    (Also, Snehal: thanks for the information on the sapmake_util blog. It's not something I've encountered before and looks very useful.)
    James

  • How to run Discoverer reports from Compensation Workbench?

    Has anyone been able to successfully add a Discoverer report that can be run run from Compensation Workbench? If so can you share the steps?
    I followed the steps described in the following Oracle note, but no luck.
    Adding Discoverer Reports to the Compensation Workbench Home Page [ID 464014.1]
    Thanks
    Jaya

    Please post the details of the application release, database version and OS.
    848716 wrote:
    Has anyone been able to successfully add a Discoverer report that can be run run from Compensation Workbench? If so can you share the steps?
    I followed the steps described in the following Oracle note, but no luck.
    Adding Discoverer Reports to the Compensation Workbench Home Page [ID 464014.1]What is the error you get after following the steps in this doc?
    Thanks,
    Hussein

Maybe you are looking for

  • Creating Profile type report that hold fields with multiple values

    Really hoping someone can please help me out as I am very new to Crystal Reports. We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to cre

  • How do I cancel an iTunes match account?

    Trying to change my country setting on my icloud account, but cannot seem to be able to as I keep getting a message to first cancel my itunes match account. How do I do that? Thanks.

  • ITunes 7.02 issues

    Here are my biggest gripes with iTunes 7 . i buy alot of iPods. in fact whenever a new one comes out, i pre-order it and pretty much get it the same day it comes out. And so I re-load my music onto the new iPod and everytime, no wait, EVERYTIME, at s

  • J1id - Vendor excise details issue

    Hi All, When I create record in J1ID, for vendor excise. the "change on" fields should be auto populate, but this is not happening. This field doesnu2019t change automatically. I have to do manually. How can i change this, I need when i change record

  • PSP Can I NOT use Oracle Application Server

    Hi, Can someone tell me if I can Use Apache and Tomcat to Serve my PSP Web Page. If there is no way-out I will have to use Oracle 9iAS. I tried to find Documentation on mod_plsql, but could not find any (including mod_plsql). Thanks!!!