Run Report and download

I am using 9IDS
My requirement is
1) To run report in character mode from form
2) then download that file to user end.
will somebody help me to solve this problem
pls suggest me coding
thanks in advance

i am getting error
unable to runreport
my codes are
          f_name :='C:\file\file1.txt';
--if upper(vc_runformat)<>'TXT' then
     rep_id:=find_report_object('SAL_REG_DEPT');               
     set_report_object_property(rep_id,REPORT_EXECUTION_MODE,BATCH);
     set_report_object_property(rep_id,REPORT_COMM_MODE,SYNCHRONOUS);
     set_report_object_property(rep_id,REPORT_DESTYPE,FILE);
     set_report_object_property(rep_id,REPORT_DESNAME,f_name);               
     set_report_object_property(rep_id,REPORT_DESFORMAT,vc_runformat);
--set_report_object_property(rep_id,REPORT_MODE,'dflt');     
     set_report_object_property(rep_id,REPORT_SERVER,vc_reportserver);
     set_report_object_property(rep_id,REPORT_OTHER,'comp_code="'||:global.vc_comp_code||'" catg="'||catg||'" dept="'||dept||'" emp_code="'||emp||'" locat="'||:list_loc||'" month="'||mth||'" year="'||yr||'" note="'||note||'" note1="'||note1||'" Paramform=no');     
