<?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 the database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472118#M1253089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this is working out.In addition to this have to set a value of the field when i modify the table.In the "Update" statement we have the option is there any way to do the same in MODIFY also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2009 08:54:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-10T08:54:59Z</dc:date>
    <item>
      <title>Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472111#M1253082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I want to update the table bseg.I have the values of belnr,gjahr and bukrs.If i use the keyword "Update" performance issue is occured.How to update the table is someother way.Plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472111#M1253082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472112#M1253083</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;its not a gud practive to directly update the database table...&lt;/P&gt;&lt;P&gt;instead use some function module to update the database tables.....&lt;/P&gt;&lt;P&gt;then you will not get any performance issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472112#M1253083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472113#M1253084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have u tried MODIFY  dbtab  FROM TABLE itab.&lt;/P&gt;&lt;P&gt;Also try using BAPI's for updating database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472113#M1253084</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-04-10T08:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472114#M1253085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Y ur not using Modify Key word as u said this is not much performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472114#M1253085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472115#M1253086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tired to use as &lt;/P&gt;&lt;P&gt;MODIFY bseg from gw_bkpf.&lt;/P&gt;&lt;P&gt;gi_bkpf is of type bkpf.This is throwing error.How to correct it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472115#M1253086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472116#M1253087</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;please check the data type of gw_bkpf... it should be of type bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the code given below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : w_bseg type bseg.

move-corresponding gw_bkpf to w_bseg.
modify bseg from w_bseg.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472116#M1253087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472117#M1253088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare work area of type BSEG . Error is becz u r updating table with workarea of different type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472117#M1253088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472118#M1253089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this is working out.In addition to this have to set a value of the field when i modify the table.In the "Update" statement we have the option is there any way to do the same in MODIFY also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472118#M1253089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472119#M1253090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;typoes: begin of tyt_bseg,&lt;/P&gt;&lt;P&gt;belnr type bseg-belnr,&lt;/P&gt;&lt;P&gt;end of ty_bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:it_bseg type standard table of ty_bseg,&lt;/P&gt;&lt;P&gt;wa_bsefg type ty_bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_bseg into wa_bseg .&lt;/P&gt;&lt;P&gt;modify bseg from wa_bseg.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 08:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472119#M1253090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472120#M1253091</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;do not update standard table directly, &lt;STRONG&gt;some inconsistences may occur&lt;/STRONG&gt;... Find a BAPI that is useful for you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 09:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472120#M1253091</guid>
      <dc:creator>_IvanFemia_</dc:creator>
      <dc:date>2009-04-10T09:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472121#M1253092</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 MODIFY statement will scan all records in database table before making an UPDATE or an INSERT. That's why you are having performance issues. If you are able to know wether your current record already exists or not use INSERT or UPDATE instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESPITE ALL THIS, YOU SHOULD NEVER UPDATE DIRECTLY A STANDARD DATABASE TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FI function modules or batch input to upadate your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 09:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472121#M1253092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T09:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update the database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472122#M1253093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;modify &amp;lt;dtab&amp;gt; from table &amp;lt;itab&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 09:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-database-table/m-p/5472122#M1253093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T09:57:46Z</dc:date>
    </item>
  </channel>
</rss>

