<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Refresh report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975169#M1491846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to incorporate the logic for refreshing the data.&lt;/P&gt;&lt;P&gt;Then only the data will be refreshed on pressing back button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 05:01:29 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2010-05-28T05:01:29Z</dc:date>
    <item>
      <title>Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975168#M1491845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;               I have developed courier detail report,when i double click on sales order no it goes to courier detail transaction.if i want to any modification i do on that,till here it's working fine but if i went back to my report it's not instently refreshed. the updated data will show when i execute report next time,so please help me for this prob.&lt;/P&gt;&lt;P&gt;this is my code for report-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE r_ucomm.
    WHEN '&amp;amp;IC1'.
      CLEAR : lv_vbeln,lv_kunnr.
      READ TABLE gt_list INTO gs_list INDEX rs_selfield-tabindex.
      lv_vbeln = gs_list-vbeln.
      lv_erdat = gs_list-erdat.
      lv_courier_no = gs_list-courier_no.
      lv_courier_cnts = gs_list-courier_cnts.
      lv_othr_cnts = gs_list-othr_cnts.
      CLEAR gs_list.
      IF rs_selfield-fieldname = 'VBELN'.
        REFRESH : it_bdc.
        DATA: spa_tab TYPE STANDARD TABLE OF rfc_spagpa WITH HEADER LINE.
        PERFORM bdc_dynpro      USING 'ZMCM_SD034B_COURIER' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTE'.
        PERFORM bdc_field       USING 'ZCOURIER-VBELN'
                                      lv_vbeln.
        PERFORM bdc_field       USING 'ZCOURIER-ERDAT'
                                      lv_erdat.
        PERFORM bdc_field       USING 'ZCOURIER-COURIER_CNTS'
                                      lv_courier_cnts.
        PERFORM bdc_field       USING 'ZCOURIER-OTHR_CNTS'
                                      lv_othr_cnts.
        PERFORM bdc_field       USING 'ZCOURIER-COURIER_NO'
                                      lv_courier_no.
        CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
          EXPORTING
            tcode                         = 'ZSD13B'
           mode_val                       = 'E'
           update_val                     = 'A'
           TABLES
             using_tab                     = it_bdc
             spagpa_tab                    = spa_tab
           EXCEPTIONS
             call_transaction_denied       = 1
             tcode_invalid                 = 2
             OTHERS                        = 3
                  .
        IF sy-subrc &amp;lt;&amp;gt; 0.
        ENDIF.
      ENDIF.
  ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 04:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975168#M1491845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T04:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975169#M1491846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to incorporate the logic for refreshing the data.&lt;/P&gt;&lt;P&gt;Then only the data will be refreshed on pressing back button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 05:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975169#M1491846</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2010-05-28T05:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975170#M1491847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi joffy,&lt;/P&gt;&lt;P&gt;        can you please help me for logic to refresh report.and one thing, I'm using FM avl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 05:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975170#M1491847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T05:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975171#M1491848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the user command event &lt;/P&gt;&lt;P&gt;FORM USERCOMMAND USING R_UCOMM     LIKE SY-UCOMM&lt;/P&gt;&lt;P&gt;                       RS_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;case .&lt;/P&gt;&lt;P&gt;when 'VBELN'.&lt;/P&gt;&lt;P&gt;after the BDC update the changes in the ALV table .&lt;/P&gt;&lt;P&gt;endcase .&lt;/P&gt;&lt;P&gt;put   RS_SELFIELD-REFRESH = 'X'. after the end case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 05:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975171#M1491848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T05:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975172#M1491849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below Code,it will work.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LV_MSSG(80).                                         "#EC NEEDED&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Wait in a task&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'RFC_PING_AND_WAIT' STARTING NEW TASK '0001'&lt;/P&gt;&lt;P&gt;    PERFORMING F_TASK_END ON END OF TASK&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      SECONDS               = 180      " Refresh time&lt;/P&gt;&lt;P&gt;      BUSY_WAITING          = SPACE&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      RESOURCE_FAILURE      = 1&lt;/P&gt;&lt;P&gt;      COMMUNICATION_FAILURE = 2  MESSAGE LV_MSSG&lt;/P&gt;&lt;P&gt;      SYSTEM_FAILURE        = 3  MESSAGE LV_MSSG&lt;/P&gt;&lt;P&gt;      OTHERS                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F_TASK_END USING U_TASKNAME.&lt;/P&gt;&lt;P&gt;  DATA LV_MSSG(80).                                        "#EC NEEDED*&lt;/P&gt;&lt;P&gt;*Receiving task results&lt;/P&gt;&lt;P&gt;  RECEIVE RESULTS FROM FUNCTION 'RFC_PING_AND_WAIT'&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    RESOURCE_FAILURE      = 1&lt;/P&gt;&lt;P&gt;    COMMUNICATION_FAILURE = 2  MESSAGE LV_MSSG&lt;/P&gt;&lt;P&gt;    SYSTEM_FAILURE        = 3  MESSAGE LV_MSSG&lt;/P&gt;&lt;P&gt;    OTHERS                = 4.&lt;/P&gt;&lt;P&gt;  CHECK SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;  SET USER-COMMAND 'REFRESH'.             " Refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "f_task_end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 05:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975172#M1491849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T05:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975173#M1491850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear Madhukar,&lt;/P&gt;&lt;P&gt;                       please first i tell you my scenario.&lt;STRONG&gt;we have two transection one id for report &amp;amp; other is for module pool&lt;/STRONG&gt; when i double click on &lt;STRONG&gt;vbeln&lt;/STRONG&gt; of report then it trigar the module pool program where modification is done and then if click on save again it caome back to report program.&lt;/P&gt;&lt;P&gt;                                          The problem is that report program is show without updated data. if i re-execute report then is show the updated record. i want when we press save in module pool then it back to report and report shows the updated data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 06:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975173#M1491850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T06:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975174#M1491851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi atulks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        wat i would suggest is in your AT LINE-SELECTION event clear the  final ITAB and fill it again on back button and display.&lt;/P&gt;&lt;P&gt;          so that u will get updated record....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 06:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975174#M1491851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975175#M1491852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Atul &lt;/P&gt;&lt;P&gt;After returning from the MPP u can get the data from the table &amp;amp; that changed data u update in the report which u r displaying this one thing u can do or u can export the data which is changed from MPP  &amp;amp; import it in report and modify the internal table &amp;amp; use the refresh logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 07:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975175#M1491852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T07:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975176#M1491853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 05:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-report/m-p/6975176#M1491853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T05:04:15Z</dc:date>
    </item>
  </channel>
</rss>

