<?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: Change data in base tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652940#M611629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can use INSERT and MODIFY statements. In Abap editor type insert ,select insert keyword and press F1 key and check for the syntax. Also, refer the following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c7/9dbd2a09a211d2a96c00a0c9449261/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c7/9dbd2a09a211d2a96c00a0c9449261/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and reward if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 11:07:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-27T11:07:51Z</dc:date>
    <item>
      <title>Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652937#M611626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    How to modify and insert data in SAP base tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 12:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652937#M611626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T12:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652938#M611627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Basu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use SAP standard trasaction like va01 va02 mm02 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont modify the data directly , sap not recomended &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 12:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652938#M611627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T12:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652939#M611628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USe MODIFY STATEMENT always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ZADMN_PARTNERS FROM TABLE GT_ADMN_PATNR_SAVE.&lt;/P&gt;&lt;P&gt;CLEAR V_TEMP1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 13:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652939#M611628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T13:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652940#M611629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can use INSERT and MODIFY statements. In Abap editor type insert ,select insert keyword and press F1 key and check for the syntax. Also, refer the following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c7/9dbd2a09a211d2a96c00a0c9449261/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c7/9dbd2a09a211d2a96c00a0c9449261/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and reward if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 11:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652940#M611629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652941#M611630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sourav ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserting or Changing Single Lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert or change a single line in a database table, use the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;target&amp;gt; FROM &amp;lt;wa&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of the work area &amp;lt;wa&amp;gt; are written to the database table &amp;lt;dbtab&amp;gt;. The work area &amp;lt;wa&amp;gt; must be a data object with at least the same length and alignment as the line structure of the database table. The data is placed in the database table according to the line structure of the table, and regardless of the structure of the work area. It is a good idea to define the work area with reference to the structure of the database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the database table does not already contain a line with the same primary key as specified in the work area, a new line is inserted. If the database table does already contain a line with the same primary key as specified in the work area, the existing line is overwritten. SY-SUBRC is always set to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A shortened form of the above statement is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;dbtab&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the contents of the table work area &amp;lt;dbtab&amp;gt; are inserted into the database table with the same name. You must declare this table work area using the TABLES statement. In this case, it is not possible to specify the name of the database table dynamically. Table work areas with the same name as the database table (necessary before Release 4.0) should no longer be used for the sake of clarity.&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;To insert or change several lines in a database table, use the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY dbtab  FROM TABLE &amp;lt;itab&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those lines of the internal table &amp;lt;itab&amp;gt; for which there is not already a line in the database table with the same primary key are inserted into the table. Those lines of the internal table &amp;lt;itab&amp;gt; for which there is already a line in the database table with the same primary key overwrite the existing line in the database table. The same rules apply to the line type of &amp;lt;itab&amp;gt; as to the work area &amp;lt;wa&amp;gt; described above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC is always set to 0. SY-DBCNT is set to the number of lines in the internal table.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 11:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652941#M611630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652942#M611631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use transactions, BAPIs, function modules, class methods etc which are designed for a specific purpose and which respect the relational integrity of the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you directly modify SAP tables by INSERT, MODIFY, DELETE etc you are asking for trouble.   It is not recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 22:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652942#M611631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T22:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change data in base tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652943#M611632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You MUST NOT modify SAP tables directly by any means. Primary reasons are 1) consistency is compromised, for example you could be deleting a record which another table record references to, because cascading referential integrity is not assured inside SAP, and 2) If SAP finds out you probably loose support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 00:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-in-base-tables/m-p/2652943#M611632</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2007-08-28T00:34:38Z</dc:date>
    </item>
  </channel>
</rss>

