<?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: Table Control Error - Dialog Prog. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685579#M301900</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 a internal table like the table for table control, where you store the initial data, and so when the user exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ITAB_OLD[] &amp;lt;&amp;gt; ITAB[].&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Message&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2006 16:57:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-06T16:57:21Z</dc:date>
    <item>
      <title>Table Control Error - Dialog Prog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685578#M301899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I m doing dialog program with table control for editing some data.&lt;/P&gt;&lt;P&gt;When user enters something in the field and he want to exit then it should give the message that data will be lost and do u want to save. I m using a function which working everytime and not if the user doesn;t change anything then also it is asking because i m not able to get where to check whether the user has changed something or not.&lt;/P&gt;&lt;P&gt;Also i want to do some inactive field according to condition.&lt;/P&gt;&lt;P&gt;Any clue then let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 16:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685578#M301899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T16:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Error - Dialog Prog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685579#M301900</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 a internal table like the table for table control, where you store the initial data, and so when the user exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ITAB_OLD[] &amp;lt;&amp;gt; ITAB[].&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Message&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 16:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685579#M301900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T16:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Error - Dialog Prog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685580#M301901</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;Try checking the variable SY-DATAR for any changes in the screen..IF SY-DATAR 'X' then the data has been changed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise..Before getting into the screen store the values in another internal table (T_ORIG)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before exiting check the current table control internal table (T_CURR) with the internal table (T_ORIG)..if there are not equal raise a popup..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inactivating a field..Assign the field to a group..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHECK CONDITIONS..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'G1'.&lt;/P&gt;&lt;P&gt;    SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Narendran Muthukumaran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 16:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-dialog-prog/m-p/1685580#M301901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T16:58:21Z</dc:date>
    </item>
  </channel>
</rss>

