<?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: Trigger on a standard table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332931#M513511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if we create a trigger using the Underlying DB table, will this trigger work if changes are made to the Table using table maintenance SM31,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2007 09:24:59 GMT</pubDate>
    <dc:creator>ashwin_bhat</dc:creator>
    <dc:date>2007-06-15T09:24:59Z</dc:date>
    <item>
      <title>Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332926#M513506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create a trigger for a standard SAP Table (say TCJ1T).&lt;/P&gt;&lt;P&gt;If so, how do I go about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwin Bhat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 08:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332926#M513506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332927#M513507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There is no trigger concept in SAP like Oracle&lt;/P&gt;&lt;P&gt;What for you need this trigger on that Database table?&lt;/P&gt;&lt;P&gt;Means whay should happen when you trigger ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&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>Fri, 15 Jun 2007 08:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332927#M513507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T08:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332928#M513508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SAP does not provide any option of creating database trigger's on the Database tables declared using Data Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yo ucan go and create one in the underlying database if you know the table in the underlying database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 08:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332928#M513508</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-15T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332929#M513509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If "trigger" means any changes of the DB table then there is the option &amp;lt;b&amp;gt;Log data changes&amp;lt;/b&amp;gt; in the &amp;lt;b&amp;gt;technical settings&amp;lt;/b&amp;gt; of a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On our ECC 5.0 system the data changes on table TCJ1T are logged, meaning that the flag is marked.&lt;/P&gt;&lt;P&gt;However, logging requires that the system profile parameters are set accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what the F1 help says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; DE DDPROTOCOL
 ____________________________________________________
 Short Text
     Log data changes
 Definition
     The logging flag defines whether changes to the data records of a table
     should be logged. If logging is activated, every change (with UPDATE,
     DELETE) to an existing data record by a user or an application program
     is recorded in a log table in the database.
     Note: Activating logging slows down accesses that change the table.
     First of all, a record must be written in the log table for each change.
     Secondly, many users access this log table in parallel. This could cause
     lock situations even though the users are working with different
     application tables.
 Dependencies
     Logging only takes place if parameter rec/client in the system profile
     is set correctly. Setting the flag on its own does not cause the table
     changes to be logged.
     The existing logs can be displayed with Transaction Table history
     (SCU3).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually do not know but believe that it is possible to raise "events" in the system resulting from Log data changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 08:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332929#M513509</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-15T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332930#M513510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I want to use triggers is to read the data whenever a change is made to the SAP Standard tables ( I have 10 such tabs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know of the logging option and have also written a program to read the values from DBTABLOG Table. The issue is that the field "logdata" in DBTABLOG stores the old data in case of an update. I have to read the new value from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if...by using a trigger we can read this data and push it into another table in a specific format. I know this method sounds very lame ( I am trying to create another log table ) but I am running out of options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 09:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332930#M513510</guid>
      <dc:creator>ashwin_bhat</dc:creator>
      <dc:date>2007-06-15T09:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332931#M513511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if we create a trigger using the Underlying DB table, will this trigger work if changes are made to the Table using table maintenance SM31,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 09:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332931#M513511</guid>
      <dc:creator>ashwin_bhat</dc:creator>
      <dc:date>2007-06-15T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332932#M513512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you aware of &amp;lt;b&amp;gt;change objects&amp;lt;/b&amp;gt; and the corresponding tables &amp;lt;b&amp;gt;CDHDR &amp;lt;/b&amp;gt;and &amp;lt;b&amp;gt;CDPOS&amp;lt;/b&amp;gt;?&lt;/P&gt;&lt;P&gt;If a change object is available for your table (or you create your own) then virtually every change of the table records can be monitored. For example, VERKBELEG is the change object for table VBAK.&lt;/P&gt;&lt;P&gt;Transaction &amp;lt;b&amp;gt;SCDO &amp;lt;/b&amp;gt;is used to display change documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 13:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-on-a-standard-table/m-p/2332932#M513512</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-15T13:31:16Z</dc:date>
    </item>
  </channel>
</rss>

