<?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: Modified fields in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075469#M974455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take a copy of the internal table before displaying....&lt;/P&gt;&lt;P&gt;compare the values of two internal tables u will find the modified one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2008 10:10:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-25T10:10:41Z</dc:date>
    <item>
      <title>Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075466#M974452</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;Is there anyway to find the modified fields in a table control ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 06:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075466#M974452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075467#M974453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the screen painter, u just make the field as input enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075467#M974453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075468#M974454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please elaborate ur question...do u mean u want to find the fields in the tablecontroll which were changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075468#M974454</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-06-25T10:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075469#M974455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take a copy of the internal table before displaying....&lt;/P&gt;&lt;P&gt;compare the values of two internal tables u will find the modified one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075469#M974455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075470#M974456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How will I know it is a newly inserted record or modified existing one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075470#M974456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T14:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075471#M974457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actuall I wanted to update this into one databse table , how can we do it ? the fields modified can be keyfields also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp; Regards ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075471#M974457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075472#M974458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Before PAI, take a copy of the table control table lets say ITAB_COPY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after chenging some values in the Table control, or on some event say ON SAVE&lt;/P&gt;&lt;P&gt;U need to check the two table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK itab = itab_copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if true , no changes has been done&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;changes done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;vinsee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jun 25, 2008 4:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075472#M974458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modified fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075473#M974459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    I will give you one more way of identifying modified entry in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI,Have all editable fields of table control under one Chain... Endchain.. Block.And then call one module within that chain Endchain block with an additional option  "&lt;STRONG&gt;ON CHAIN-REQUEST&lt;/STRONG&gt;".This means that this module will  be called only if you make changes in any one of the changeable fields in table control.Otherwise the module will not be called.In that module you can write the code to set the modif_flag  = 'X' to identify the changed entry in the table control.This logic will work only for Change and Insert,but not for delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD wa_itab-key.&lt;/P&gt;&lt;P&gt;      FIELD wa_itab-matnr.&lt;/P&gt;&lt;P&gt;      MODULE tc_pg_modify ON CHAIN-REQUEST.  &lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;*--Chain block for Changeable fields in Table control&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CHAIN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     FIELD wa_itab-changeable_f1.&lt;/P&gt;&lt;P&gt;     FIELD wa_itab-changeable_f2.&lt;/P&gt;&lt;P&gt;     Module Modify_Changed_data &lt;STRONG&gt;ON CHAIN-REQUEST&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDCHAIN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*---End of Chain Block&lt;/P&gt;&lt;P&gt;Endlloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module Modify_Changed_data Input.&lt;/P&gt;&lt;P&gt;wa_itab-ch_flag = 'X'.&lt;/P&gt;&lt;P&gt;Modify itab from wa_itab transporting ch_flag index tc-current_line.&lt;/P&gt;&lt;P&gt;Endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 22:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modified-fields-in-table-control/m-p/4075473#M974459</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2008-06-25T22:26:38Z</dc:date>
    </item>
  </channel>
</rss>

