<?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 DB with empty field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247581#M1212416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a structure and a field of it is empty.&lt;/P&gt;&lt;P&gt;I would like to overwrite the field in the database with this initial field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it seems that update only changes values if they are filled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any workaround exist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2009 13:35:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-11T13:35:12Z</dc:date>
    <item>
      <title>UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247581#M1212416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a structure and a field of it is empty.&lt;/P&gt;&lt;P&gt;I would like to overwrite the field in the database with this initial field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it seems that update only changes values if they are filled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any workaround exist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247581#M1212416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247582#M1212417</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 Modify then it solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247582#M1212417</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-11T13:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247583#M1212418</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 modify statement.. it will work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247583#M1212418</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-02-11T13:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247584#M1212419</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>Wed, 11 Feb 2009 13:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247584#M1212419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247585#M1212420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;just check like this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select f1 f2 from ztable into corresponding field of itab 
where condition.

loop at itab into wa_itab where f1 ne 0. " suppose f1 is field which u want to modify
  wa_itab-f1 = 0.
modify itab from wa_itab index sy-tabix.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: tahir naqqash on Feb 11, 2009 6:53 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: tahir naqqash on Feb 11, 2009 6:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247585#M1212420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247586#M1212421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this, this will surely solve ur problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;dbtab&amp;gt; from &amp;lt;your wokarea or internal table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Digvijay Singh Pawar on Feb 11, 2009 2:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247586#M1212421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247587#M1212422</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,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODIFY &amp;lt;db tab&amp;gt; FROM TABLE &amp;lt;int tab&amp;gt; "Here int tab contains the initial values&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247587#M1212422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE DB with empty field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247588#M1212423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use the following statements as per your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Modify DBTAB from wa.

Modify DBTAB from table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These statements modify or insert based on the records in the data base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-db-with-empty-field/m-p/5247588#M1212423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T13:54:48Z</dc:date>
    </item>
  </channel>
</rss>

