<?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: Change ABAP Program return code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-program-return-code/m-p/872689#M50163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Svetlana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I suggest a solution that is closer to standard?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could schedule your job with only the first program due to run.  If it runs sucessfully, it will programatically submit a new job with the next abap program to run, and if not, it write a log (spool, or messages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does that sound?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your first program is a standard program and you don't wish to modify it, you could schedule your job with the standard program first, followed by a custom program that could determine the sucess of the first (by checking database entries, or by reading the spool of the first program, etc.) and then it would submit the subsequent jobs (or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2005 13:57:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-22T13:57:38Z</dc:date>
    <item>
      <title>Change ABAP Program return code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-program-return-code/m-p/872688#M50162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ABAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change internal return(message) code inside APAP program (report).&lt;/P&gt;&lt;P&gt;Program starts  as the first program in a scheduled job with several programs in, and we want to have the following  programs do not start in some cases which are evaluated in the first program. Normally program ends will internal return (message) code 0000. I need to change this return code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Svetlana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2005 13:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-program-return-code/m-p/872688#M50162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-22T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP Program return code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-program-return-code/m-p/872689#M50163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Svetlana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I suggest a solution that is closer to standard?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could schedule your job with only the first program due to run.  If it runs sucessfully, it will programatically submit a new job with the next abap program to run, and if not, it write a log (spool, or messages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does that sound?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your first program is a standard program and you don't wish to modify it, you could schedule your job with the standard program first, followed by a custom program that could determine the sucess of the first (by checking database entries, or by reading the spool of the first program, etc.) and then it would submit the subsequent jobs (or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2005 13:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-program-return-code/m-p/872689#M50163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-22T13:57:38Z</dc:date>
    </item>
  </channel>
</rss>

