<?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 table updation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802953#M654692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;i want to modify a selected record of a database table&lt;/P&gt;&lt;P&gt;please tell me how i can do the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have done following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type  standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;data: itab2 type  standard table of t508a with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into table itab&lt;/P&gt;&lt;P&gt;         where zeity = '1'&lt;/P&gt;&lt;P&gt;         and   mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        move itab to wa_tab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;idx = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at wa_tab.&lt;/P&gt;&lt;P&gt; wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;  MODIFY ITAB from wa_tab INDEX IDX&lt;/P&gt;&lt;P&gt;       TRANSPORTING ENDDA.&lt;/P&gt;&lt;P&gt;       endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  modify t508a  from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where t508a is a data base table like mara vbak and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;pionts ll be surely awarded&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2007 07:57:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-12T07:57:55Z</dc:date>
    <item>
      <title>table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802953#M654692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;i want to modify a selected record of a database table&lt;/P&gt;&lt;P&gt;please tell me how i can do the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have done following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type  standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;data: itab2 type  standard table of t508a with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into table itab&lt;/P&gt;&lt;P&gt;         where zeity = '1'&lt;/P&gt;&lt;P&gt;         and   mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        move itab to wa_tab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;idx = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at wa_tab.&lt;/P&gt;&lt;P&gt; wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;  MODIFY ITAB from wa_tab INDEX IDX&lt;/P&gt;&lt;P&gt;       TRANSPORTING ENDDA.&lt;/P&gt;&lt;P&gt;       endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  modify t508a  from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where t508a is a data base table like mara vbak and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;pionts ll be surely awarded&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 07:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802953#M654692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T07:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802954#M654693</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;try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify t508a from wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802954#M654693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802955#M654694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this: - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;MODIFY itab from wa transporting ENDDA.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802955#M654694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802956#M654695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, your selection and looping seems a bit wrong &lt;/P&gt;&lt;P&gt;try it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;data: itab2 type standard table of t508a with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into&amp;lt;b&amp;gt; corresponding fields of&amp;lt;/b&amp;gt; table itab&lt;/P&gt;&lt;P&gt;where zeity = '1'&lt;/P&gt;&lt;P&gt;and mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;  wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;  MODIFY ITAB from wa_tab.&lt;/P&gt;&lt;P&gt;  update t508a from itab_wa.&lt;/P&gt;&lt;P&gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802956#M654695</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-09-12T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802957#M654696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may update the table individually.&lt;/P&gt;&lt;P&gt;      UPDATE zsdautoave SET ENDDA = '99981231'&lt;/P&gt;&lt;P&gt;                      WHERE &amp;lt;selected record condition here&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or update the internal table first then mass database table update. Internal table and database table must have the same structure.&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;database table&amp;gt; FROM TABLE &amp;lt;internal table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802957#M654696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802958#M654697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just copy and paste the below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;data: itab2 type standard table of t508a with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into table itab&lt;/P&gt;&lt;P&gt;where zeity = '1'&lt;/P&gt;&lt;P&gt;and mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;wa_tab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;MODIFY ITAB from wa_tab TRANSPORTING ENDDA.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify t508a from table itab.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;hari krsihna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802958#M654697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802959#M654698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do Like This :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : T508A.&lt;/P&gt;&lt;P&gt;data: itab type standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from T508A &lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;where zeity = '1' and mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab[] is not initial.&lt;/P&gt;&lt;P&gt;loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;wa_tab-endda = '99981231'.&lt;/P&gt;&lt;P&gt;modify itab from wa_tab transporting endda.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;give any suitable message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;modify t508a from table itab.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;message ....&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;message...&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802959#M654698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802960#M654699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed your code as below. It should work fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type standard table of t508a." with header line.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;data: itab2 type standard table of t508a with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into table itab&lt;/P&gt;&lt;P&gt;where zeity = '1'&lt;/P&gt;&lt;P&gt;and mofid = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;idx = sy-tabix.&lt;/P&gt;&lt;P&gt;Itab-ENDDA = '99981231'.&lt;/P&gt;&lt;P&gt;MODIFY ITAB INDEX IDX.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify t508a from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward points if helpful&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;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 08:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802960#M654699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802961#M654700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Hari,&lt;/P&gt;&lt;P&gt;its very useful but  using it i am getttin two record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say&lt;/P&gt;&lt;P&gt;fld1    fld2     date&lt;/P&gt;&lt;P&gt;aaa    sss    12.04.2007&lt;/P&gt;&lt;P&gt;aaa   sss     31.12.9998.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i only need the second record(aaa   sss     31.12.9998.) and not the first one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;P&gt;i have alot same piont also&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 10:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802961#M654700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T10:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: table updation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802962#M654701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANSWERED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 11:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-updation/m-p/2802962#M654701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T11:45:38Z</dc:date>
    </item>
  </channel>
</rss>

