<?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: Raising event whenever a document gets changed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756890#M1304123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In order to record / log changes which are made to a business object an change document object must be created.&lt;/P&gt;&lt;P&gt;then this change document object is then assigned to an event and then appropriate action ie. create/change/display is defined.&lt;/P&gt;&lt;P&gt;the assignement between the change document is done using the tcode : SWEC&lt;/P&gt;&lt;P&gt;so when an events get triggered based on whether the object was changed, displayed, created then a function module can be called . this can be done by using SWETYPV.&lt;/P&gt;&lt;P&gt;in this function module we can then write the custom coding that we need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you create a object using SWEC and then assign an event to it in SWEC for change.&lt;/P&gt;&lt;P&gt;2. then using SWETYPV you assign a receiver function to that event.&lt;/P&gt;&lt;P&gt;3. now write the required custom coding in your function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Punit Raval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 04:55:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-24T04:55:04Z</dc:date>
    <item>
      <title>Raising event whenever a document gets changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756887#M1304120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;how can we check whether any contents of table gets changed without using an abap report.&lt;/P&gt;&lt;P&gt;the req is that i need to send a mail to another department whenever the content of table gets changed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 16:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756887#M1304120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-23T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Raising event whenever a document gets changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756888#M1304121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rocky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a custom table then you can put the code in the 'events' of the TMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 16:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756888#M1304121</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-06-23T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Raising event whenever a document gets changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756889#M1304122</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;Try to create a Table Maintenance &amp;amp; an Event for the table.&lt;/P&gt;&lt;P&gt;Under the Event, you can write your coding for sending a mail whenever a Record is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 16:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756889#M1304122</guid>
      <dc:creator>former_member229729</dc:creator>
      <dc:date>2009-06-23T16:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Raising event whenever a document gets changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756890#M1304123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In order to record / log changes which are made to a business object an change document object must be created.&lt;/P&gt;&lt;P&gt;then this change document object is then assigned to an event and then appropriate action ie. create/change/display is defined.&lt;/P&gt;&lt;P&gt;the assignement between the change document is done using the tcode : SWEC&lt;/P&gt;&lt;P&gt;so when an events get triggered based on whether the object was changed, displayed, created then a function module can be called . this can be done by using SWETYPV.&lt;/P&gt;&lt;P&gt;in this function module we can then write the custom coding that we need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you create a object using SWEC and then assign an event to it in SWEC for change.&lt;/P&gt;&lt;P&gt;2. then using SWETYPV you assign a receiver function to that event.&lt;/P&gt;&lt;P&gt;3. now write the required custom coding in your function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Punit Raval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 04:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-event-whenever-a-document-gets-changed/m-p/5756890#M1304123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T04:55:04Z</dc:date>
    </item>
  </channel>
</rss>

