<?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: Triggering an event when writing to Database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441816#M1648664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can go for MB_DOCUMENT_BADI. this badi triggers when a material document is posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jan 2012 22:11:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-07T22:11:14Z</dc:date>
    <item>
      <title>Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441797#M1648645</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;Does anyone knows a way to trigger some kind of event (some program / function)&lt;/P&gt;&lt;P&gt;when a specific &lt;STRONG&gt;standard&lt;/STRONG&gt; table changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Doron Oded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 21:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441797#M1648645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T21:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441798#M1648646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general an entry will be created n a table when a record created from standard transaction and for change also.You can try will workflow.Ex:So created,changed,Po displayed, change.Then that even you can use for this.What is the business requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 02:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441798#M1648646</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-01-05T02:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441799#M1648647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oded,&lt;/P&gt;&lt;P&gt;the range of your question is very wide. can you please tell us what standard table are you interested in and how are you changing it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. from a table maintenance --&amp;gt; Yes, table maintenance events are there which trigger here&lt;/P&gt;&lt;P&gt;2. from a tcode like PO, SO changes -&amp;gt; yes, a variety of events trigger depending upon object type&lt;/P&gt;&lt;P&gt;3. from running any program -&amp;gt; depends upon the program&lt;/P&gt;&lt;P&gt;4. a field for which change pointer is active -&amp;gt; yes, change document write is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please specify what exactly is your requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 02:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441799#M1648647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T02:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441800#M1648648</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;Thanks for your answers.&lt;/P&gt;&lt;P&gt;I know the question is quite general...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to trigger a program whenever somw tables changes..&lt;/P&gt;&lt;P&gt;But they don't want to be depend a UE or a specific program.. But a general DB table change.&lt;/P&gt;&lt;P&gt;So, from all the options you mentioned table maintenance event sound the most promising.. &lt;/P&gt;&lt;P&gt;What is that? could you elaborate a bit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doron Oded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 06:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441800#M1648648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T06:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441801#M1648649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search.. follow this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/advancedsearch?query=table" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/advancedsearch?query=table&lt;/A&gt;&lt;EM&gt;maintenance&lt;/EM&gt;events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this explains maintenance view events. but know that this is only when you create data from SM30. its not for any where else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and about being generic.. &lt;STRONG&gt;WONT help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE statement as such wont trigger any event.. so it depends upon where the Update is written, according to that you can look for the events you are talking about&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 06:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441801#M1648649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T06:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441802#M1648650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do like this check the CDHDR and CDPOS table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the CDHDR table you will get CHANGENR, OBJECTID and OBJECTCLAS values passing these values to CDPOS, then you will be getting VALUE NEW and VALUE OLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So check whether your table is changed and with the help of TMG events or using the driver program where you are checking for the changes call the other program which you want to call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is much clear if you still face issues please revert back to me i will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 06:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441802#M1648650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T06:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441803#M1648651</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;Change documents (CDHDR, CDPOS) could be a solution for this issue. But what about tables which are not change documents managed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is TMG event? and driver program? Could you please elaborate about them a bit more? or tell me where can I find more documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank a lot!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doron.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441803#M1648651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441804#M1648652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TMG - table maintenance generator - the sm30 thing which i told earlier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the CDPOS/CDHDR wont get updated automatically. for that also you need to check if the fields are logged or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can activate table logging, but it will activate for all the tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eaf9446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eaf9446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Jan 5, 2012 11:25 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441804#M1648652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441805#M1648653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMG nothing but table maintenance generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441805#M1648653</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-01-05T17:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441806#M1648654</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;OK, thats sounds not bad at all.. 2 questions:&lt;/P&gt;&lt;P&gt;1. If we activate Logging (change docs..), will all the tables be included or only a part?&lt;/P&gt;&lt;P&gt;2. How would we know a change has occured? should we scan the table periodically for changes? or is there some trigger/event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, you all are great!&lt;/P&gt;&lt;P&gt;Doron.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 20:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441806#M1648654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T20:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441807#M1648655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is the catch... there are 3 things which can be done for table logging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. system wide(all clients)&lt;/P&gt;&lt;P&gt;2. specific clients(better) --&amp;gt;this one you can go for if you want to&lt;/P&gt;&lt;P&gt;3. no logging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, this is gonna activate for all tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the change can be checked though regular monitoring of SCU3. you can pull out a report and stuff from it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 20:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441807#M1648655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T20:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441808#M1648656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To clarify, it takes the setting of rec/client AND the activation of logging for each table in its technical settings to actually activate the logging in table DBTABLOG (not CDHDR/CDPOS, that's something else), so it does not affect all tables.&lt;/P&gt;&lt;P&gt;And no, I don't know of any generic trigger that you can react on within an ABAP context after DB table entries have changed, irrespective of how they were changed.&lt;/P&gt;&lt;P&gt;The functionality that creates the entries in DBTABLOG must be somewhere down in the kernel or database.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 22:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441808#M1648656</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-01-05T22:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441809#M1648657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functionality that creates the entries in DBTABLOG must be somewhere down in the kernel or database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Yes. Database layer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 22:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441809#M1648657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T22:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441810#M1648658</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;When you say "you have to enable it for each table"..&lt;/P&gt;&lt;P&gt;where this should be done?&lt;/P&gt;&lt;P&gt;And, does it require a change request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Doron.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 22:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441810#M1648658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T22:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441811#M1648659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in technical setting(in se11) for any table you will find this logging activated flag. only if the logging flag is set then only you can trace it though SCU3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go though this link for details&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/c81ebb52c511d182c50000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/7e/c81ebb52c511d182c50000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Jan 6, 2012 4:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 23:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441811#M1648659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T23:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441812#M1648660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm affraid this is not quite answering my question.. appearantly..&lt;/P&gt;&lt;P&gt;Because this is not a general enough solution, I've checked for example if tables EBAN, and MSEG are logging-enbaled in standard, and I was very dissapointed to see that they are not..&lt;/P&gt;&lt;P&gt;If I need an access key to change these kind of most basic logistics tables, this is the wrong solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I hope you won't be upset with me if I'll take our wonderfull discussion a bit back, and ask again,&lt;/P&gt;&lt;P&gt;is there a simple way to trigger some program when tables change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The change could be from any program - SM30, or MIGO, or ME52n... Hence, it (the way) should not be based on the updating program (via UE), It should not require access keys for changing standard table settings..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, and I appologize for my stubbornness,&lt;/P&gt;&lt;P&gt;Doron.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: Have a lovely weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 07:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441812#M1648660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-06T07:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441813#M1648661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;again, you need to specify what are you changing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say its from SM30, that means you are &lt;STRONG&gt;not&lt;/STRONG&gt; changing transactional data(EBAN,EKPO hold transactional data). the data might be some master data or config data. &lt;/P&gt;&lt;P&gt;moreover, if its a customizing table then you will have logs by default, else you need to  use maintenance events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say it from ME22n, ME52n etc. that mean you are changing business documents, mostly these are logged in CDPOS/CDHDR. just like when you click environment-&amp;gt;item changes in me23n, it actually reads from CDPOS and CDHDR. you can monitor these tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and yes, its a business document means it has a BOR object, BOR object has events like CREATE,CHANGE,DELETE etc etc.. with these event you can link workflows in SWE2. So, when ever any of these events trigger your workflow can trigger and you can put any logic. lets say for PO change you want to do some task, so for BUS2012, change event, you will link a WF. and inside the WF you can do the code..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 09:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441813#M1648661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-06T09:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441814#M1648662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The general solution you are looking for is not available, to my knowledge.&lt;/P&gt;&lt;P&gt;EBAN and MSEG are not logged, because they are tracked via change documents (CDHDR/CDPOS) by the application.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 14:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441814#M1648662</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-01-06T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441815#M1648663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seams reasonable to check CDHDR and CDPOS in order to track changes to business objects.. But. There are some very important tables that are not documented there.. The most obvious example is MSEG.. It has no change documents management..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, does any of you know any other method of triggering a program when tables change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Doron.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 21:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441815#M1648663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-07T21:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an event when writing to Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441816#M1648664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can go for MB_DOCUMENT_BADI. this badi triggers when a material document is posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 22:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event-when-writing-to-database/m-p/8441816#M1648664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-07T22:11:14Z</dc:date>
    </item>
  </channel>
</rss>

