<?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: create an event for background processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283903#M1388762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for your reply Sourabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my doubt is how will i  recognize ,one new contract is created or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2009 05:26:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-16T05:26:20Z</dc:date>
    <item>
      <title>create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283899#M1388758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to trigger a job in background ,while new contracts are created. I have created a program to sent contract details by email. I want to trigger the program after any new contract is created in the system.Is it possible to create an event in sm62  for this purpose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 08:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283899#M1388758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-15T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283900#M1388759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The transaction &lt;STRONG&gt;SM62&lt;/STRONG&gt; is used to create a user event, i.e the evet user creates and trigers himself. If this is the case, u can try this. Or else try to schdule it in &lt;STRONG&gt;SM 36&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 09:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283900#M1388759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-15T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283901#M1388760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will be scheduling in SM36 only.But i want the start condition as after creation of a new contract. how can i specify the 'After event' start condition for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 12:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283901#M1388760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-15T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283902#M1388761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Misha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are two ways to create an event driven job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the program where you are generating success message, after that call function module BP_RAISE_EVENT. &lt;/P&gt;&lt;P&gt;you can get more detail on this function module by going to the below link : &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/EN/fa/096e5e543b11d1898e0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/EN/fa/096e5e543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: you can Create a Event in the SM62&lt;/P&gt;&lt;P&gt;but you need to raise this event in a program using the function BP_RAISE_EVENT&lt;/P&gt;&lt;P&gt;The following example may help:&lt;/P&gt;&lt;P&gt;eventid = 'ZSUCCESS.(name of the event)&lt;/P&gt;&lt;P&gt;eventparm = 'SUCCESS'.(identification of the event)&lt;/P&gt;&lt;P&gt;FORM RAISE_EVNT.&lt;/P&gt;&lt;P&gt;&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 = EVENTID&lt;/P&gt;&lt;P&gt;EVENTPARM = EVENTPARM&lt;/P&gt;&lt;P&gt;TARGET_INSTANCE = ' '&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;BAD_EVENTID = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " RAISE_EVNT&lt;/P&gt;&lt;P&gt;Once an event is created, you can schedule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;background jobs to wait for the event to be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Now you can directly go to sm36 ans there after creation of jobs you can specify the condition over there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be the above solution will be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sourabh Batwara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 12:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283902#M1388761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-15T12:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283903#M1388762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for your reply Sourabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my doubt is how will i  recognize ,one new contract is created or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 05:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283903#M1388762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T05:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283904#M1388763</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 create the user contact ther should be  table which will be updated. Check if the table is updated with a new contact then call the FM to raise the event.&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;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 05:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283904#M1388763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T05:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283905#M1388764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for your reply Sourabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my doubt is how will i  recognize ,one new contract is created or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 06:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283905#M1388764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283906#M1388765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for your reply Sourabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my doubt is how will i  recognize ,one new contract is created or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 06:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283906#M1388765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T06:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: create an event for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283907#M1388766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mishi,&lt;/P&gt;&lt;P&gt;you must be passing some success message after creation of a contract and if not then do some debugging and find out the place where your program is creating the contract. there you can use the piece of code written in my last post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh Batwara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 14:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-event-for-background-processing/m-p/6283907#M1388766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T14:43:16Z</dc:date>
    </item>
  </channel>
</rss>

