<?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 the Database Table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135060#M449066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using the commit statement as well. The last entry is not being updated and &lt;/P&gt;&lt;P&gt;the SNAP Runtime error msg is being generated.&lt;/P&gt;&lt;P&gt;Don't know whats wrong. Something is wrong with the MOdify clause it seems like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2007 13:02:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-06T13:02:18Z</dc:date>
    <item>
      <title>Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135058#M449064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I have a z table. I need to insert values into that table using the MODIFY Statement. The program is working fine except for the last entry not being Updated and a Run time error being generated. &lt;/P&gt;&lt;P&gt;The following code executes this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ZGRN_DETAILS-UNAME = sy-uname.&lt;/P&gt;&lt;P&gt;            ZGRN_DETAILS-MTIME = sy-uzeit.&lt;/P&gt;&lt;P&gt;            ZGRN_DETAILS-MDATE = sy-datum.&lt;/P&gt;&lt;P&gt;            ZGRN_DETAILS-BELNR = IT_EKBE_CP-BELNR.&lt;/P&gt;&lt;P&gt;            MODIFY ZGRN_DETAILS.&lt;/P&gt;&lt;P&gt;            COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me why is it Generating a Run time error. &lt;/P&gt;&lt;P&gt;Answer will be rewarded with deserving Points&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 12:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135058#M449064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T12:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135059#M449065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using MODIFY &amp;lt;dbtab&amp;gt; client specified....also, use commit statement at end of the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 12:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135059#M449065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135060#M449066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using the commit statement as well. The last entry is not being updated and &lt;/P&gt;&lt;P&gt;the SNAP Runtime error msg is being generated.&lt;/P&gt;&lt;P&gt;Don't know whats wrong. Something is wrong with the MOdify clause it seems like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 13:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135060#M449066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T13:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135061#M449067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu,&lt;/P&gt;&lt;P&gt;         What U have used is correct. try using move :-&lt;/P&gt;&lt;P&gt;  MOVE sy-uname      to    ZGRN_DETAILS-UNAME .&lt;/P&gt;&lt;P&gt;  MOVE sy-uzeit         to    ZGRN_DETAILS-MTIME .&lt;/P&gt;&lt;P&gt;  MOVE sy-datum       to    ZGRN_DETAILS-MTIME .&lt;/P&gt;&lt;P&gt;  MOVE IT_EKBE_CP-BELNR to ZGRN_DETAILS-BELNR .&lt;/P&gt;&lt;P&gt;  MODIFY ZGRN_DETAILS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 13:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135061#M449067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T13:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135062#M449068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi declare a internal table similar to the ZTABLE which will act as work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-UNAME = sy-uname.&lt;/P&gt;&lt;P&gt;itab-MTIME = sy-uzeit.&lt;/P&gt;&lt;P&gt;itab-MDATE = sy-datum.&lt;/P&gt;&lt;P&gt;itab-BELNR = IT_EKBE_CP-BELNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ZGRN_DETAILS from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still it doesnt get updated then it means that there must be a same matching record in ZTABLE already with matching primary keys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 13:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135062#M449068</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-04-06T13:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135063#M449069</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;First you find records in z table. If record is already exist, then you delete duplicate records. After that you can use modify statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 13:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135063#M449069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T13:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135064#M449070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the problem. Actually there was no space on the Development Server. Thanks for ya suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 15:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135064#M449070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T15:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Updating the Database Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135065#M449071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got the answer than plz marked it as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 16:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-the-database-table/m-p/2135065#M449071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T16:02:23Z</dc:date>
    </item>
  </channel>
</rss>

