<?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 update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069152#M428369</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 value "ffg" for a field and want to replace second or 3 rd charatcer with "g" Aand update the table assume mara.&lt;/P&gt;&lt;P&gt;How can we update standard table..can we do directly?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 07:59:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T07:59:55Z</dc:date>
    <item>
      <title>update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069152#M428369</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 value "ffg" for a field and want to replace second or 3 rd charatcer with "g" Aand update the table assume mara.&lt;/P&gt;&lt;P&gt;How can we update standard table..can we do directly?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 07:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069152#M428369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069153#M428370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is quite unclear.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to modify the table from program then there should not be any problem as you would be using all the primary key to Modify that Entry in the Database Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 08:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069153#M428370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T08:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069154#M428371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Std tables are to be updated using the relavent transaction. &lt;/P&gt;&lt;P&gt;for example if you wants to update MARA table you have to go to MM02 t code and have to change the relavent field.&lt;/P&gt;&lt;P&gt;Once you change on the screen by default it will get updated. So no need to write any code.&lt;/P&gt;&lt;P&gt;that is the right methoid for updation of any field in SAP using the related Transaction.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 08:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069154#M428371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069155#M428372</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;You must use BAPIs in this case of updating any standard SAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BAPI_MATERIAL_EDIT&amp;lt;/b&amp;gt;. Read the standard documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points, incase it suits your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 08:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069155#M428372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T08:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069156#M428373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First of all we should not update standard tables, directly via sql.&lt;/P&gt;&lt;P&gt;   (Sap does not recommend this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. However, if we want to do this process, then we should do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a) Create one internal table, SAME AS database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  b) Select * From DBTAB into ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  c) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Loop at Itab.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;    itab-field1+2(1) = 'g'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY DBTAB FROM 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;&lt;/P&gt;&lt;P&gt;4. The above logic will update the whole database table, (one by one record in a loop).&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 m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 08:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069156#M428373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T08:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069157#M428374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;My requirement is like this &lt;/P&gt;&lt;P&gt;There is a field labor in mara and has value "FFG",now i want to check condition like this &lt;/P&gt;&lt;P&gt;if i_zdbt-field = 'condition'&lt;/P&gt;&lt;P&gt;update second character of mara-labor with "g".&lt;/P&gt;&lt;P&gt;This is my req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069157#M428374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T14:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069158#M428375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i_zdbt-field = 'condition'&lt;/P&gt;&lt;P&gt;mara-labor+1(1) = 'g'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update/m-p/2069158#M428375</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-21T14:48:00Z</dc:date>
    </item>
  </channel>
</rss>

