<?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: Problem in updating table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187638#M1200650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; did u activated the table using se14 transaction if not activate it. and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;rajesh.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2009 08:46:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-13T08:46:57Z</dc:date>
    <item>
      <title>Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187627#M1200639</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 have a prolem in updating value in new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Z - table ZABC with three fields. I have added one more colunm in ZABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are already few rows avaiable in this table.Now i want to update a new Col which i have added to this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while going for a insert i am unable to find the new col which i have added.i can see all the prev col already there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out. Did i missed any step while adding a col to existing table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikrant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 06:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187627#M1200639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187628#M1200640</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 using modify with where condition.&lt;/P&gt;&lt;P&gt;modify table itab from fs where field1 = 'XYZ'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 06:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187628#M1200640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T06:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187629#M1200641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;         initially you insert itab of specific column then ...&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt; YOU MUST KEEP IN LOOP  FOR FUNCTIONING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE IS THE SYNTAX FOR YOU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT ITAB INTO WA.&lt;/P&gt;&lt;P&gt;     INSERT ITAB INDEX 1.&lt;/P&gt;&lt;P&gt;      MODIFY ITAB FROM WA.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;sumanth reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sumanth reddy on Feb 12, 2009 8:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 07:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187629#M1200641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T07:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187630#M1200642</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 in debugging if the sy-subrc value is set 0 . Ans also check teh sy-dbcnt value .It gives the number of lines changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Believe that you have activated and adjusted the old table that is modified with a column . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 07:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187630#M1200642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187631#M1200643</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;Make sure that you have activated the table after making the modifications.&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;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187631#M1200643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187632#M1200644</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;Since its that you are updating the already existing values in DBTABLE,&lt;/P&gt;&lt;P&gt;use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;UPDATE DBTAB FROM W_A.
UPDATE DBTAB FROM TABLE itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the primary key specification is done perfectly with respect to  data base table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187632#M1200644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187633#M1200645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vikrant ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto se14 -- &amp;gt; give the table name and press edit. &lt;/P&gt;&lt;P&gt;Then press Adjust and activate table button .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to delete the contents of the table then u can choose the radio button "Delete Data" instead of "save data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now make changes in ur table and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope ur pblm is solved .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187633#M1200645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187634#M1200646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;first declare internal table as that of your Z custom table. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;internal tables &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : i_table TYPE TABLE OF z_custom_table. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;work areas &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : i_table_line LIKE LINE OF i_table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then update your Zcustom table with the help of internal table work area. &lt;/P&gt;&lt;P&gt;      INSERT INTO z_custom_table VALUES i_table_line. &lt;/P&gt;&lt;P&gt;      COMMIT WORK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you. &lt;/P&gt;&lt;P&gt;Thanks.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mandar kale on Feb 12, 2009 10:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187634#M1200646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187635#M1200647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   May be u have not activated the table after thet new coloum,&lt;/P&gt;&lt;P&gt;   Please check that.&lt;/P&gt;&lt;P&gt;   hope this helps u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187635#M1200647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187636#M1200648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, You can use modify stataement with key fileds .&lt;/P&gt;&lt;P&gt;so that for that key field wta ever value your are giving for extra it will take without changing the data of other fields for that key./&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Rajendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 11:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187636#M1200648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187637#M1200649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikrant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing modifications to table please activate the table and instead of using INSERT Statement we can go for MODIFY.you added one more column to the table so in this case if you use MODIFY you can modify the previous entries.Using INSERT we cannot change any modifications,if we are inserting the same record which is already in the table it will go for short dump.so go for MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY dbtable from workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187637#M1200649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187638#M1200650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; did u activated the table using se14 transaction if not activate it. and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;rajesh.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 08:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187638#M1200650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187639#M1200651</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;Write program to download existing records in that Ztab and delecte records from that table. Goto menu active and adjust database table and activate that. Now upload the data in that ztable.&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;Regards&lt;/P&gt;&lt;P&gt;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 09:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187639#M1200651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187640#M1200652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As JK anwer You need go to transaction SE14.&lt;/P&gt;&lt;P&gt;Give the table name and press edit. &lt;/P&gt;&lt;P&gt;Then press Adjust and activate table button. The option save data must be flaged, but if you dont need the old data you can flag delete data (I guest the last one is the best choise).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good lucky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 12:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187640#M1200652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187641#M1200653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 06:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updating-table/m-p/5187641#M1200653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T06:34:51Z</dc:date>
    </item>
  </channel>
</rss>

