<?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: Update DB table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889008#M1326101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal Table must of the same type of Standard Table.&lt;/P&gt;&lt;P&gt;Hence, create an ITAB of Standard Table type.  And  try with the syntax  "MODIFY".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 14:09:26 GMT</pubDate>
    <dc:creator>former_member229729</dc:creator>
    <dc:date>2009-07-08T14:09:26Z</dc:date>
    <item>
      <title>Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889007#M1326100</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;I want to update a standard DB table, but the structure of my internal table is different from the structure of the DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: DB Table structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1 &lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT structure is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we try to update the DB Table using this ITAB its giving error "The Work area 'ITAB' is not long enough'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help and suggestions will be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889007#M1326100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889008#M1326101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal Table must of the same type of Standard Table.&lt;/P&gt;&lt;P&gt;Hence, create an ITAB of Standard Table type.  And  try with the syntax  "MODIFY".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889008#M1326101</guid>
      <dc:creator>former_member229729</dc:creator>
      <dc:date>2009-07-08T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889009#M1326102</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 requirement is to update only those 3 fields in the DB table not the entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889009#M1326102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889010#M1326103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with the structure of same tyoe as of the Database Table, and fill only those fields of the strcuture that you are looking to update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889010#M1326103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889011#M1326104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can use transporting&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb35eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb35eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889011#M1326104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889012#M1326105</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 with the structure of same tyoe as of the Database Table, and fill only those fields of the strcuture that you are looking to update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we tried with the same structure if DB table the field values are mispalced in 1st three fields and not in the correcponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: wa like &amp;lt;DB Table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update &amp;lt;DB Table&amp;gt; from wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889012#M1326105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889013#M1326106</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;Sorry there was some typing mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exact scenario is when we tried with the same structure like DB table, the field values are mispalced in the work area (i.e)fields values and not in the correcponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the syntax which we used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  wa like &amp;lt;DB Table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update &amp;lt;DB Table&amp;gt; from wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889013#M1326106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889014#M1326107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make use of other alternative of UPDATE command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update dbtable&lt;/P&gt;&lt;P&gt;SET field1 = itab1-field1&lt;/P&gt;&lt;P&gt;       field2 = itab1-field2&lt;/P&gt;&lt;P&gt;where (conditions if you have any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above alternative of UPDATE stament you can set values for particular fields of the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anand Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 15:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889014#M1326107</guid>
      <dc:creator>former_member189420</dc:creator>
      <dc:date>2009-07-08T15:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update DB table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889015#M1326108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved the Issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 15:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-table/m-p/5889015#M1326108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T15:41:47Z</dc:date>
    </item>
  </channel>
</rss>

