Appending notes to report

hi all
I am in customizing the teststand using C#. I want to add some notes at the end of report.
Where  can i do that.
i have tried to append the notes in
axExecutionViewMgr_DisplayReport event like the bellow
void axExecutionViewMgr_DisplayReport(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ExecutionViewMgrEvents_DisplayReportEvent e)
e.exec.Report.Append("<h1>Hi this is for test\n<h1>");
but the ReportView shows me an error
Unable to load the XML Report.
At line 1416 Invalid at the top level of the document.
I think i have changed the html format..
In what format i have to append the string ie. now i have given the format as html <h1> string<h1>
or xml??
Thanks and Regards,
srini

Hi Srini,
The easiest way to add text to the end of your report is by using the ModifyReportFooter callback. To do this, navigate to Edit >> Sequence File Callbacks and Add the ModifyReportFooter sequence to your sequence file. Now select ModifyReportFooter from the View ring at the top of your sequence window.
One of the parameters passed to the ModifyReportFooter sequences is called ReportFooter.
This is just a string value that is defined by the process model being
used. You can use any of the string functions on this ReportFooter
parameter to concatenate, replace, remove, and generally modify the
text at the end of your reports. For example, you could use a statement
step in the ModifyReportFooter callback along the lines of:
ReportFooter += "<h1>Hi this is for test\n<h1>"
and you would see that appended to the bottom of any report that was
created from the current sequence. This is the easiest and preferred
method of adding some notes at the end of the report.
Hope this helps Srini, let me know if you have any other questions.
Dan Weiland

