<?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: How to Edit the Database Record in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405589#M1047098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;if its a ZTable we can do as follows.&lt;/P&gt;&lt;P&gt;1. goto se11 and enter the table name.&lt;/P&gt;&lt;P&gt;2.goto Utilities&lt;DEL&gt;&amp;gt;Table Contents&lt;/DEL&gt;&amp;gt;Display&lt;/P&gt;&lt;P&gt;3. press Execute button.&lt;/P&gt;&lt;P&gt;4.select the check box . goto menu bar's Table Entry--&amp;gt;change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2008 05:00:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-22T05:00:38Z</dc:date>
    <item>
      <title>How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405585#M1047094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to &lt;STRONG&gt;Edit&lt;/STRONG&gt; a Database Record ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt; : If i want to Edit the NAME of a Customer from KNA1 .(Consider If that table doesn't have an TABLE  MAINTENANCE GENERATOR).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405585#M1047094</guid>
      <dc:creator>SurendarT</dc:creator>
      <dc:date>2008-08-22T04:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405586#M1047095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tcode se16&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405586#M1047095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T04:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405587#M1047096</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;Check this link for a step by step solution of requirment with screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.info/sap-hacks-change-database-tables-directly/" target="test_blank"&gt;http://www.sapdb.info/sap-hacks-change-database-tables-directly/&lt;/A&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;anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405587#M1047096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405588#M1047097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;Go for the below link&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/search/highlightContent.jsp]&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405588#M1047097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T04:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405589#M1047098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;if its a ZTable we can do as follows.&lt;/P&gt;&lt;P&gt;1. goto se11 and enter the table name.&lt;/P&gt;&lt;P&gt;2.goto Utilities&lt;DEL&gt;&amp;gt;Table Contents&lt;/DEL&gt;&amp;gt;Display&lt;/P&gt;&lt;P&gt;3. press Execute button.&lt;/P&gt;&lt;P&gt;4.select the check box . goto menu bar's Table Entry--&amp;gt;change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405589#M1047098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405590#M1047099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the data of any table, go to transaction SE16N, type u201C&amp;amp;SAP_EDITu201D. It will activate SAP editing function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opern any record in SE16.Double click on the record so that all the fileds will be displayed in vertical format.&lt;/P&gt;&lt;P&gt;start debugging by /H&lt;/P&gt;&lt;P&gt;change the value of "code" to "DELE" and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover if you want to do this in PROD environment, I would NOT use the SE16n way, due to dependencies, which can have unwanted effects (database inconsistencies). Although in this case (only Name of customer), it might not be as bad as it normally would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405590#M1047099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405591#M1047100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if its standard table.&lt;/P&gt;&lt;P&gt;from the code u have to modify.&lt;/P&gt;&lt;P&gt;this can be done using modify statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405591#M1047100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405592#M1047101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   When there is no maintanance generator then you need to do programatically. You can use UPDATE statement to edit that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE kna1&lt;/P&gt;&lt;P&gt;SET  fieldname = &amp;lt;' new value '&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;for which record you want to update (you can use primary key for specifying teh record)&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement will replace the old field value if any with the specified new value in SET condition.&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;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405592#M1047101</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-08-22T05:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405593#M1047102</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;PRE&gt;&lt;CODE&gt;DATA :
  BEGIN OF fs_tab,
    name1 TYPE kna1-name1,
    land1 TYPE kna1-land1,
    ort01 TYPE kna1-land1,
  END OF fs_tab.
 
fs_tab-name1 = 'XYZ'.
fs_tab-land1 = 'IN'.
fs_tab-ort01 = 'Hyderabad'.
 
UPDATE kna1 SET name1 = fs_tab-name1 land1 = fs_tab-land1 ort01 =
fs_tab-ort01 WHERE kunnr  = '0000000001'.
 
IF sy-subrc eq 0.
 
  WRITE :
   / 'Updated'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405593#M1047102</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-08-22T05:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405594#M1047103</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;To update the data of any table, go to transaction SE16, start debugging /h and type &amp;amp;SAP_EDIT , it will take use to edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opern any record in SE16.Double click on the record of table,.&lt;/P&gt;&lt;P&gt;then start debugging by /h and type DELE and execute.&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;thanx,&lt;/P&gt;&lt;P&gt;dhanashri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405594#M1047103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405595#M1047104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont play with standard Tables, its very easy to change a Customer Name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to &lt;STRONG&gt;XD02&lt;/STRONG&gt;, give the customer number and change what are all the details of the customer needs modification. Press Save to save the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405595#M1047104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Edit the Database Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405596#M1047105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Surendar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the table has a table maintenance generator attached with it then use tran SM30/SE54 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise SE16/SE16n etc.&lt;/P&gt;&lt;P&gt;Steps:SE16&lt;/P&gt;&lt;P&gt;Go to SE16 transaction&lt;/P&gt;&lt;P&gt;Give any table name and press Enter , Ex: MARA&lt;/P&gt;&lt;P&gt;Now execute (F8) this screen&lt;/P&gt;&lt;P&gt;Choose the record you want to manipulate and display (F7)&lt;/P&gt;&lt;P&gt;Go to Debug mode (/H) and press u2018Enteru2019 2 times&lt;/P&gt;&lt;P&gt;Change the value of the variable u2018CODEu2019. By default, it is 'SHOW'&lt;/P&gt;&lt;P&gt;Change the code value as 'EDIT' for modifications, 'INSR' for insert and 'DELE' for delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:SE16n&lt;/P&gt;&lt;P&gt;Goto transaction SE16N&lt;/P&gt;&lt;P&gt;Give the table name&lt;/P&gt;&lt;P&gt;In command box write u2018&amp;amp;sap_editu2019 then press u2018Enteru2019&lt;/P&gt;&lt;P&gt;Press execute button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;note : it is not advisable to edit standard table due to some reasons&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Always Learner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-the-database-record/m-p/4405596#M1047105</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-22T05:31:53Z</dc:date>
    </item>
  </channel>
</rss>

