<?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: screen painter query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894973#M1143428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"You can find this line in PAI in one of the module&lt;/P&gt;&lt;P&gt;UPDATE &amp;lt;STD_TABLE&amp;gt; FROM TABLE &amp;lt;TABLE_CONTROL_DISPLAY_TABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;"after this line code like this&lt;/P&gt;&lt;P&gt;IF SY-SUBRC  = 0.&lt;/P&gt;&lt;P&gt;MESSAGE ' &amp;amp; number of records updated' TYPE 'S' WITH SY-DBCNT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2008 13:08:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-18T13:08:37Z</dc:date>
    <item>
      <title>screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894969#M1143424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my dialog program i have tablecontrol and one push button for update, if the user edit 3 rows of data in table control and press update button so after updating all the rows the user should get a message saying all the records are updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i show this message after 3 record is updated means how can i check whether 3rd record is updated or not so that i can display a message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 10:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894969#M1143424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894970#M1143425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;Ask your user to select the line before updating the database...&lt;/P&gt;&lt;P&gt;In this case what you can do is update the selected lines its totally upto the user preference whether to update single or multiple records.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 10:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894970#M1143425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894971#M1143426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing your update query, the number of records that are hit in the database table is stored into the system field &lt;STRONG&gt;'SY-DBCNT'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Use this field to check how many records are updated and use this value with the success message to display &lt;STRONG&gt;'_ records updated.'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check whether the previous query was successfully executed or not, use system field &lt;STRONG&gt;'SY-SUBRC'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If SY-SUBRC = 0, this means the database is hit by the query, else the query was not successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 11:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894971#M1143426</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2008-12-18T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894972#M1143427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 12:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894972#M1143427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T12:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894973#M1143428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"You can find this line in PAI in one of the module&lt;/P&gt;&lt;P&gt;UPDATE &amp;lt;STD_TABLE&amp;gt; FROM TABLE &amp;lt;TABLE_CONTROL_DISPLAY_TABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;"after this line code like this&lt;/P&gt;&lt;P&gt;IF SY-SUBRC  = 0.&lt;/P&gt;&lt;P&gt;MESSAGE ' &amp;amp; number of records updated' TYPE 'S' WITH SY-DBCNT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 13:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894973#M1143428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894974#M1143429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks for the reply tarun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as my table control data is stored in work area so i have written loop statement in pai event so for each record the update or modify statement is getting executed, in this such situation i cannot check sy-dbcnt and how many rows will be updated tht are not pre determined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 08:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894974#M1143429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T08:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: screen painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894975#M1143430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 05:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter-query/m-p/4894975#M1143430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T05:10:13Z</dc:date>
    </item>
  </channel>
</rss>