Similar Messages

  • ColHdrStri​ng property of Multi-Colu​mn lisbox - Append Table to Report.vi not working - solution.

    Solved an interesting problem today.  Rather than stash somewhere on the laptop I'll post
    here in hopes of being able to find it again next year   Maybe save someone else some time, too.
    Application with several similar multi-column listboxes, each of which has to be printed in a standard
    report.  Put each mc box on a tab, wire references array to a for loop in the print .vi.  Print function
    uses the ColHdrString property node to pull out the column headers to send to Append Table to Report.vi.
    First 4 tables print properly, last 2 have no column headers.  Property node is retrieving all correctly, no
    errors propogated.
    Turns out that the last 2 tables were copied from one of the first 4 but required fewer columns.
    Unneeded columns were deleted.  Apparently deleted columns, however, have their header
    blanked, not deleted.  ColHdrString property node was returning empty strings for the unused
    columns and Append Table to Report.vi was internally generating errors but not passing them
    out.  Tables printed properly other than missing headers.
    Solution was to delete and replace tables.  Everything works fine now.
    Matt

    Easier than replacing the table is to use property nodes to retrieve the corrupt header list,
    delete from array to correct it, and a property node to put it back.  Once a table is corrected
    it stays corrected so this snippet can be deleted after running once.
    Matt

  • Printing Infinite # of Columns in Append Table to Report

    I am in need of a bit of help here in regards to dealing with the Append Table to Report.vi
    With this VI I can print up to a certain # of columns before the VI starts to wrap columns (& subsequent data under each column) downward in vertical manner.
    I am looking for a way to do the following:
    1) center the text in all columns
    2) set a pre-set # of columns per page, and then print the remaining columns to a separate page thereafter
    3) avoid column header & data from being folded beneath to the subsequent row
    See the attached code and print-outs.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Example Test Report.vi ‏36 KB
    Too many columns!.pdf ‏12 KB

    Using the "Append Table to Report" VI, you can't specify center alignment, through if you enable gridlines, it makes the tables more readable.  If you were to generate an Excel report, you would have more control and be able to specify cell alignment.
    In the Report Generation Toolkit, using Standard Report, there is no way to get or automatically print the page number.  You can do it manually by keeping track of how many pages have been printed if your using the "New Report Page" VI.  
    Using the VI script you posted, I modified it to illustrate how to selectively add columns to the report.  Its usually not standard practice for us to write code for customers, but this example seemed good for the Community Example Page (http://www.ni.com/code/), and with your permission I'd like to post it there as well.
    Product Support Engineer
    National Instruments
    Attachments:
    Example_Test_Report_Done.vi ‏43 KB

  • Credit note comparison report

    hi friends , iam new sap/reports got a assigment
        credit note compare report i have to display
        mblnr,matnr.charg,menge ,vbeln,fkdat,matnr,charg,batch.
        till menge its from mseg and rest from vbrk and vbrp.
        to display all records for line itmes also .
        i selected all the fields from mseg one itab and distinct vbeln in one itab
        and all the vrecords from vbrp.
        my report had now is verrrrrrrrrrrrrry slow .
        pls help me with code.
    SELECT   mkpf~bldat
               mseg~werks
               mseg~mblnr
               mseg~matnr
               mseg~charg
               mseg~menge
               INTO CORRESPONDING FIELDS OF TABLE imseg
               FROM mkpf
               INNER JOIN mseg
               ON  msegmblnr = mkpfmblnr
                   WHERE mkpf~bldat IN s_bldat
                   AND   mseg~werks IN s_werks
                   AND   mseg~mblnr IN s_mblnr
                   AND   mseg~bwart = '972'.
      SELECT DISTINCT vbeln
                      fkdat
                      FROM vbrk INTO CORRESPONDING FIELDS OF TABLE icnot.
      SELECT vbrp~vbeln
             vbrp~matnr
             vbrp~charg
             vbrp~fkimg
             FROM vbrp INTO TABLE icnq.
    LOOP AT icnot.
        CLEAR icno.
        icno-vbeln = icnot-vbeln.
        icno-fkdat = icnot-fkdat.
        READ TABLE icnq WITH KEY vbeln = icno-vbeln.
        IF sy-subrc = 0.
          icno-matnr = icnq-matnr.
          icno-charg = icnq-charg.
          icno-fkimg = icnq-fkimg.
        ENDIF. "if sy-subrc
        APPEND icno.
      ENDLOOP." LOOP AT icnot

    Hi Farukh,
    Check the time consumed by each query first in debug mode. 
    If you find that the first one is consume most of processing time (which i assume to be) then try to use exsitng <b>view on both "WB2_V_MKPF_MSEG2"</b> instead of writing your own inner join on MSEG and MKPF .
    Also try to avoid using the clause INTO CORRESPONDING FIELDS OF internal table.
    these two shall enhance the performance considerably,
    Lakshmi

  • Can not print report directly to printer.

    Hi,
    We are using Crystal Report Server for reporting in our project.
    The version we are using is Crystal Report Server XI R2 and Crystal Report Server XI R2 SP 2.
    Please kindly advice us on the following issues we faced:
    - Can not print report directly to printer.
      The print button on the Crystal Report Viewer prints the report to pdf and user have to click "Print" again in the pdf file. This is unusual and not convenient. As we have hundreds of reports to print, is there a way we can print the reporrt directly to printer?
    - "Set to Null"
      In the default interface of the Crystal Report View, there's is this "set to null" check box that we can not remove. Is there a way to do without it?
    Thank you,
    Kenny Tew

    Morning Kenny,
    The printer settings are in server management console. Additionally see what settings you have setup for the printer for the report in the server. If it is setup to use End User printer then check your End user machine settings and make sure the printer is setup as a default printer on his/her machine.
    Please let us know how you get along with the issue.
    As far as "Set to Null" I am not sure where it is set up. A screenshot of it might help understanding it better?
    Many thanks
    Regards
    Jehanzeb
    Edited by: Jehanzeb Navid on Oct 6, 2008 11:07 AM
    Is this issue on all computers or only one computer?
    I have just tested this on my colleague machine and it asks for default printer and not pdf however on mine I setup for pdf.

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • URGENT : FRM-41219 Can not find report : INVALID ID

    hello all
    The same problem i have also posted in forms forum..
    i am getting the exception FRM-41219 when calling the report from my form with the method RUN_REPORT_OBJECT.
    I m calling the report in my program unit method as follows :
    DECLARE
    Pl_Id ParameterList;
    RepId REPORT_OBJECT;
    Vrep Varchar2(1000);
    BEGIN
    add_parameter(pl_id,'report_parameter',text_parameter,record_block.input_box);
    RepId := find_repor_object('report_name');
    Vrep := RUN_REPORT_OBJECT(RepId,Pl_Id);
    END;
    But when i run the fmx .. i get the exception "FRM-41219 can not find report :Invalid ID"
    I have checked all possiblities i.e. i have also called the method as RUN_REPORT_OBJECT(RepId) and also RUN_REPORT_OBJECT(ReportName)..but in all cases i am getting the same error..i have also checked the environment variable ..it contains the correct path of my application folder where the report is available.
    Kindly help me with this
    if any body knows the solution..or the cause for it..please let me know here or contact me on this address
    [email protected]
    thank you.

    Try this:
    DECLARE
    Report_Id report_object;
    v_rep varchar2(200);
    rep_status varchar2(20);
    BEGIN
    report_id:=FIND_REPORT_OBJECT('EMP');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,:REPORT_NAME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,:REPORT_DESFORMAT);
    if :REPORT_DESTYPE='CACHE' then
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    elsif :REPORT_DESTYPE='FILE' then
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    end if
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:REPORT_DESNAME);
    v_rep := RUN_REPORT_OBJECT(report_id);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if rep_status = 'FINISHED' then
    message('Report Completed');
    else
    message('Error when running report.');
    end if;
    END;
    Thanks
    Rohit

  • SQL Report Viewer Web Part Not displaying Report

    I have just completed updating an old report using report builder 3.0. I have added it to SharePoint Designer but have not replaced the old report file. 
    Any help is greatly appreciated!!
    All I did was export the old report from sharepoint designer to my desktop. Then opened it with Report Builder 3.0- made changes to the report and saved it with a different name (for safety in case i break things) and then upload it back to the same place where
    the old report was located using SP Designer. I then went back to the site in sharepoint that is displaying the old report, and changed the URL path in the SQL report viewer to the new report. 
    Now the SQL Report Viewer web part isn't showing anything (blank)

    Dear Form Moderator,
    This question is already asked in sharepoint forum so please don't move this sharepoint forum. Here is link of thread:
    https://social.technet.microsoft.com/Forums/en-US/3796da85-fbb4-4722-a5d0-724859f7d4ae/sql-report-viewer-web-part-not-displaying-report?forum=sharepointgeneralprevious
    Here is the one more duplicate thread link in same forum. So either you can merge both OR delete one.
    https://social.technet.microsoft.com/Forums/en-US/259d2586-ed4a-4f47-a808-877d4621d9f2/report-builder-30-sql-report-viewer-web-part-not-displaying-report-in-sharepoint?forum=sqlreportingservices
    [SharePoint Forum Moderator]
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Error: Could not read reports properties.  java.lang.NullPointerException

    Hi All,
    I am facing Could not read reports properties. java.lang.NullPointerException while trying to run the report using below string
    String:_
    /rcrmap2/weblogic/bea/ORA_PFRD/bin/rwrun module=/rcrmkr1/exe_dir/CA_PG1_T.rdf CUSTGRPID=''001139'' CANO=104 CACOPY=''F'' OPTION=''W'' CCODE=''KR'' USERID=apl_D_RCRMNIU3/Q5e3C4l1FPjrG6epG6f3C4dqFMgsDP@krcrmd DESTYPE=FILE DESNAME=/rcrmkr1/crms_RG/rep_dir/gcapg1_to_test_20110112_121902.rep BATCH=YES MODE=CHARACTER DESFORMAT=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/wide.prt pagesize=132x80
    Environment Variables :*
    export ORACLE_LOCALPREFERENCE=/rcrmap2/weblogic/bea/rcrms/config/FRComponent/frcommon/tools/admin/
    export WIDE_DEF=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/hplwide.prt
    export WIDE_VIW=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/wide.prt
    export REPORTS_FONT_DIRECTORY=/rcrmap2/weblogic/bea/rcrms/reports/fonts
    export REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
    export REPORTS_NO_DUMMY_PRINTER=TRUE
    export REPORTS_TMP=/tmp
    export RW=/rcrmap2/weblogic/bea/ORA_PFRD/reports
    export LD_LIBRARY_PATH=/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64/classic:/rcrmap2/weblogic/bea/ORA_PFRD/lib:/usr/dt/lib:
    export LIBPATH=/rcrmap2/weblogic/bea/ORA_PFRD/lib:/usr/dt/lib:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64/classic:/usr/lpp/cobol/lib:/oracle/oracle/11.1.0.7/lib:/oracle/oracle/11.1.0.7/lib32:/rcrmkr1/exe_dir/pvcs_12july/pco:.
    export LDR_CNTRL=USERREGS@MAXDATA=0x80000000
    export TK_ICON=/rcrmap2/weblogic/bea/ORA_PFRD/reports/plugins/resource
    export REPORTS_DEFAULT_DISPLAY=NO
    export REPORTS_CLASSPATH=/rcrmkr1/exe_dir:/rcrmap2/weblogic/bea/ORA_PFRD/reports/jlib/rwbuilder.jar:/rcrmap2/weblogic/bea/ORA_PFRD/reports/jlib/rwrun.jar:/rcrmap2/weblogic/bea/ORA_PFRD/jlib/zrclient.jar:/rcrmap2/weblogic/bea/ORA_PFRD/modules/oracle.jsp_11.1.1/ojsp.jar:/rcrmap2/weblogic/bea/ORA_PFRD/javacache/lib/cache.jar:/rcrmap2/weblogic/bea/ORA_PFRD/modules/oracle.javacache_11.1.1/cache.jar
    Please help to provide your inputs
    Regards,
    Harish

    Hi,
    The problem was resolved by setting proper acl's to the corresponding directories (cache directory) in the application server
    Regards,
    Harish

  • Finder is not correctly reporting available disk space

    finder is not correctly reporting available disk space
    my drive is 50% full but finder shows there is only @ 35% left
    the difference is more than anything needed by the system
    any ideas on what is causing the problem?

    Try this:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger, and 4.1 for Leopard) and/or TechTool Pro (4.6.1 for Leopard) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Could not initialize Report Engine server. (Error: RWI 00226)

    Hi All,
    I am trying to export a webi report from a Java application. When I connect to XI R3.1 report server, it is throwing me the following error. The error is at the line
    DocumentInstance boDocumentInstance = boReportEngine.openDocument(infoObject.getID());
    I amable to connect to the BO server and get the list of reports but when I try to open the document after getting the service(boReportEngines.getService(...), no error at this point), it is throwing the following error. I tried to restart the report server and the CMS server, but it is still giving this error. Any pointer is appreciated.
    The Report Export Failed!com.businessobjects.rebean.wi.CommunicationException: Could not initialize Report Engine server. (Error: RWI 00226)
         at com.businessobjects.rebean.wi.occa.OccaConnection.doConnect(OccaConnection.java:243)
         at com.businessobjects.rebean.wi.occa.OccaConnection.<init>(OccaConnection.java:67)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.createCadenzaSession(OccaReportEngineComAdapter.java:322)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.initNewCadenzaSession(OccaReportEngineComAdapter.java:410)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.openDocument(OccaReportEngineComAdapter.java:152)
         at com.businessobjects.rebean.wi.ReportEngineImpl.openDocument(ReportEngineImpl.java:391)
         at com.businessobjects.rebean.wi.occa.WebiReportEngine.openDocument(WebiReportEngine.java:191)
         at com.infostep.ext.step.BOReportNode.openBOWebiReport(BOReportNode.java:307)
         at com.infostep.ext.step.BOReportNode.openBOReport(BOReportNode.java:860)
         at com.infostep.ext.step.BOReportTestNodeEditor$6.doCallback(BOReportTestNodeEditor.java:519)
         at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:248)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server BOCOE.WebIntelligenceProcessingServer
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
    detail:Communication error occurred when trying to connect to server BOCOE.WebIntelligenceProcessingServer
    The exception originally thrown was com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
         at com.crystaldecisions.enterprise.ocaframework.e.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)
         at com.businessobjects.rebean.wi.occa.OccaConnection$CDZStubHelper.getService(OccaConnection.java:291)
         at com.crystaldecisions.enterprise.ocaframework.e.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)
         at com.businessobjects.rebean.wi.occa.OccaConnection.doConnect(OccaConnection.java:121)
         ... 11 more
    Caused by: com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
         at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.WICDZServer.CDZHomeHelper.narrow(CDZHomeHelper.java:109)
         at com.businessobjects.rebean.wi.occa.OccaConnection$HomeStubHelper.narrow(OccaConnection.java:359)
         ... 25 more
    Thanks,
    Sulagna

    Hi,
    Did you find a solution to this issue? I am having exacty the same problem and I can't find a solution for this.
    Thanks
    J. Russell

  • GR with backflush not for reporting point logic with autom. GR option

    Dear Experts,
    While doing backflashing though MFBF we are getting following error
    "GR with backflush not for reporting point logic with autom. GR option"
    We have maintained 5 production version for this material while calling with first production version we are getting the error.
    Rate routing & BOM maintanied for the FERT material
    Thanks

    Did you check the BackFlash option are actuvated in the following places ?
    1. In the Rate routing, the backflush indicator is set in the component assignment.-CA22
    2. In the material master record, the backflush indicator has the characteristic "Always backflush".-MRP3
    3. In the material master record, the backflush indicator has the characteristic "Work center decides", the indicator being set in the work center.-CR21-Basic Data View .
    4.Goto-MM02-MRP4 View -Select the PV-Goto Details -Check particularly this production version REM Allowed or not
    5.You should use REM-Profile -0004/0003  where RP and Auto GR with RP at last Back Flashing Activated .
    6.Check Rate Routing Operation Control Key -Auto GR  with indicator Confirmation required
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:19 AM

  • Rqmt to create a PG with lots of fixed and some variable text, not a report

    Hi, I have a requirement where I have to create a custom page which has lots of long lines of text(fixed) in paragraphs, with in between some data which needs to be populated from database tables. It is not a report but a custom page that is needed. I am new to OA Framework, so I was having trouble identifying which region styles or items to use, and how to proceed with it. Could anyone please help me out.

    user645399 wrote:
    Thank You so much for the valuable feedback.
    My agency requires some reports to be generated at a certain interval, after a certain type of batch load. A few different types of reports will be generated and usually we have scripts which we run to generate the necessary tables and extract the reports from there. We retain the tables for verification purpose as it stores some valuable status of some customers and so on, which we will not be able to generate again easily. The table will have around 50,000 - 100,000 records averagely. Sometimes more.
    I am automating the process now as per client's request.
    So, I thought of using the same script to automate it in the web. For table name we usually changed them manually.
    Now, when the user runs, he or she have to give them table name/ report name.
    I thought of concatinating the sysdate and report name but what if there is a problem and the user runs it for a second time?
    Unless I have a separate part of the coding to take care of this issue.
    Please advice if there is an alternative.
    Thank You Very Much.
    Cheers!
    NithyaSo why is it necessary to create a table just to create a report?
    You really, really need to rethink this entire process from the beginning, not just try to shoehorn in something from a current, astoundingly bad, design.

  • Could not read reports properties

    I am compiling reports with 11.1.1.3.0 on Solaris and keep getting the message: "Could not read reports properties". The RDFs do get to converted to REP files, so it appears to be just a warning message.
    The error appears to be a file privilege issue since if I use the oracle account the message goes away, but if I use my personal account I get the message.
    So what is the name of the file it is looking for? I had assumed prefs.ora; but I have already granted my personal account access to all of them.
    Thanks

    I will tell you that I had several errors when I migrated to 11g last month, the solution for all of my problems was upgrade to:
    Forms & Reports 11.1.1.4 and weblogic 10.3.4.
    its not difficult, it takes me 70 minutes to do it. after you do upgrade I bet you wont have this problem.
    cheers.

  • FRM 41215: CAN NOT FIND REPORT - Please help

    Hi,
    I am new to oracle 9i. I am trying to convert the forms in 8i to 9i. While i am doing i have many forms calling reports thru run_product. Now i am changing those into run_report_object. Even though i am getting errors like FRM 41215: CAN NOT FIND REPORT , INVALID REPORT ID.
    declare
    repid report_object;
    v_rep varchar2(100);
    begin
    repid := find_report_object('mrnr0028');
    v_rep := RUN_REPORT_OBJECT(repid);
    end;
    This is the command i have used. Is there anything wrong, or is there any necessity to specify any particular path for report files.
    Pls help me asap.
    Thanks

    I HAVE CREATE THIS PROGRAM UNIT(WITH LOT OF HARD WORK) FOR CHARACTRE AS WELL AS DEFAULT REPORT
    RUNING ON WEB
    -----------------FOR CHARACTER REPORT
    procedure web_report_c ( type varchar2,parameter varchar2) is
    report_id Report_Object;
    report_job_id VARCHAR2(100);
    report_status varchar2(100);
    FILE_NAME VARCHAR2(100);
    web_name varchar2(300);
    user_name varchar2(30);
    BEGIN
    user_name:=get_application_property(username);
    if type='PRINTER' THEN
    report_id:= find_report_object('REPORTNODE');
         file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.RRPT'; --use  in case of character mode report
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report TEMPRARY
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing parameter to report
    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 --checking report status
                        report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
                   end loop;
                   IF report_status='FINISHED' THEN --if report is finished then make call to report
              --          web_name:='HTTP://logi/'||file_name;
                   WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
                   else
                        MESSAGE('Report has failed. '||'status is -'||report_status);
                   end if;
    ELSIF type='SCREEN' THEN
         report_id:= find_report_object('REPORTNODE');
         file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.txt'; --use txt in case of character mode report
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report TEMPRARY
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing report parameter
    report_job_id:=run_report_object(report_id);
         report_status:=REPORT_OBJECT_STATUS(report_JOB_id); --checking of report status
                   while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop
                        report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
                   end loop;
                   IF report_status='FINISHED' THEN --if report status is finished then make  call to report
                        --web_name:='HTTP://ORACORP/logi/'||file_name;
                   WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
                   else
                        MESSAGE('Report has failed. '||'status is -'||report_status);
                   end if;
    end if;
    end;
    ------------FOR DEFAULT REPORT
    procedure web_report_c ( type varchar2,parameter varchar2) is
    report_id Report_Object;
    report_job_id VARCHAR2(100);
    report_status varchar2(100);
    FILE_NAME VARCHAR2(100);
    web_name varchar2(300);
    user_name varchar2(30);
    BEGIN
    user_name:=get_application_property(username);
    if type='PRINTER' THEN
    report_id:= find_report_object('REPORTNODE');
         file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.RRPT'; --use  in case of character mode report
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing parameter to report
    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 --checking report status
                        report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
                   end loop;
                   IF report_status='FINISHED' THEN --if report is finished then make call to report
              --          web_name:='HTTP://logi/'||file_name;
                   WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
                   else
                        MESSAGE('Report has failed. '||'status is -'||report_status);
                   end if;
    ELSIF type='SCREEN' THEN
         report_id:= find_report_object('REPORTNODE');
         file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.txt'; --use txt in case of character mode report
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing report parameter
    report_job_id:=run_report_object(report_id);
         report_status:=REPORT_OBJECT_STATUS(report_JOB_id); --checking of report status
                   while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop
                        report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
                   end loop;
                   IF report_status='FINISHED' THEN --if report status is finished then make  call to report
                        --web_name:='HTTP://ORACORP/logi/'||file_name;
                   WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
                   else
                        MESSAGE('Report has failed. '||'status is -'||report_status);
                   end if;
    end if;
    end;

