<?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: Custom table update should trigger in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-table-update-should-trigger/m-p/392658#M9747</link>
    <description>&lt;P&gt;TMG evenement are managed only in the generated dialog, and won't be triggered by any Open-SQL statement, if you want such events to be triggered, build some FM to wrap the update and raise the event in it, and no longer use any Open-SQL statement on this table. (As for SAP standard tables -&lt;A href="https://help.sap.com/saphelp_nw70ehp2/helpdata/en/c8/ed15db039b4f45a8507015f531976b/content.htm?frameset=/en/c8/ed15db039b4f45a8507015f531976b/frameset.htm&amp;amp;current_toc=/en/ca/e66b02ff0245529bfd58e1e251d15e/plain.htm&amp;amp;node_id=6&amp;amp;show_children=false"&gt;The Update Process&lt;/A&gt;)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In recent version, you can CREATE some TRIGGER to execute when a database table is updated -&lt;A href="http://help.sap.com/SAPhelp_nw73/helpdata/en/44/e255cde0dd03fce10000000a1553f6/frameset.htm"&gt;Database Triggers&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;In oldest version, if database change log is activated, you could create some background job to process DBTABLOG records.&lt;/LI&gt;&lt;/UL&gt;Regards,&lt;P&gt;Raymond&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 14:39:38 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2016-11-15T14:39:38Z</dc:date>
    <item>
      <title>Custom table update should trigger</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-table-update-should-trigger/m-p/392657#M9746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     I have a custom table, this table will be updated manually through SM30 or from any custom program using modify or update statements. &lt;/P&gt;&lt;P&gt;    I have called a proxy in 'ON SAVE' TMG event of custom table. The proxy is called correctly when user try to save in SM30 but it fails to call when I try to save using modify statements in custom program.&lt;/P&gt;&lt;P&gt;    I can understand that TMG events will not be called when updating table not from SM30. Since this custom table is updated from various program I don't want to write logic to call proxy in all the programs. Can anyone say a simple way to trigger the proxy when the custom table is updated in any form.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 13:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-table-update-should-trigger/m-p/392657#M9746</guid>
      <dc:creator>former_member199670</dc:creator>
      <dc:date>2016-11-15T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom table update should trigger</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-table-update-should-trigger/m-p/392658#M9747</link>
      <description>&lt;P&gt;TMG evenement are managed only in the generated dialog, and won't be triggered by any Open-SQL statement, if you want such events to be triggered, build some FM to wrap the update and raise the event in it, and no longer use any Open-SQL statement on this table. (As for SAP standard tables -&lt;A href="https://help.sap.com/saphelp_nw70ehp2/helpdata/en/c8/ed15db039b4f45a8507015f531976b/content.htm?frameset=/en/c8/ed15db039b4f45a8507015f531976b/frameset.htm&amp;amp;current_toc=/en/ca/e66b02ff0245529bfd58e1e251d15e/plain.htm&amp;amp;node_id=6&amp;amp;show_children=false"&gt;The Update Process&lt;/A&gt;)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In recent version, you can CREATE some TRIGGER to execute when a database table is updated -&lt;A href="http://help.sap.com/SAPhelp_nw73/helpdata/en/44/e255cde0dd03fce10000000a1553f6/frameset.htm"&gt;Database Triggers&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;In oldest version, if database change log is activated, you could create some background job to process DBTABLOG records.&lt;/LI&gt;&lt;/UL&gt;Regards,&lt;P&gt;Raymond&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-table-update-should-trigger/m-p/392658#M9747</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-11-15T14:39:38Z</dc:date>
    </item>
  </channel>
</rss>

