<?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: Displaying errors &amp;amp; warnings simultaneously in the me... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaa-p/14234328#M4928254</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//req.error ("Sent with errors.");&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;req&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;messages&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;push&lt;/SPAN&gt;&lt;SPAN&gt; ({ &lt;/SPAN&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"Sent with errors."&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;numericSeverity&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Oct 2025 13:15:54 GMT</pubDate>
    <dc:creator>abelousov</dc:creator>
    <dc:date>2025-10-03T13:15:54Z</dc:date>
    <item>
      <title>Displaying errors &amp; warnings simultaneously in the message popup</title>
      <link>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaq-p/13968795</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm using CAP(Node.js) with odata(v4) &amp;amp; fiori elements. My requirement is to display error &amp;amp; warning messages in the same message popover similar to the one available in ui5 :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/203839iCC15E7E999F608BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; With fiori elements you can use req.error() or req.warn() to show these messages, But the problem is when i use them both together only the errors are shown. The warnings are shown only if there are no errors. Is this the standard behavior or is there a way to show them both together ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 21:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaq-p/13968795</guid>
      <dc:creator>David21</dc:creator>
      <dc:date>2024-12-19T21:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors &amp; warnings simultaneously in the me...</title>
      <link>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaa-p/13969541#M4897029</link>
      <description>&lt;P&gt;You can work around this CAP node.js behavior using an &lt;A href="https://cap.cloud.sap/docs/node.js/core-services#srv-on-error" target="_self"&gt;error handler&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    this.on("error", (err, req) =&amp;gt; {

    if (req.messages) {
      err.details = err.details ? err.details.concat(req.messages) : req.messages;
    }
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 18:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaa-p/13969541#M4897029</guid>
      <dc:creator>Dinu</dc:creator>
      <dc:date>2024-12-20T18:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors &amp; warnings simultaneously in the me...</title>
      <link>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaa-p/14234328#M4928254</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//req.error ("Sent with errors.");&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;req&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;messages&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;push&lt;/SPAN&gt;&lt;SPAN&gt; ({ &lt;/SPAN&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"Sent with errors."&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;numericSeverity&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Oct 2025 13:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/displaying-errors-amp-warnings-simultaneously-in-the-message-popup/qaa-p/14234328#M4928254</guid>
      <dc:creator>abelousov</dc:creator>
      <dc:date>2025-10-03T13:15:54Z</dc:date>
    </item>
  </channel>
</rss>

