<?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 itab is not getting triggered in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380876#M811716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing ur code like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ebeln
bukrs
ernam
lifnr
spras
FROM ekko INTO CORRESPONDING FIELDS OF
TABLE g_it_ekko WHERE lifnr IN r_lifnr.

IF sy-subrc = 0.
DESCRIBE TABLE g_it_ekko LINES n.
grid-lines = n.
MESSAGE s002(zsan) WITH n.
ELSE.
REFRESH g_it_ekko.
DESCRIBE TABLE g_it_ekko LINES n.
grid-lines = n.
MESSAGE w000(zsan) WITH n.           "warning msg
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2008 08:37:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-12T08:37:20Z</dc:date>
    <item>
      <title>refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380871#M811711</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;SELECT ebeln&lt;/P&gt;&lt;P&gt;bukrs&lt;/P&gt;&lt;P&gt;ernam&lt;/P&gt;&lt;P&gt;lifnr&lt;/P&gt;&lt;P&gt;spras&lt;/P&gt;&lt;P&gt;FROM ekko INTO CORRESPONDING FIELDS OF&lt;/P&gt;&lt;P&gt;TABLE g_it_ekko WHERE lifnr IN r_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE g_it_ekko LINES n.&lt;/P&gt;&lt;P&gt;grid-lines = n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;MESSAGE s002(zsan) WITH n.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;REFRESH g_it_ekko.&lt;/P&gt;&lt;P&gt;MESSAGE e000(zsan) WITH n.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the message is gettig triggered first but the refresh statement is not getting triggered. i want the refresh statement should be triggered first and then the message.plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380871#M811711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380872#M811712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is with error message. Note that error  message will stop the further execution of the program. So, your refresh statement won't work here. just write the refresh statement in front of the error message. It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380872#M811712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380873#M811713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then remove the refresh statement from the if condition and then place before the if condition, becaue if the records are fetched then the message displays if not fetched then it refreshes the internal table and then it pops up the message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380873#M811713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380874#M811714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;MESSAGE s002(zsan) WITH n.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Clear g_it_ekko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REFRESH g_it_ekko[].&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e000(zsan) WITH n.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380874#M811714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380875#M811715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break-point in else statement and check in debug whether the control is going to that statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no issue with your refresh statement.&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>Tue, 12 Feb 2008 08:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380875#M811715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380876#M811716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing ur code like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ebeln
bukrs
ernam
lifnr
spras
FROM ekko INTO CORRESPONDING FIELDS OF
TABLE g_it_ekko WHERE lifnr IN r_lifnr.

IF sy-subrc = 0.
DESCRIBE TABLE g_it_ekko LINES n.
grid-lines = n.
MESSAGE s002(zsan) WITH n.
ELSE.
REFRESH g_it_ekko.
DESCRIBE TABLE g_it_ekko LINES n.
grid-lines = n.
MESSAGE w000(zsan) WITH n.           "warning msg
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380876#M811716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T08:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: refresh itab is not getting triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380877#M811717</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;Here the refresh statement is executed at first before the message statement executes.&lt;/P&gt;&lt;P&gt;Since the message is of error type, it stops here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vadi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 08:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-itab-is-not-getting-triggered/m-p/3380877#M811717</guid>
      <dc:creator>i048168</dc:creator>
      <dc:date>2008-02-12T08:47:27Z</dc:date>
    </item>
  </channel>
</rss>

