<?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 Update table using table control data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733817#M1110918</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;Please let me know how to update the table with table control data from the screen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2008 14:52:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-12T14:52:48Z</dc:date>
    <item>
      <title>Update table using table control data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733817#M1110918</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;Please let me know how to update the table with table control data from the screen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 14:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733817#M1110918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T14:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update table using table control data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733818#M1110919</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;Table u r referring is it database table or internal table??&lt;/P&gt;&lt;P&gt;Also let me know how have u created the table control whether manually or using wizard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2008 04:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733818#M1110919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-15T04:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update table using table control data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733819#M1110920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this what you are searching on SCN,and not able to succeed?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&amp;amp;query=how" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&amp;amp;query=how&lt;/A&gt;&lt;EM&gt;to&lt;/EM&gt;update&lt;EM&gt;database&lt;/EM&gt;table&lt;EM&gt;from&lt;/EM&gt;table+control&amp;amp;adv=false&amp;amp;sortby=cm_rnd_rankvalue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2008 05:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733819#M1110920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-15T05:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update table using table control data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733820#M1110921</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;The general technique is that on clicking of a button(usually the SAVE button)or a particular identifiable user action .......in the PAI of screen flow logic ,we write the code to update the standard table or Ztable ....using modify ABAP statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can modify the database table directly from an internal table which is the preferred method or we can take each line in the internal table or work area and modify the database table as situation demands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI of the screen containing the table control will consist of validations and after all the validations are done........ write a module which updates the databsae table..remember that the internal table must have the same structure as that of the table to be updated &lt;/P&gt;&lt;P&gt;eg: to update table VBAK the internal table should be preferrably&lt;/P&gt;&lt;P&gt;int_vbak type table of vbak for an internal table of wa_vbak type vbak for a workarea...&lt;/P&gt;&lt;P&gt;Whatever data manipulations we do...in the end the internal table to update the database table should have the same structure/fields and must contain data...so we can always do a check like&lt;/P&gt;&lt;P&gt;if not int_vbak[] is initial.&lt;/P&gt;&lt;P&gt;Modify vbak from int_vbak.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2008 05:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-using-table-control-data/m-p/4733820#M1110921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-15T05:27:51Z</dc:date>
    </item>
  </channel>
</rss>

