How to get refreshed report

Dear Friends,
I have attached my report in my .aspx file.
I am passing the condition through myCrystalReportViewer.SelectionFormula
It was showing all record's reports those are tested in CR2008.
But as soon as we have entered a new record through our web form, it is not displaying the report.
I have added "myCrystalReportViewer.RefreshReport()".
Then also it is not displaying the report for the new record entered, where as the previous records are running fine.
Can any one please tell what code should I add or steps in CR2008 to get this report after entering any record.
Thanks and regards
Edited by: Md. Mushtaque on Sep 1, 2008 5:03 PM

Dear The Panda,
As per your reply I have followed all steps.
Unchecked "Save Data with Report" in Sub Report
Checked the Links between Sub Report and Main Report
Now on calling the report from my web form only a blank page with TextObject's text is coming.
I Could not understand that why this is happening or what is the concept behind linking a report from Web forms.
How to get refreshed report?
Well thanks for your reply, but now God knows how to solve this problem.
Thanks again

Similar Messages

  • How to get a report in pdf format.

    Hi Experts,
    Could any one let me know that, how to get the report in PDF format.
    Once a report is generated it should be displayed in pdf format or downloaded in pdf format.
    Thanks in Advance,
    Regards,
    Irfan Hussain

    Hi,
    Check out this code:
    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    * Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    * Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    * Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    * Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * Write statement to represent report output. Spool request is created
    * if write statement is executed in background. This could also be an
    * ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    *** Alternative way could be to submit another program and store spool
    *** id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
    *        to sap-spool
    *        spool parameters   %_print
    *        archive parameters %_print
    *        without spool dynpro
    *        and return.
    * Get spool id from program called above
    *  IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
    *       FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
    *       FORM get_job_details                                          *
    FORM get_job_details.
    * Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
    *       FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    * Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
    *       FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    Regards,
    Gayathri

  • How to get customised reports through Flexible Analysis available in PMIS

    Dear Sir,
    Please guide us how to get customised reports through Flexible Analysis available in PMIS.
    Thanks & Regards,
    PM Team

    [Sap Help|http://help.sap.com/erp2005_ehp_04/helpdata/en/c1/375e9c449a11d188fe0000e8322f96/frameset.htm].
    Regards
    Narasimhan

  • How to get the Reports of Change Tracking Table in MDM?

    Hi!
    Please tell me how to get the reports of Change Tracking Table in MDM which is a System table, directly from MDM without using any interface.
    Thanks in advance for the reply.
    With Best Regards
    Devendra Pandey

    Hi Devendra,
    MDM can track changes on tables and fields. <u>The level of change tracking, and which tables/fields to track, are configurable in the MDM Console</u>. MDM opens a new database on the same database engine as the MDM repository and writes all change records to this database.
    For information of various steps you can visit
    <a href="http://help.sap.com/saphelp_mdm550/helpdata/en/45/c7b20339ee570ae10000000a114a6b/content.htm">this URL</a>
    Regards,
    Krutarth

  • How to get SAP report that inculde PR number, PR amount, PO number, PO amount and cost center ??

    Please help! How to get the report in SAP that include information of PR number, PR amount, PO number, PO amount and cost center in one report??
    I try ME5A but th
    ere are no information of PO amount.

    Thank you for your help.
    I have no authorize to use SQVI as I am only the user. I will use your information and ask my SAP team to help.
    Thank you again (^_^)

  • How to get the reporting icon  in cube.

    hi,
    i have a successful request(with all the required data) in the cube (manage screen) but i could n't get the reporting icon next to request id   in the cube manage screen how to get ithe reporting icon.

    This might be because of  issue -- data is not ready to view in the Query level. So that it happened.
    Go to the 'Manage' in the InfoCube level and verify the last updated request are ready to report.
    The possible causes may be
    1. If the previous request may be an error in Cube level, the other requests will not be ready to report.
    2. If there is Aggregate is maintaining in the Cube level, you should perform rollup to fill aggregates and made the requests available to report.
    Edited by: prashanthk on Aug 31, 2010 10:48 AM

  • How to get the report server name in Forms 10g.

    How to get the report server name in Forms 10g.
    I'm using the Application Server 10g 10.1.2.

    Hello,
    I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
    Francois

  • How to get a report on Installed Software Updates on client computers.

    Hi, I'm working with a large company who plans to deploy mac's nationwide. ARD is what we will be using for remote management of the cient systems. My question is; how to get a report on Installed Software Updates on client computers.
    Thanks in advance!

    Hi,
    Try this.
    Go to SE16 give table input as T511
    and select OPKEN   / Operation indicator field input as A and execute.
    This will give you output of wage types wich configured for deduction.

  • Itunes u public - How to get daily report

    Hello,
      does anybody have any suggestion about  how to get daily report for iTunes U public site ?
    The only information I've found is in iTunes U Administration Guide for Private Site  with the following example
    http://deimos.apple.com/WebObjects/Core.woa/API/GetDailyReportLogs/example.edu? StartDate=2007-09-12&EndDate=2007-09-13 &credentials=Administrator@urn:mace:itunesu.com:sites:example.edu &identity=%22Jane+Doe%22+%3Cjdoe%40example.edu%3E+%28jdoe%29+%5B42%5D &signature=38bda70d9aa6975ae8756754034feb6e3c794aca4b21665f6dc85d2ed42d4f6b
    but I do not understand how I can apply that for a public site.
    How to get "credentials" ? What baout identity and signature? What I've is just my iTunes U Site Manger  account name and pssword.
    Any help is very appreciated.
    Kind Regards,
    Diego

    Find the  solution by myself.
      There are two iTunes U sites with different credentials: one is the original  iTunes U Public  before first activation and another created automatically by the activation process. The last is the actual iTunes U Public site
    managed by iTunes U Public Site Manger. The difference is the domain name of the site: if I  sign in using my domain name with "-dz" added at the the end, I can access the actual credentials (Site URL, Debug Suffix, Shared Secret, Administrator Credentials) that differs completely by the ones of the original iTunes site.
    No where I found information about that, neither I've received any notification mail about the domain name change after the site activation process.
      Hope that can help.

  • How to get the Report Names which use a Folder in Discoverer Administrator?

    Hello All,
    How could I get which Reports in discoverer Desktop are using a particular folder in Discoverer Administrator?
    Or
    How to know which Discoverer Desktop Reports are being derived from a folder in Discoverer Administrator?
    We have Oracle 9i DS installed and have a Custom Folder Created in the Administrator, and want to know exactly which Reports/Workbooks are using that folder?
    Thanks in advance :)

    Well Abhijit,
    The eul workbooks have been created by oracle specifically to analyze your eul and make your work easier!. So, I prefer this way to view the information about my eul in a report format in the desktop. Try it! you may like it.
    If you want you can follow these steps:
    Run the script called eul5.sql located in <discoverer_installation_path>\discoverer\util in the user who own the eul in the database.
    Then import the eul5.eex file located at <discoverer_installation_path>\discoverer\ in the discoverer administrator.
    Then login into desktop and open the reports in the database, you can see a report called[b] EUL Workbook Management. Open that and goto the sheet named Workbook Dependency - Folders & Items Lookup. I think it the last but one worksheet in that workbook.
    Hope it helps you!

  • Subject: How to get MB5B report in excel format

    Dear experts,
    Please help me how I get automatically MB5B Report in excel format. In Layout there is no option to convert excel format.
    regards,
    rss
    Edited by: rs_sharma on Jun 26, 2011 10:16 AM

    Dear experts,
    Please help me how I get automatically MB5B Report in excel format. In Layout there is no option to convert excel format.
    regards,
    rss
    Edited by: rs_sharma on Jun 26, 2011 10:16 AM

  • How to get a report "closed" when using the ReportViewerBean

    I read the article /people/ted.ueda/blog/2008/12/20/crystal-reports-for-eclipse--ensuring-report-cleanup from Ted Ueda regarding cleaning up reports for the RAS server.  However, I'm trying to figure out how to get this accomplished for a thick client accessing a local rpt file and then displaying that file using the ReportViewerBean.  I can't seem to get the report closed. I tried the dispose() techniqe from the article, but with no success.
    My basic process is:
    1) Press button on main frame to open and set up report
    2) Pass open report (via ReportClientDocument) object to the viewer frame class (which views report in separate window using ReportViewerBean)
    3) Close viewer window when done, destroy ReportVieweBean and close ReportClientDocument
    4) Press button again on main frame later to view report
    If I set up the report but skip the step of sending the report to the viewer frame, ReportClientDocument.isOpen() will go from true to false after I execute just  the ReportDocumentClient.close() command.  However, if open the viewer frame, I cannot get the report closed.
    In the window closing event for my viewer window I have:
    public void quit() {
                try {
                    CrystalReportViewer crv1 = new CrystalReportViewer();
                    crv1.setReportSource(reportClientDoc.getReportSource());
                    reportViewer.destroy();  //this is a ReportViewerBean
                    reportClientDoc.close();  //this is a ReportClientDoc
                    crv1.dispose();
                    //the following is always true
                    System.out.println("ReportClientDoc.isOpen: " + reportClientDoc.isOpen());
                    this.dispose();
                catch(ReportSDKException ex) {
                    ex.printStackTrace();
                catch(ReportSDKExceptionBase ex) {
                    ex.printStackTrace();
    I'm using the latest Java CR4E 12.2.205.825 downloaded from the CR4E website.  Any ideas?
    Edited by: Joseph Huber on Mar 16, 2010 8:13 PM

    The webservices you are trying to use are not the ones used for enterprise, they are used for non-enterprise applications accessing reports that are stored in a specific location on the web server.
    Here are samples that use our Enterprise SDK:
    [https://boc.sdn.sap.com/samples/84/1193|https://boc.sdn.sap.com/samples/84/1193]
    Here are samples that use our Enterprise Web Service SDK:
    [https://boc.sdn.sap.com/samples/84/1197|https://boc.sdn.sap.com/samples/84/1197]
    You can also look at the SDK documentation available here:
    [http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]

  • How to get analytics reports programmatically in SharePoint 2013?

    In SharePoint 2010 it was possible to obtain data from web analytics programmatically using Microsoft.Office.Server.WebAnalytics.Reporting.AnalyticsReportFunction class.
    How can you get search reports programmatically in SharePoint 2013? Are there new assemblies or classes that can be used to obtain them?
    In my scenario, i am mostly interested in the most searched terms at web application or service application level. 
    In SharePoint 2013 the Web Analytics Service Application was merged into the Search Service Application. It seems now that the old assemblies used for this (Microsoft.Office.Server.WebAnalytics.dll
    and Microsoft.Office.Server.WebAnalytics.UI.dll) are not available any more.
    They are available in the user interface as Excel reports, in CA->Application Management->Manage Service Applications->Search Service Application->Usage Reports , but I am interested to obtain these reports programmatically.
    Is this scenario still supported in SP 2013?

    try this 
    using (SPSite site = new SPSite(MainBUPageUrl))//open root
                            using (SPWeb web = site.OpenWeb())
                                AnalyticsReportFunction AnalyticReport = new AnalyticsReportFunction(); //create object of analyticsReport
                                Thread.CurrentPrincipal = new WindowsPrincipal(WindowsIdentity.GetCurrent());//this is used only
    in timer job if not used then GetWebAnalyticsReportData will not work
                                object[,] result = null;
                                    web.AllowUnsafeUpdates = true;
                                   result = AnalyticReport.GetWebAnalyticsReportData(SiteCollurl, "2", ReportType.TopDestinationForSiteReport.ToString(),
    DateTime.Today.AddDays(-3.0), DateTime.Today); //this gives top visitor for provided site collection by providing time duration(start and end date),report type and url
                                    SPList list = web.Lists.TryGetList("AppreciationsList");//list
                                    for (int counter = 0; counter < 10; counter++) //show top ten pages
                                        Item = list.AddItem();
                                        s_count = result[rcount, 1].ToString(); //code
    to get top vistor usage count
                                        Username = result[rcount++, 0].ToString();//get
    top vistor name
                                        user = null;
                                        try
                                            user = web.EnsureUser(Username);//check
    user available?
                                        catch (Exception)
                                            counter--;
                                            continue;
                                        IfExist = checkUserExistence(user);//call the
    function   // IfExist = false; //this flag is used to check existence of user in insightMember group
                                        if (IfExist == true)//if user is not in the insight2
    group member list
                                            Item["Appreciated Person"]
    = user; 
                                            Item["Title"] = s_count;
                                            Item.Update();
                                        else //if user is in the insight2 group member
    list
                                            counter--;
                                            continue;
                                  web.AllowUnsafeUpdates = false;

  • How to get the report summary to the bottom of the page?

    Hi all. Does anyone know how can I get the report summary to
    stick to the bottom of the page, like the page footer? Basically, I
    have a report that displays line items on an order. At the end of
    the report, there is a signatory section or acknowledgment. If I
    stick this in the page footer, then it displays at the bottom of
    the page, but on every page. If I put it on the report footer, than
    it follows immediately after the details, and not at the bottom of
    the page. What I need is the report footer to be at the bottom of
    the last page.
    Any ideas?

    Greetings. Thanks for the post. I am not having problems with
    a page number. I am having problems with getting the report footer
    contents to be at the bottom of the last page. The closest solution
    I have found is to put the content in the page footer, and then
    hide the page footer until the last page. However, this leaves
    whitespace on all of the other pages, which isn't ideal. I really
    need an attribute that allows me to set the report footer to print
    at the bottom of the page, like the page footer.

  • How to get the report to relaionship from infotype 1001.

    Hi,
    Could any one just let me know regarding how to get reports to relationship for the particular employee number from infotype 1001.
    What exactly are the aprameters involved.
    Thanks in Advance ,
    Irfan Hussain

    Hi Irfan,
    SELECT abkrs
             pernr
             ename
             gsber
             begda
             persg
             persk
             werks
             btrtl
             plans
             kostl
             orgeh
         INTO TABLE it_0001
         FROM pa0001
       loop at it_0001.
        CLEAR: l_plans, l_sobid, l_sobidx, l_pernr.
        SELECT SINGLE sobid INTO l_sobid
          FROM hrp1001
         WHERE otype = 'S'
           AND objid = it_0001-plans
           AND plvar = '01'
           AND relat = '002'
           AND endda = '99991231'.
        IF sy-subrc EQ 0.
          l_plans = l_sobid.
          SELECT SINGLE sobid INTO l_sobidx
          FROM hrp1001
         WHERE otype = 'S'
           AND objid = l_plans
           AND plvar = '01'
           AND relat = '008'
           AND endda = '99991231'.
          IF sy-subrc EQ 0.
            l_pernr = l_sobidx.
            SELECT SINGLE ename INTO <b>it_0001-repto</b>
              FROM pa0001
             WHERE pernr = l_pernr.
            IF sy-subrc EQ 0.
             MODIFY it_0001 INDEX l_index TRANSPORTING repto.
            ENDIF.
          ENDIF.
        ENDIF.
       endloop.
    Regards,
    Raj

Maybe you are looking for

  • End Loop when value is not in Table

    My tables: Possible_Ids 2222 1111 3333 4444 Used_Ids 5555 6666 2222 7777 Code so far: declare type array_type is table of Possible_ids%rowtype; id_array array_type; v_id char(4); v_counter number:=1; v_found number:=0; begin select * bulk collect int

  • Amber update error 8018830f on Lumia 620

    My Lumia 620 has an avalaible amber update, but it seems that my lumia can open the update after it was downloaded.  I get the error message 8018830f - the download is downloaded, but the device can NOT open it. Can someone help me or give me some ad

  • IPhoto Crashes during Upgrade at Thumbnails

    I have searched this discussion group and found many suggestions to overcome my problem with iPhoto 5.0.4, but none are working. I installed iLife '05 yesterday. My entire purpose in purchasing this software was to organize my extensive photo library

  • What software do I need to run executables files

    Hi I have application where I acquire data from sensors using stain gauge and thermocouple modules with 6225M DAQ card. Also I am writing some data that i get from a joy stick to a serial port in the same application. In order to run executable file

  • How to get the geek keyboard?

    I am not sure if it already did it but I don't know