<?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 event triggers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933366#M61364</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;        i want to know how the event triggers are used in ABAP. i am new to event triggers, so please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2005 11:32:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-19T11:32:41Z</dc:date>
    <item>
      <title>event triggers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933366#M61364</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;        i want to know how the event triggers are used in ABAP. i am new to event triggers, so please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 11:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933366#M61364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T11:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: event triggers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933367#M61365</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;Check this.It can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points by clicking the star on the left of reply,if it is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 11:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933367#M61365</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-19T11:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: event triggers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933368#M61366</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;Go to link &lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Salil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 11:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933368#M61366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: event triggers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933369#M61367</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;Following are some details about the SAP Event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SAP event is a "flag" that is created in SAP (SM62). This event (or flag) can be triggered (from a Unix job to an incoming file), causing a job to execute in the background. This event (or flag) can be triggered within R/3 or can be done at the Unix level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, create an event in SM62. It&amp;#146;s easy - just create it under "user event names" and "maintain". You&amp;#146;ll find the create option from there. &lt;/P&gt;&lt;P&gt;Once created go to SM36 and create the job. Put in the job name you want to call it - fill in the ABAP/4 program you&amp;#146;ll want executed, but under "START DATE" select option AFTER EVENT. Then plug in your SAP event name you created. Fill in the remaining information on this screen and save. &lt;/P&gt;&lt;P&gt;Once saved, an entry is put in table BTCEVTJOB. The entry is the name of the event you raised. This is the system&amp;#146;s way of keeping track of which jobs are in the queue waiting for an event to occur. &lt;/P&gt;&lt;P&gt;Now, once the event is triggered this newly created job will execute. The event can be triggered via sap (SM64) or at the Unix level. &lt;/P&gt;&lt;P&gt;SM64 is pretty self-explanatory. To get the event triggered from Unix: &lt;/P&gt;&lt;P&gt;-Log into the &amp;lt;SID&amp;gt;adm user id at the Unix level and go to directory /usr/sap/&amp;lt;SYSID&amp;gt;/SYS/exe/run (there is an alias called 'cdexe' that will get you there) &lt;/P&gt;&lt;P&gt;-From there look for an executable called sapevt. Open another Unix window cause now you are going to need to cut and paste. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-At the other sap window switch user to the &amp;lt;SID&amp;gt;adm user and go to the /usr/sap/&amp;lt;SYSID&amp;gt;/SYS/profile directory ('cdpro' is the alias) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Do an "ll | more" and look for the instance profile name (the sapevt executable will want this!) Example: &amp;lt;SID&amp;gt;_DVEBMGS00_&amp;lt;SYSNAME&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Go back to the sapevt window and enter this command to get the event to raise: &lt;/P&gt;&lt;P&gt;sapevt &amp;lt;event_name&amp;gt; -t pf=&amp;lt;instance_profile_directory_and_name&amp;gt; nr=&amp;lt;SYS_number&amp;gt; &lt;/P&gt;&lt;P&gt;Example: sapevt roberts_test -t pf=/usr/sap/&amp;lt;SID&amp;gt;/SYS/profile/&amp;lt;SID&amp;gt;_DVEBMGS00_&amp;lt;SYSNAME&amp;gt; nr=00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-This will raise the event, and cause the job scheduled within SAP to execute. &lt;/P&gt;&lt;P&gt;Once the job has executed the SAP event that was in the table BTCEVTJOB will disappear. &lt;/P&gt;&lt;P&gt;Another table, TABTCO, will now have an entry in it with the SAP job that was executed. Once you&amp;#146;ve found that job name in this table you can double click on its entry and see that it was executed via an event. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;To set TRACE level WITHOUT bringing down the system: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the dispatcher process at the Unix level like this: &lt;/P&gt;&lt;P&gt;ps -ef | grep dw.sap | more &lt;/P&gt;&lt;P&gt;In the third column look for the "child" process ID number that repeats itself over and over &lt;/P&gt;&lt;P&gt;Then verify that number to the number in the second column, which should be the parent PID number. &lt;/P&gt;&lt;P&gt;Then issue the Unix command: kill -usr3 parent-pid-number (to turn on level 3 trace) &lt;/P&gt;&lt;P&gt;kill -usr2 parent-pid-number (to turn on level 2 trace) &lt;/P&gt;&lt;P&gt;kill -usr1 parent-pid-number (to turn on level 1 trace) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Transport Maintenance Dialogs, you need to enter the object(s) in the following manner in the command file: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R3TR TOBJ tablename &amp;#133;. (11th position) S &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Group &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the entries for your table in TVDIR and TDDAT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see if a rollback is occurring at the Informix database level, do the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onstat -u | more &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for the letter "R" in the 3rd column under the "flags". "R" means rollback - "P" means primary - "X" means critical&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 11:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-triggers/m-p/933369#M61367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T11:51:40Z</dc:date>
    </item>
  </channel>
</rss>

