<?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 Refresh problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310803#M1224437</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 created alv list whcih contains chekc box. So whatever check  box is created ,the perticular rows &lt;/P&gt;&lt;P&gt;are passed to bapi to create sales order.If it gives error or sucess message is displayed on next screen.&lt;/P&gt;&lt;P&gt;But if i clicked on back button, the previous screen is called &amp;amp; if user does any operation again.The next screen shows same previous message.That means if error is coming in first operation,it gives same error for next operation also.I have debug the whole code.The proper message is coming in internal table,&lt;/P&gt;&lt;P&gt;but it displays the previous.&lt;/P&gt;&lt;P&gt;Iam using dispaly method of cl_salv_table class.&lt;/P&gt;&lt;P&gt;Plz help me out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anagha Deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2009 11:47:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-10T11:47:14Z</dc:date>
    <item>
      <title>Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310803#M1224437</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 created alv list whcih contains chekc box. So whatever check  box is created ,the perticular rows &lt;/P&gt;&lt;P&gt;are passed to bapi to create sales order.If it gives error or sucess message is displayed on next screen.&lt;/P&gt;&lt;P&gt;But if i clicked on back button, the previous screen is called &amp;amp; if user does any operation again.The next screen shows same previous message.That means if error is coming in first operation,it gives same error for next operation also.I have debug the whole code.The proper message is coming in internal table,&lt;/P&gt;&lt;P&gt;but it displays the previous.&lt;/P&gt;&lt;P&gt;Iam using dispaly method of cl_salv_table class.&lt;/P&gt;&lt;P&gt;Plz help me out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anagha Deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310803#M1224437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310804#M1224438</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;Leave the screen entirely.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE pai INPUT.
   if sy-ucomm = 'BACK'.
      LEAVE TO SCREEN 0.
   endif.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310804#M1224438</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-03-10T12:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310805#M1224439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcin,&lt;/P&gt;&lt;P&gt;I have tried this leave to screen ,but still it is not working, the alv shows old message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310805#M1224439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T12:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310806#M1224440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ALV, to refresh the table you have to call the method "refresh_table_display". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has the syntax very similar to creating the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the synatx is :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method grid (name of grid )-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_STABLE = &amp;lt;STRUCT OF TYPE LVC_S_STBL&amp;gt; (THIS IS FOR DATA REFRESHING)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_SOFT_REFRESH = &amp;lt;VARIABLE OF CHAR 01&amp;gt;  (THIS IS FOR ICON REFRESHING). &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310806#M1224440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310807#M1224441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   Can u please paste ur code&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks and egards&lt;/P&gt;&lt;P&gt;Suraj S Nair.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 08:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310807#M1224441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310808#M1224442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!!!&lt;/P&gt;&lt;P&gt;     In the PAI event work on ur back method and there use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD W_ALV_GRID-&amp;gt;REFRESH_TABLE_DISPLAY
    EXCEPTIONS
      FINISHED = 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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also u can go through this program BCALV_GRID_07.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310808#M1224442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310809#M1224443</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;Call the following methods,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL METHOD g_grid-&amp;gt;check_changed_data .
CALL METHOD g_grid-&amp;gt;refresh_table_display.
CALL METHOD cl_gui_cfw=&amp;gt;flush.
CALL METHOD cl_gui_cfw=&amp;gt;dispatch.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 07:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310809#M1224443</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2009-03-12T07:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310810#M1224444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;I have checked the all option given by you people.But not get solution.&lt;/P&gt;&lt;P&gt;Anyways my req. is changed now.I have done coding according to it.&lt;/P&gt;&lt;P&gt;So that i am closing this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anagha Deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 07:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-problem/m-p/5310810#M1224444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-13T07:14:10Z</dc:date>
    </item>
  </channel>
</rss>

