<?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>Question Re: SAC catch error from Planning Sequence in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sac-catch-error-from-planning-sequence/qaa-p/13660260#M4824429</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1432177"&gt;@ERivetti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm using the following code to stop the execution of my function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;var DataActionResponse = DataAction.execute();
if (DataActionResponse.status !== DataActionExecutionResponseStatus.Success){
break;
} &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Susanne&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 09:46:41 GMT</pubDate>
    <dc:creator>Susanne_Helbig</dc:creator>
    <dc:date>2024-04-05T09:46:41Z</dc:date>
    <item>
      <title>SAC catch error from Planning Sequence</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-catch-error-from-planning-sequence/qaq-p/13660121</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm launching a planning sequence in SAC which throws an error if some conditions are met. The error is caught in SAC but the code after keeps running, even if the planning sequence raised the error. I need the code to stop, but do not know the instruction to use.&lt;/P&gt;&lt;P&gt;I need something like a try/catch statement, or a "On Error go to", to stop th code execution in SAC&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 07:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-catch-error-from-planning-sequence/qaq-p/13660121</guid>
      <dc:creator>ERivetti</dc:creator>
      <dc:date>2024-04-05T07:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAC catch error from Planning Sequence</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-catch-error-from-planning-sequence/qaa-p/13660260#M4824429</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1432177"&gt;@ERivetti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm using the following code to stop the execution of my function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;var DataActionResponse = DataAction.execute();
if (DataActionResponse.status !== DataActionExecutionResponseStatus.Success){
break;
} &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Susanne&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 09:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-catch-error-from-planning-sequence/qaa-p/13660260#M4824429</guid>
      <dc:creator>Susanne_Helbig</dc:creator>
      <dc:date>2024-04-05T09:46:41Z</dc:date>
    </item>
  </channel>
</rss>

