<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387482#M1643573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I suggest is to create a event using SM62. This event should be raised by the program which inserts data to the mentioned table using the FM BP_EVENT_RAISE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the program which contains the logic of further processing should be scheduled in SM37 so that it listens to the created event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 13:56:29 GMT</pubDate>
    <dc:creator>antony_paul2</dc:creator>
    <dc:date>2011-12-02T13:56:29Z</dc:date>
    <item>
      <title>Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387480#M1643571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;                       I need to trigger an event when the following event occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a table there are 2 fields,when ever those two fields are filled a program should start automatically trigger.Can any one please let me know the step by step approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kartheek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 13:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387480#M1643571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387481#M1643572</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;Could you please share some more details.&lt;/P&gt;&lt;P&gt;Is it a custom table ? if yes create a maintenance generator.&lt;/P&gt;&lt;P&gt;if it is standard...check if you have any table maintenance generator available.&lt;/P&gt;&lt;P&gt;Try to use those table maintenance events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 13:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387481#M1643572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387482#M1643573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I suggest is to create a event using SM62. This event should be raised by the program which inserts data to the mentioned table using the FM BP_EVENT_RAISE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the program which contains the logic of further processing should be scheduled in SM37 so that it listens to the created event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 13:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387482#M1643573</guid>
      <dc:creator>antony_paul2</dc:creator>
      <dc:date>2011-12-02T13:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387483#M1643574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the reply,lemme make it more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom table which has 2 fields and its filled by some another program, basically the 2 fields are check boxes. so whenver these 2 fields are filled i need to run a program automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to acheive this,hope i m clear enough or let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kartheek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 14:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387483#M1643574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T14:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387484#M1643575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the below steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a Custom Event using transaction SM62.&lt;/P&gt;&lt;P&gt;2. In the first program which saves the data to the custom table. Call Function Module BP_EVENT_RAISE to raise the event created in step 1, after INSERT statement &amp;amp; COMMIT WORK.&lt;/P&gt;&lt;P&gt;3. Then the 2nd progam which you will be creating/created to do further processing should be scheduled in SM37. Here you can assign the event created in Step 1 as the starting event for the program while scheduing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 14:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387484#M1643575</guid>
      <dc:creator>antony_paul2</dc:creator>
      <dc:date>2011-12-02T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387485#M1643576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For further clarification, the actual change in the database does not trigger an event that you could link the execution of an ABAP program to (to my best knowledge, not sure about Workflow possibilities, if any). That's why you have to tackle this in a different way, e.g. as explained by Antony.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 15:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387485#M1643576</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-12-02T15:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387486#M1643577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kartheek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this in  both ways with or without the use of work flows, But If the table is a custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the table maintainace generator menu, enviornment-&amp;gt;Modification-&amp;gt;Events , create a form routine and set condition like when the logic of form routine wil be executed(before data save or after new data saved) , there submit your program in the routine logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as soon as table contents changes-&amp;gt;Your form routine starts executing-&amp;gt;Your program will be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other way , create a work flow having a step with your code logic, bind it to an event of your custom class/BOR and trigger the event from the sam eform routine code. But this is bit complex than the previsous solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 14:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387486#M1643577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-05T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387487#M1643578</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;             Thanks a lot for all ur replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Antony,&lt;/P&gt;&lt;P&gt;                     Thanks for ur solution.Lemme tell you wat i have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a event in t.code SM64,which i have used in the function module   &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BP_EVENT_RAISE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      eventid                = 'ZCREATE'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      bad_eventid            = 1&lt;/P&gt;&lt;P&gt;      eventid_does_not_exist = 2&lt;/P&gt;&lt;P&gt;      eventid_missing        = 3&lt;/P&gt;&lt;P&gt;      raise_failed           = 4&lt;/P&gt;&lt;P&gt;      OTHERS                 = 5.&lt;/P&gt;&lt;P&gt;  COMMIT WORK.&lt;/P&gt;&lt;P&gt;In the t.code sm36 i have defined a background job with after event selection,so whenever the event is raised the job will run and the required reporting should continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here i m facing a small problem, even is getting raised perfectly but i m facing problem with back ground job as it is not running properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartheek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 07:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387487#M1643578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T07:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387488#M1643579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did the background job start running after the event ZCREATE is triggered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 07:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387488#M1643579</guid>
      <dc:creator>former_member777515</dc:creator>
      <dc:date>2011-12-06T07:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387489#M1643580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a small update, after event has been raised the background job started running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But a small problem i m facing,everytime i need to schedule the job with the start condition as "AFTER EVENT"...cant this be scheduled pemanently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartheek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 08:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387489#M1643580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T08:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387490#M1643581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please follow the below steps (WorkFlow):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;copy/pasted text removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you still face any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: never copy/paste without credit!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Dec 6, 2011 1:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 08:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387490#M1643581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T08:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387491#M1643582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks rajesh,but i was doing it programmatically and its almost done according to me but got stuck up in creating background job with start condition as "After event" permanently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any 1 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartheek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 08:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387491#M1643582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387492#M1643583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you check the "periodic" option when scheduling a job, it will reschedule itself everytime it starts running, thus listening to the same event again. Is that what you want?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387492#M1643583</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-12-06T12:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387493#M1643584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the scheduling part you can follow what Thomas has rightly suggested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the code you have provide I would suggest to call the COMMIT WORK first &amp;amp; then raise the event using the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 13:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387493#M1643584</guid>
      <dc:creator>antony_paul2</dc:creator>
      <dc:date>2011-12-06T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering an EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387494#M1643585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the replies..got the solution as directed by experts..this is helpful for starters...thanks again..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 08:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-an-event/m-p/8387494#M1643585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T08:01:12Z</dc:date>
    </item>
  </channel>
</rss>