vc_reportserverjob:=RUN_Report_Object(rep_id);
vjob_id:=substr(vc_reportserverjob,length(vc_reportserver)+2,length(vc_reportserverjob));
vc_rep_status :=REPORT_OBJECT_STATUS(vc_reportserverjob);
when i have seen from reportserver trace file
found this error
[2005/5/9 10:39:5] Info 50132 (JobObject:reset): Get command line: REPORT=C:\Makess\Hrpay\Reports\sal_reg_dept.rdf USERID=HRPAY BATCH=YES DESTYPE=file DESNAME=C:\file\file1.txt DESFORMAT=TEXT comp_code="01" catg="C001" dept="" emp_code="" locat="D001" month="05" year="2005" note="" note1="" Paramform=no AUTHID=ANONYMOUS
[2005/5/9 10:39:5] Debug 50103 (JobManager:findDuplicatedJob): Found no duplicated job for job 686
[2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Reserved
[2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
[2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Idle
[2005/5/9 10:39:5] Debug 50103 (JobManager:runJobInEngine): Send job 686 to engine rwEng-0
[2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
[2005/5/9 10:39:5] State 56016 (JobManager:updateJobStatus): Job 686 status is: Terminated with error:
REP-1804: Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
[2005/5/9 10:39:5] Debug 50103 (JobManager:updateJobStatus): Notify master job 686
[2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready
[2005/5/9 10:39:5] Exception 1804 (): Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
exception oracle.reports.RWException {
oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
int errorCode=1804,
java.lang.String errorString="Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
java.lang.String moduleName="REP"
pls state me why it is asking printer and where to pass

Similar Messages

  • Call first report in another report and download the ouput of first report

    Hi Experts ,
    Ther is 1 ALV Report which gives ouput.
    i need to call first report in second report and copy the output of first report to itab in second report and download that itab to excel in second report.
    Pls if anybody knows the solution reply as soon as possible.
    regards,
    Imran

    Moderator message - Cross post locked
    Rob

  • Running report and get the report result with coding

    Hi all,
    In our R/3 system, there is a custom sales report.
    My question is: is there possibility to get data by running this report and grab it the result with code and store it in internal table?
    Sorry if my question too basic because I am not abaper
    I am just wondering to find new solution for my project.
    Regards,
    Steph

    My requirement is: I want to get the result from this report
    (rather than try to get the data from SAP original table, because this report is very complicated with a lot of selection data) and use it this result into my new program.
    The mechanism that I want is pull the result from the current report, not to add some code in current report to push into new program, to avoid changed the report.
    Btw, the output of this report not only the excel file, we can also run this report on foreground mode and see the result.
    The report is not ALV report.
    Regards,
    Steph

  • Schedule report and download generated PDF issue

    Hi,
    I am trying to run a rpt file, which is stored on CR server, on the CR server 2008, the generated pdf to be stored in inbox, and the pdf will be retrieved using IPDF class and inputstream. Ideally, whole process is running within one session using enterprise SDK. <br>
    I am be able to run the rpt file by using schedule mechanism. Setting scheduleInfo to run it RightNow. I can access the generated PDF right after my program schedule(run) the rpt file without any problem. The PDF exists in both inbox and instance manager (as child of rpt file). <br>
    Here comes the problem. When my program uses enterprise SDK to query file list in inbox immediately after schedule() call, the query returns no files. <br>
    Furthermore, I then tried to inspect the instance of generated PDF file by query all PDF instances. I tried to print out the instance name by using <br>
                   IPDF content = (IPDF)instanceObject;<br>
                   System.out.println(((IFile)content.getFiles().get(0)).getName());<br>
    , and realized that the generated file name is actually the rpt file!! which is really confusing (as I explicitly set query to be SI_KIND = 'Pdf'). <br>
    To conclude my issue, after I schedule the rpt file to run now, I am able to view the generated pdf on CMC. The pdf (as it displayed in CMC) stored in inbox, and as an instance of the rpt file. However, I cannot retrieve PDF from enterprise SDK. I can retrieve the content of instance, but it's clearly not the pdf file I expected. <br>
    I also tried to logoff session after I schedule the rpt, and re-login to retrieve pdf, and tried to explicitly commit() after schedule(). Both methods doesn't solve the problem. Any suggestion on what might happens or something I might have missing? Thanks in advance.<br>
    p.s. I think it may be helpful if I give out the whole process flow as follow:<br>
    1. log on the CR server, obtain session<br>
    2. retrieve the rpt file.<br>
    3. set schedule time (right now), format(pdf), destination(inbox), and parameter<br>
    4. make schedule call: schedule(IInfoObjects).<br>
    first option:<br>
    5. query file list in inbox (SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND = 'Inbox')<br>
    6. retrieve file from file list and store the data into arraylist by using file's inputstream IPDF.getInputstream<br>
    7 close all resources<br>
    Outcome: no file in inbox (I can view pdf on CMC though)<br>
    second option:<br>
    5. query pdf instances belong to rpt file (FROM CI_INFOOBJECTS WHERE SI_PARENTID ="+ <br>report.getID() +" and SI_INSTANCE=1 and SI_KIND='Pdf'")<br>
    6. retrieve file from instance list and store data into arraylist by using file's inputstream.<br>
    7 close all resources<br>
    Outcome: the instance is actually the rpt file rather than generated pdf. <br>
    mlie<br>
    Edited by: mlie on May 11, 2009 11:16 AM

    Hi Praveen, <br>
    Thanks for reply. <br>
    It's my bad not showing all of my code. The whole piece of code is <br>
         String inboxQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND = 'Inbox'";<br>
              IInfoObjects ceInboxs = getDocument(ceInfoStore,inboxQuery);<br>
              IInfoObject ceInbox = (IInfoObject)ceInboxs.get(0);<br>
              <br>
              inboxQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PARENTID = " + ceInbox.getID();<br>
              <br>
              ceInboxs = (IInfoObjects)ceInfoStore.query(inboxQuery);<br>
    I believe I don't need to include owner name because SDK will determine which inbox to retrieve automatically according to the user who login to CR server. <br>
    However, to try all the possibility, I still appended the user id at the end of query, and still no luck. <br>
    I am wondering if its got something to do with timing. Please advice. Thank you <br>
    mlie

  • Report in which i have to run bdc and do changes

    Hi ABAP Gurus,
                          my requirement is i have to develop report in which i need to have 2 radiobuttons if i select first radiobutton my program should run Report and if i select second radiobutton it should run va02 and make some changes (i.e, it should change delivery quantity is equal to orderquantity.
    i wrote program to display the report but what i want is now i have to do recording in va02 tr.code and write the logic in my developed program.and below is my program .
    TYPE-POOLS : slis.
    TABLES : vbak,vbap.
    TYPES : BEGIN OF t_vbak,
            vbeln TYPE vbak-vbeln,
            audat TYPE vbak-audat,
            vbtyp TYPE vbak-vbtyp,
            END OF t_vbak.
    TYPES : BEGIN OF t_vbap,
            vbeln TYPE vbap-vbeln,
            posnr TYPE vbap-posnr,
            arktx TYPE vbap-arktx,
            kwmeng TYPE vbap-kwmeng,
            lsmeng TYPE vbap-lsmeng,
            END OF t_vbap .
    DATA : BEGIN OF it_final OCCURS 0,
          vbeln LIKE zstru_final1-vbeln,
          posnr LIKE zstru_final1-posnr,
          audat LIKE zstru_final1-audat,
          vbtyp LIKE zstru_final1-vbtyp,
          arktx LIKE zstru_final1-arktx,
          kwmeng LIKE zstru_final1-kwmeng,
          lsmeng LIKE zstru_final1-lsmeng,
          bal LIKE zstru_final1-bal,
          END OF it_final.
    DATA : it_vbak TYPE TABLE OF t_vbak,
           wa_vbak TYPE t_vbak,
           it_vbap TYPE TABLE OF t_vbap,
           wa_vbap TYPE t_vbap.
    DATA : it_fieldcat   TYPE  slis_t_fieldcat_alv,
           ls_fieldcat   TYPE  slis_fieldcat_alv,
           ls_repid TYPE sy-repid,
           gs_layout   TYPE lvc_s_layo,
           l_variant   TYPE  disvariant.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln,
                    s_audat FOR vbak-audat,
                    s_vbtyp FOR vbak-vbtyp.
    SELECTION-SCREEN : END OF BLOCK b1.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:      rb1 TYPE c RADIOBUTTON GROUP g1,
                     rb2 TYPE c RADIOBUTTON GROUP g1.
    SELECTION-SCREEN : END OF BLOCK b2.
    START-OF-SELECTION.
      ls_repid = sy-repid.
      SELECT vbeln audat vbtyp FROM vbak INTO TABLE it_vbak
                                        WHERE vbeln IN s_vbeln
                                        AND   audat IN s_audat
                                        AND   vbtyp IN s_vbtyp.
      IF it_vbak[] IS NOT INITIAL.
        SELECT vbeln posnr arktx kwmeng lsmeng FROM vbap
            INTO TABLE it_vbap  FOR ALL ENTRIES IN it_vbak
                                    WHERE vbeln EQ it_vbak-vbeln.
      ENDIF.
      LOOP AT it_vbap INTO wa_vbap.
        it_final-posnr = wa_vbap-posnr.
        it_final-arktx = wa_vbap-arktx.
        it_final-kwmeng = wa_vbap-kwmeng.
        it_final-lsmeng = wa_vbap-lsmeng.
        it_final-bal = wa_vbap-kwmeng - wa_vbap-lsmeng.
        READ TABLE it_vbak INTO wa_vbak
                       WITH KEY vbeln = wa_vbap-vbeln.
        IF sy-subrc IS INITIAL.
          it_final-vbeln = wa_vbak-vbeln.
          it_final-audat = wa_vbak-audat.
          it_final-vbtyp = wa_vbak-vbtyp.
        ENDIF.
        COLLECT it_final.
      ENDLOOP.
      IF rb1 = 'X'.
        CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
          EXPORTING
            i_program_name         = ls_repid
            i_internal_tabname     = 'IT_FINAL'
            i_inclname             = ls_repid
          CHANGING
            ct_fieldcat            = it_fieldcat
          EXCEPTIONS
            inconsistent_interface = 1
            program_error          = 2
            OTHERS                 = 3.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = ls_repid
            it_fieldcat        = it_fieldcat
          TABLES
            t_outtab           = it_final
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.
      ENDIF.
      please help me out .
    thanks in advance.

    hi,
    Please find code :
    REPORT zag_va02
           NO STANDARD PAGE HEADING LINE-SIZE 255.
           TABLES : vbak,vbap.
    DATA:BEGIN OF t_vbak OCCURS 0.
            INCLUDE STRUCTURE vbak.
    DATA:END OF t_vbak.
    DATA:BEGIN OF t_vbkd OCCURS 0.
            INCLUDE STRUCTURE vbkd.
    DATA:END OF t_vbkd.
    DATA:   bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    tYPES : BEGIN OF t_vbak,
    vbeln TYPE vbak-vbeln,
    audat TYPE vbak-audat,
    vbtyp TYPE vbak-vbtyp,
    END OF t_vbak.
    TYPES : BEGIN OF t_vbap,
    vbeln TYPE vbap-vbeln,
    posnr TYPE vbap-posnr,
    arktx TYPE vbap-arktx,
    kwmeng TYPE vbap-kwmeng,
    lsmeng TYPE vbap-lsmeng,
    END OF t_vbap .
    DATA : BEGIN OF it_final OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    audat LIKE vbak-audat,
    vbtyp LIKE vbak-vbtyp,
    arktx LIKE vbap-arktx,
    kwmeng LIKE vbap-kwmeng,
    lsmeng LIKE vbap-lsmeng,
    *bal LIKE zstru_final1-bal,
    END OF it_final.
    DATA : it_vbak TYPE TABLE OF t_vbak,
    wa_vbak TYPE t_vbak,
    it_vbap TYPE TABLE OF t_vbap,
    wa_vbap TYPE t_vbap.
    *DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
    *ls_fieldcat TYPE slis_fieldcat_alv,
    *ls_repid TYPE sy-repid,
    *gs_layout TYPE lvc_s_layo,
    *l_variant TYPE disvariant.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln,
    s_audat FOR vbak-audat,
    s_vbtyp FOR vbak-vbtyp.
    SELECTION-SCREEN : END OF BLOCK b1.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: rb1 TYPE c RADIOBUTTON GROUP g1,
    rb2 TYPE c RADIOBUTTON GROUP g1.
    SELECTION-SCREEN : END OF BLOCK b2.
    START-OF-SELECTION.
    *ls_repid = sy-repid.
    SELECT vbeln audat vbtyp FROM vbak INTO TABLE it_vbak
    WHERE vbeln IN s_vbeln
    AND audat IN s_audat
    AND vbtyp IN s_vbtyp.
    IF it_vbak[] IS NOT INITIAL.
    SELECT vbeln posnr arktx kwmeng lsmeng FROM vbap
    INTO TABLE it_vbap FOR ALL ENTRIES IN it_vbak
    WHERE vbeln EQ it_vbak-vbeln.
    ENDIF.
    LOOP AT it_vbap INTO wa_vbap.
    it_final-posnr = wa_vbap-posnr.
    it_final-arktx = wa_vbap-arktx.
    it_final-kwmeng = wa_vbap-kwmeng.
    it_final-lsmeng = wa_vbap-lsmeng.
    *it_final-bal = wa_vbap-kwmeng - wa_vbap-lsmeng.
    READ TABLE it_vbak INTO wa_vbak
    WITH KEY vbeln = wa_vbap-vbeln.
    IF sy-subrc IS INITIAL.
    it_final-vbeln = wa_vbak-vbeln.
    it_final-audat = wa_vbak-audat.
    it_final-vbtyp = wa_vbak-vbtyp.
    ENDIF.
    COLLECT it_final.
    ENDLOOP.
    IF rb1 = 'X'.
    loop at it_final.
    PERFORM bdc_dynpro      USING 'SAPMV45A' '0102'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'VBAK-VBELN'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'VBAK-VBELN'
                                    it_final-vbeln.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=SICH'.
      PERFORM bdc_field       USING 'VBKD-BSTKD'
                                    'test ZDOR'.
      PERFORM bdc_field       USING 'KUAGV-KUNNR'
                                    '8000000303'.
      PERFORM bdc_field       USING 'KUWEV-KUNNR'
                                    '8000000303'.
      PERFORM bdc_field       USING 'RV45A-KETDAT'
                                    it_final-audat.
      PERFORM bdc_field       USING 'RV45A-KPRGBZ'
                                    'D'.
      PERFORM bdc_field       USING 'VBKD-PRSDT'
                                    it_final-audat.
      PERFORM bdc_field       USING 'VBKD-ZTERM'
                                    '0002'.
      PERFORM bdc_field       USING 'VBKD-INCO1'
                                    'FOB'.
      PERFORM bdc_field       USING 'VBKD-INCO2'
                                    'Mumbai'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RV45A-KWMENG(01)'.
      PERFORM bdc_field       USING 'RV45A-KWMENG(01)'
                                    '                  5'.
    PERFORM bdc_transaction USING 'VA02'.
    REFRESH MESSTAB.
        CALL TRANSACTION 'VA02' USING BDCDATA
                         MODE   'A'
                         UPDATE 'A'
                         MESSAGES INTO MESSTAB.
                         endloop.
    ENDIF.
    *&      Form  BDC_DYNPRO
          text
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
      IF fval <> ''.
        CLEAR bdcdata.
        bdcdata-fnam = fnam.
        bdcdata-fval = fval.
        APPEND bdcdata.
      ENDIF.
    ENDFORM.                    "BDC_FIELD
    here you cange your Kunnr and all field in recording perform in loop according to your req.
    Reward if ans .is use full
    Amit.
    Edited by: Amit Bansal on Jun 2, 2008 9:18 AM
    Edited by: Amit Bansal on Jun 2, 2008 9:19 AM

  • Wesite Login and navigate to reports page and pass parameters to the forms page and download file

    Hello,
    New to C# scripting in SSIS. Everyday I download data file from a website. I need to schedule a page to include a script to auto download from the website everyday by navigation to reports page and submenu for a particular report. After I click it opens
    a webpage where I need to select my criteria and download the file to a table. This is what so far I got
    Object mySSISConnection = Dts.Connections["websiteConnectionManager"].AcquireConnection(null);
    MessageBox.Show("Success")
    I got the success message. After login, I need to navigate to select reports and then from submenu select the everyday report and pass the input parameters to the webpage and download the file and export to a tables. Any help. Not much coding I know. Learning!!
    Any help really appreciate it.
    Thanks
    Jagan

    Whoever instructed you to so is not prudent, once the report definition changed the package will break.
    This is not the proper data interexchange.
    Here is though an example on how to generate a SSRS report and download as a file: http://sandeep-aparajit.blogspot.ca/2010/02/how-to-execute-and-save-ssrs-report.html
    And then to load the file into OLEDB destination http://www.daimto.com/ssis-lesson-2-first-package/
    Arthur
    MyBlog
    Twitter

  • Running Reports - Help

    Hi All,
    We currently have users running a large number of reports on an AIX unix server and was struggling for a long while with memory usage when using rwclient.sh... During peak hours we would be getting approx. 100 requests every 5 minutes.
    We have recently switch to call rwservlet to execute our reports, which has seems to resolve the memory issue. Since our reports are called through a Unix script, we have configured it to use wget to call the URL and run the reports.
    However, we are now getting errors when executing reports in the dead of night... when no users are on and there are no other requests for reports except from our batches. Looking at the log files wget returns (which is the actual web page), it's usually empty which leads me to think that it is related to a "500 Internal Server Error". It doesn't make sense as neither the report server or the application server is shutdown during the night. Also, these are not long running reports, and sometimes the fail in quick successions. The rwserver.log doesn't report the failure either, which could possibly mean that the request never got to the report server.
    I have searched every where but cannot seem to find anything that could help our situation.
    We are currently running OAS 9.0.4, and have configured to run 8 report engines.
    Can anyone suggest what we can do?
    Here's a typical line of what the request would look like
    wget -q "http://<server>:<port>/reports/rwservlet?SERVER=prod+authid=<authid>+userid=<userid>+report=<report_name>.rdf+DESTYPE=PRINTER+DESNAME=printerX+COPIES=1+<report_params>" -O -
    Thanks in advance

    Hi
    first of all enable tracing for report server by uncommenting the TRACE tag in report server configuration file found in OH/reports/conf.
    As your batch program is sending reprots to printer so make sure that in OH/reports/cache there is any output created or not during that period.
    Before sending to prrinter a copy will be saved in cache folder.
    The errors reported in server trace can guide for further progress.
    Thanks
    Subodh

  • Running Reports 10g on Apps Server

    We have a Windows 2003 apps server running Oracle Forms and Reports 10g.
    We are having a problem running reports in Oracle 10g, and believe it to be something to do with the configuration files. Currently, we can run the test report through Enterprise Manager using both the default reports service and the one that we have created. However we are unable to run our own reports through forms.
    To check that there was nothing wrong with our forms, we copied one of the reports into the …\forms10g\reports\samples\demo folder to see if we could run it through Enterprise Manager. However, we get the following error:
    Rep-110: Unable to open file ……
    Rep-1070: Error while opening or saving a document.
    Rep-0110: Unable to open file …...
    We then renamed the test.rdf file and tried to run that. Again we got the above message. Next we tried again to run test.rdf, even though this no longer existed, and the report ran. This implied that it isn't actually running the report, but has the report output stored somewhere, and it just displays this.
    No matter how we try to run reports, and with which reports service, we always get the above error.
    So why is it that no reports will run, not even the test one when it is renamed? Is there a configuration setting somewhere?

    Hi All,
    Hope YOu are fine.
    We have running Oracle Forms and Reports Services 10g on Windows 2000 Advanced Server.
    The Application Works fine, and reports are generated successfully.
    But when we access the same application by using either Linux OS (RHEL 4.0, Ubuntu 6),
    The forms works fine but Linux OS could not run the report.
    This seems to be a configuration problem.
    Any Clues.
    Thanks and Looking Forward.
    Aamer Javaid
    [email protected]

  • Long running reports end successfully - present s "page can not be found"

    Long running reports and browser timeouts - page can not be found"
    We are launching Oracle 9i Reports from a Portal 9ias (release 9.0.2.2) system. We are in production with about 100 users. It is not going well with respect to Report problems.
    We have the following problems:
    1) hanging reports,
    2) reports where parameter screens will not present due to large LOV on parameter screen,
    3) and the most aggravating problem is "Page can not be found" presented to user when in fact the report ran successfully and create a .pdf.
    We are at our wits end with Oracle Support and the Oracle Portal and Reports product.
    As I said, I am launching Oracle Reports 9i from a Portal 9.0.2.2 application. I have several long running reports that complete successfully but return to the user an error "Page can not be found". Meta-link Note: 189454.1 suggests a modification to ReceiveTimeout parameter in the pc registry. We set the ReceiveTimeout parameter to 7200000. This did not solve the problem. Users still receive "Page can not be found".
    Is there a report server side setting that we must set also ... or some other setting we should check?
    I need to solve this issue. Is there someone out there that can help? Are there other people having similar Oracle Reports issues? According to Oracle Support we are the only people with these issues. Are we?

    1) If you can reproduce the Reports Hanging issue consistently you can push Oracle Support to file a bug.
    2) I am not sure about this now, but again you can take this to Oracle Support and push for resolution.
    3) There are some problems with IE - Adobe integration. This is not a Reports bug. You can try
    (a) Switching off Adobe - web integration in Adobe Acrobat reader settings, so that Adobe will not automatically open pdf file in web. Instead a dialog will be shown as to which application to open the pdf file or save it to disk and user can save the file to disk and open.
    (b) Use IE latest version. (or some other browser like Netscape )
    [ You can roll back the ReceiveTimeout param change you made to see the impacts one at a time ]
    1) To confirm that this is a Adobe - IE pdf problem run the same report to htmlcss, rtf. If these come fine, then we can ascertain that this is Adobe - IE issue.
    2) Give http://host:port/reports/rwservlet/showjobs?server=server_name. You can see all the jobs and their jobids. For the concerned jobs you can click and see whether output is actually generated or not.
    Thanks
    The Oracle Reports Team
    The statements and opinions expressed here are my own and not that of my employer

  • ERROR WHILE RUNNING REPORT THROUGH FORMS.....!

    hi all,
    ive designed one form in Forms 9i...I'm tryin to run report through a Push button .....report is running well in paper layout through report builder 9i...The problem I'm facing is dat when i pressed button it is giving me error initially as FRM-41214 cannot run report and after that FRM-40735 When button pressed unhandled exception ora-06502.....What could go wrong??... Ive started OC4J instance ....created report object in object nevigator as well and defined basic properties for diff.parameters HTMLCSS,CACHE..etc.,mentioned report path in complete i.e.c:\reports\genbill.rdf ...Can anybody help me out ??? Thnx.!
    -----------------------CODE ON BUTTON----------------------------------
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT5');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('<HOSTNAME>:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=myrepserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • Running report from forms

    hi,
    I am having problems in running report from form.
    I am using oracle 9i on windows 2000 server and no 9iAS at the moment. On client side, i have windows xp and 9iDS installed. I want to run report from forms in 9iDS testing environment.
    my forms are running ok but now i need to run report. so what i have done is that i have created a report object in form and following are enteries present in it at the moment.
    Name REPORT7
    FileName D:\Projects\IBMR\forms\soil_water_quality_data.rdf
    Execution Mode Batch
    Communication Mode Synchronous
    Destination Type Cache
    Report Server 9irep
    and in when_button_pressed trigger
    DECLARE
    Report_Id REPORT_OBJECT;
    Report_Job_Id VARCHAR2(20);
    Report_Status VARCHAR2(80);
    Report_Svr VARCHAR2(20);
    BEGIN
    Report_Id := FIND_REPORT_OBJECT('REPORT7');
    Report_Svr := '9irep';
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '\projects\ibmr\forms\soil_water_quality_data.rdf');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'paramform=no');
    Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    END LOOP;
    IF Report_Status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(Report_job_id,instr(Report_Job_Id,'_',-1)+1)||'?'||'server=9irep','_blank');
    else
         message ('report server failed with error message '||report_status);
    END IF;
    END;
    i have installed report server with following command
    rwserver -install 9irep
    i have changed entry in rwservlet.properties like
    SINGLESIGNON=NO and i have removed the following entire block of 9irep.conf, which i have read from some documentation
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </security-->
    i get the following error message when i run my form
    frm-41214 Unable to run report
    and then next message is
    frm-41217 unable to get report job status
    i debugged the report id and it is
    9irep_0
    returned by Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    When I checked the Report Queue Manager
    it is showing status like
    (9irep)Terminated with error
    and detail it shows is
    Unable to connect to the specified database.
    Now I am wondering what to do next.
    any suggestions???????

    Hello,
    From your description, it seems like the report is faling due to a database authentication problem. When you run your report from Forms, Forms internally passes the its database connection information to Reports automatically. So ensure that you are connected to a valid database in Forms, before the report is called.
    Please verify whether a simple report which does not require a database connection, for example, a report containing only a boilerplate text object, is running correctly. Also, in the trigger code that you have specified, you should add the following:
    SET_REPORT_OBJECT_PROPERTY(Report_Id, REPORT_DESTYPE, CACHE);
    so that the report output gets generated to the server cache, and can be retrieved using rwservlet/getjobid.
    Thanks,
    The Oracle Reports Team.

  • OBIEE - How pause report and jobs - feed DW by ETL

    Hi Experts,
    I need to known, how can i block to run reports and existings jobs, during feeding my Data Warehouse by ETL.
    User could be schedule new job, but this job will be running after refresh data on DW.
    Thanks.
    Edited by: user9051847 on 2013-04-26 09:19

    Verify your repository design and make sure that you have defined count aggregate on fact column. You would also need to define the content level of each dimension in fact table.

  • NVision Report not generated with email option in the Run Report page

    Hi ,
    I want to send the nvision reports through email to the users, I tried it by setting the email option in the drop down of the "Type" after giving "Run Report" and then specifying the email ids. The issue is i am getting emails , but the report is not generated which otherwise generates, and hence no attachement is seen on the email .
    Anybody faced this issue ?? Please help
    Regards,
    Kanchana

    Hi again!
    You are absolutely right! I will mark as solved in 5 mins (can't do it now, thread to fresh it seems).
    thanks
    Manfred

  • REP-0108 when running report

    I have the report runtime installed and working, but when I try to run a report I get the REP-0108, "File not found" error. No matter which report I try to run it complains about the same file. The file it can't find is "rwbdexpq.res". What are the .RES files and why can't the runtime find it? If we do a developer installation we don't get this problem. Even after this error, the report still runs.

    The .res files are the resource files that you can change via Oracle Terminal to set key mappings.
    If a user is not finding the file when running a report, then find where they are in the ORACLE_HOME for the install where you can run reports, and then copy those files to the same directory on the PC's that cannot run the reports. I think the directory is something like ORACLE_HOME/report60/admin/resource/US, but a file find will tell you for sure.

  • Crytal Reports and Salesforce Error message

    I have the following applications loaded
    Java: Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    Crystal Reports: Crystal Reports 2008 12.0
    Driver: Salesforce Driver 3.0
    Everytime I try to connect crystal reports thru salesforce I get the following error message:
    Invalid argument provided, java server startup failure, verify the path (jdk), classpath,and IORfilelocation in the crconfig.xml file, In addition verify you are using JDK 1.5
    I have tried backing up the Crconfig.xml file, and then deleting it, then deleting any old drivers I had and loading the SFDC 3.0 Driver, that did not seem to work. I also have removed crystal reports and downloaded again, that didnt seem to work either. I have also searched this forum for similar issues to no avail
    Here is what the CRconfig.xml file looks like on my machine (note - I took out the product key code for security reasons)
    <?xml version="1.0" encoding="utf-8" ?>
    - <CrystalReportEngine-configuration>
      <reportlocation>../..</reportlocation>
      <timeout>10</timeout>
    - <ExternalFunctionLibraryClassNames>
      <classname />
      <classname />
      </ExternalFunctionLibraryClassNames>
      <keycode>keycode</keycode>
    - <Javaserver-configuration>
    - <DataDriverCommon>
      <JavaDir>C:\Program Files\Business Objects\javasdk\bin</JavaDir>
      <Classpath>C:\Program Files\Business Objects\Common\4.0\java/lib/crlovmanifest.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRLOVExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJDBCServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBXMLServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJavaBeansServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBXMLExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/log4j.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBSForceServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBSForceExternal.jar;$</Classpath>
      <IORFileLocation>$</IORFileLocation>
      <JavaServerTimeout>1800</JavaServerTimeout>
      <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
      <JVMMaxHeap>64000000</JVMMaxHeap>
      <JVMMinHeap>32000000</JVMMinHeap>
      <NumberOfThreads>100</NumberOfThreads>
      </DataDriverCommon>
    - <JDBC>
      <CacheRowSetSize>100</CacheRowSetSize>
      <JDBCURL />
      <JDBCClassName />
      <JDBCUserName />
      <JNDIURL />
      <JNDIConnectionFactory />
      <JNDIInitContext>/</JNDIInitContext>
      <JNDIUserName>weblogic</JNDIUserName>
    - <GenericJDBCDriver>
    - <Default>
      <ServerType>UNKNOWN</ServerType>
      <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
      <StoredProcType>Standard</StoredProcType>
      <LogonStyle>Standard</LogonStyle>
      </Default>
    - <Sybase>
      <ServerType>SYBASE</ServerType>
      <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
      <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
      <StoredProcType>Standard</StoredProcType>
      <LogonStyle>MySQL</LogonStyle>
      </Sybase>
      </GenericJDBCDriver>
      </JDBC>
    - <XML>
      <CacheRowSetSize>100</CacheRowSetSize>
      <PreReadNBytes>4096</PreReadNBytes>
      <MaxCacheXMLSize>153600</MaxCacheXMLSize>
      <XMLLocalURL />
      <SchemaLocalURL />
      <XMLHttpURL />
      <SchemaHttpURL />
      <RepositoryPath>C:\Program Files\Business Objects\Common\4.0\java/lib/external</RepositoryPath>
      <ExternalNamespace>C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl.xsd;C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl_encoding.xsd</ExternalNamespace>
      <SocketTimeout>60000</SocketTimeout>
      </XML>
    - <JavaBeans>
      <CacheRowSetSize>100</CacheRowSetSize>
      <JavaBeansClassPath />
      <CallBackFunction>CrystalReportsLogoff</CallBackFunction>
      </JavaBeans>
    - <SForce>
      <CacheRowSetSize>100</CacheRowSetSize>
      <QueryBatchSize>2000</QueryBatchSize>
      <SocketTimeout>600000</SocketTimeout>
      <UseProxy>FALSE</UseProxy>
      <ProxyAddress />
      <ProxyPort />
      <BatchLookupCacheJoinSize>200</BatchLookupCacheJoinSize>
      </SForce>
      </Javaserver-configuration>
      </CrystalReportEngine-configuration>
    Any help would be greatly appreciated!

    See if someone in the Java Development forum will be able to help or redirect to the correct forum. Link to the Java Development forum:
    SAP Crystal Reports, version for Eclipse
    Ludek

Maybe you are looking for

  • How can i get rid of Lion? and reload 10.6?

    My previous MBP's screen stopped working, and would be prohibitively expensive to repair. So i upgraded to a mid 2010 model 17"MBP, which i bought from Apple as a refurb -because it didn't have Lion on it , thus, my Adobe software and several other p

  • Desktop Manager Sync Isuue

    I am a noob here and with RIM. I was not receiving emails, so I saved the info in DM and went to tmo store. We did a HH wipe. (I have a tmo 8120, new) I then started receiving me emails. So I went home and went to download my saved info on my DM..BOO

  • How to fit all browsers and monitor sizes?

    Hi there. Wondering if there is a code that I can paste on a snippet, that would allows the size of the site (margins and background image) to fit to all sizes of different browsers/ different monitors? Thanks!

  • What is a bilevel image ?

    Hello, I'm trying to create a tiff image using the CCITT T.6 bilevel compression, but the codec needs a bilevel image and I don't know what it is and how to create one. Can somebody help me ? Thanks in advance, Olivier

  • Unable to download os x

    I click on install app.  I get the little pinwheel and nothing happens.  no messages.  nothing.