Maybe you are looking for

  • Issues with using 6.0Gb/s drive with W520 and Windows 7

    I ordered 2 ThinkPad 500GB 7200RPM SATA 3.0GB/s 7mm 4K hard drives and was instead shipped 2 6.0GB/s drives. Even though the outside of the box has the correct configuration that I ordered. I installed the drive in the W520 and tried to run my compan

  • Error after scheduling a job in background....

    Hi All, I'm trying to schedule background job and i m using code for scheduling  that job for ex- CALL FUNCTION 'JOB_OPEN'       EXPORTING         jobname          = g_name       IMPORTING         jobcount         = number       EXCEPTIONS         ca

  • Query on Condition Records(Pricing) in SAP CRM

    Hai experts, It would be garteful if you can clarify my doubt. In ECC we maintain pricing condition records in VK11, do we down load them to CRM? if so what is the Load object name(per say for PR00), and the path where can we see the records in CRM a

  • Autoplay not working with iphone 5

    Autoplay just stopped working recently with my iphone 5.  It has worked normally for 1.5 years.  Tried on my 2nd computer and autoplay worked once then stopped working on that computer as well.

  • Huge .fstemp files on Windows server

    We have a, relatively, new Open Directory server running with our long standing Active Directory at work. The Xserve is running Mac OS X 10.4.8 Server and we have a variety of portable Macs in a "macPortables" hardware group. We've created this becau