<?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 WAIT UNTIL statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900235#M1792388</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;&lt;/P&gt;&lt;P&gt;We got one requirement where we have one report program which will send out emails in bulk ( 400 K ). The entire logic sending out email is located inside a loop condition. Our business wants to send 10k mails at a time and there should be a gap of 3 hours and then send again 10k mails. Like this job has to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok to put WAIT statement for 3 hours at the end of the loop to control the duration. I really search for side effects wait statement but could not get any answer. Please give your valuable input. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 01:10:07 GMT</pubDate>
    <dc:creator>praveen_kumar194</dc:creator>
    <dc:date>2013-12-04T01:10:07Z</dc:date>
    <item>
      <title>WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900235#M1792388</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;&lt;/P&gt;&lt;P&gt;We got one requirement where we have one report program which will send out emails in bulk ( 400 K ). The entire logic sending out email is located inside a loop condition. Our business wants to send 10k mails at a time and there should be a gap of 3 hours and then send again 10k mails. Like this job has to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok to put WAIT statement for 3 hours at the end of the loop to control the duration. I really search for side effects wait statement but could not get any answer. Please give your valuable input. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 01:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900235#M1792388</guid>
      <dc:creator>praveen_kumar194</dc:creator>
      <dc:date>2013-12-04T01:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900236#M1792389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why don't you schedule the report as a background job with time interval = 3 hours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 02:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900236#M1792389</guid>
      <dc:creator>JerryWang</dc:creator>
      <dc:date>2013-12-04T02:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900237#M1792390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;You could actually schedule the program within itself to start again in three hours time.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;See FM JOB_OPEN and check out its documentation, which explains it's use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending out 400K emails is quite a lot.&amp;nbsp; Double check if this is absolutely necessary and hopefully it is not something that needs to be periodically repeated, as I can see that this solution will only smooth over any performance issues you are facing without really tackling the problem.&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;Katan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 02:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900237#M1792390</guid>
      <dc:creator>Katan</dc:creator>
      <dc:date>2013-12-04T02:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900238#M1792391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a suggestion. &lt;/P&gt;&lt;P&gt;Making a program wait for&amp;nbsp; hours does not make sense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a condition for sending only 10K emails at a time and schedule the report for every 3 hrs and in the next batch send the next 10K emails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you might have an issue for selecting the records for the 2nd batch execution. To solve this for already processed records, you can update a STATUS field in table. If this is a standard table, then store the fetched records to a temp table and set the status, so that you can cross check the already processed records and daily u can refresh this temp table based on creation date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Josh&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 04:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900238#M1792391</guid>
      <dc:creator>JJosh</dc:creator>
      <dc:date>2013-12-04T04:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900239#M1792392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can schedule a job which will start after 3 hours to send the next set of emails. It will be sort of recursive till all email are send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time program run it send 10K emails and schedule a job for the program to start after 3 hours to send next 10K. Same goes on till all are sent. You have to keep track of what all have been sent and what is pending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900239#M1792392</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-12-04T05:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900240#M1792393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wait Until doesn't seems to be working for 3 hours. Schedule a job to run in 3 hours with different variants. I mean in the first variant give first 10000 mail recipient addresses, second one next 10000 addresses and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900240#M1792393</guid>
      <dc:creator>faisal_pc</dc:creator>
      <dc:date>2013-12-04T06:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900241#M1792394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try with different selection parameters with report&amp;nbsp; &lt;STRONG&gt;RSCONN01 &lt;/STRONG&gt;(Schedule this report in BG as per your required intervals)&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhumahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900241#M1792394</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2013-12-04T06:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900242#M1792395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900242#M1792395</guid>
      <dc:creator>yogendra_bhaskar</dc:creator>
      <dc:date>2013-12-04T07:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: WAIT UNTIL statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900243#M1792396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't call RSCONN01 within your report, but change value of "maximal Maximum No. of Send Requests" in a copy of variant SAP&amp;amp;CONNECTINT or similar standard variant, then schedule it with a period of 3 hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 10:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-until-statement/m-p/9900243#M1792396</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-12-30T10:30:12Z</dc:date>
    </item>
  </channel>
</rss>

