<?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: Background job getting cancelled when using submit statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808236#M1881612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;you can use control statement like "if statement" as a check.&lt;/P&gt;&lt;P&gt;if there is no record in internal table don't even need to submit.&lt;/P&gt;&lt;P&gt;propt the user with message "no record found/ no dump found"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2015 12:46:17 GMT</pubDate>
    <dc:creator>abdul_hafeez4</dc:creator>
    <dc:date>2015-01-05T12:46:17Z</dc:date>
    <item>
      <title>Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808233#M1881609</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 have a requirement where i need to extract output ST22 tcode into an excel on daily basis via a custom report.&lt;/P&gt;&lt;P&gt;For this i have created custom report in which i have used “SUBMIT” statement, and i am running this report daily in background to get the list of dumps for that day into an excel.&lt;/P&gt;&lt;P&gt;But the problem is if we have some dumps for that particular day, then background job is getting finished and output is generated.&lt;/P&gt;&lt;P&gt;If there are no dumps for particular day then back ground job is getting cancelled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 11:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808233#M1881609</guid>
      <dc:creator>hemasudhad</dc:creator>
      <dc:date>2015-01-05T11:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808234#M1881610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;You can use "Submit and return " statement. As in your case, if there is no record is found, it must not go for generating excel sheet. Put the check if no record found dont go for excel generating.&lt;/P&gt;&lt;P&gt;Hope these two steps will resolve your query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 11:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808234#M1881610</guid>
      <dc:creator>abdul_hafeez4</dc:creator>
      <dc:date>2015-01-05T11:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808235#M1881611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell me which check i need to use.&lt;/P&gt;&lt;P&gt;I have tried to check sy-subrc value after submit statement. Sy-subrc will be always 0 as submit is working fine.&lt;/P&gt;&lt;P&gt;I also had put a check on number of entries fetched after executing Submit statement, if there are some dumps then internal table will have some values, else internal table will be empty. i have put a check on internal table was well but it didn't work out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 12:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808235#M1881611</guid>
      <dc:creator>hemasudhad</dc:creator>
      <dc:date>2015-01-05T12:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808236#M1881612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;you can use control statement like "if statement" as a check.&lt;/P&gt;&lt;P&gt;if there is no record in internal table don't even need to submit.&lt;/P&gt;&lt;P&gt;propt the user with message "no record found/ no dump found"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 12:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808236#M1881612</guid>
      <dc:creator>abdul_hafeez4</dc:creator>
      <dc:date>2015-01-05T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808237#M1881613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdul,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But to put a check on internal table i should first execute submit statement, output which has come using submit will be stored in the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 13:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808237#M1881613</guid>
      <dc:creator>hemasudhad</dc:creator>
      <dc:date>2015-01-05T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Background job getting cancelled when using submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808238#M1881614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question posted already Dec 21, 2014, and rejected. Thread locked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 13:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-getting-cancelled-when-using-submit-statement/m-p/10808238#M1881614</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-01-05T13:14:51Z</dc:date>
    </item>
  </channel>
</rss>

