<?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: updating custom table... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259851#M1016669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Modify Command to update database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SriB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2008 20:51:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-08T20:51:04Z</dc:date>
    <item>
      <title>updating custom table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259849#M1016667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a following situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a internal table in which data is coming from a input file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_tab[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bname....kostl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZHJFJ.....2367&lt;/P&gt;&lt;P&gt;HHJTY.....3498&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to update the data from this internal table to my custom Ztable as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record does not exist in custom table, then it should get inserted, if it already existed for a given user (bname), then it should get updated as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bname...new_kostl...old_kostl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;newkostl should get updated with kostl from internal table &lt;/P&gt;&lt;P&gt;old_kostl should get updated with new_kostl of custom table itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 20:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259849#M1016667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T20:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: updating custom table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259850#M1016668</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;Steps:&lt;/P&gt;&lt;P&gt;1. Fetch data from Custom Table for all entries in internal table into another internal table.&lt;/P&gt;&lt;P&gt;2. Loop at second internal table and update first internal table as per your logic. &lt;/P&gt;&lt;P&gt;&lt;U&gt;If the record does not exist in custom table, then it should get inserted, if it already existed for a given user (bname), then it should get updated as follows:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;bname...new_kostl...old_kostl&lt;/P&gt;&lt;P&gt;&lt;U&gt;newkostl should get updated with kostl from internal table&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;old&lt;/U&gt;kostl should get updated with new_kostl of custom table itself_&lt;/P&gt;&lt;P&gt;3. Update custom table from internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srilatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 20:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259850#M1016668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T20:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: updating custom table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259851#M1016669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Modify Command to update database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SriB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 20:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-custom-table/m-p/4259851#M1016669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T20:51:04Z</dc:date>
    </item>
  </channel>
</rss>

