<?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: cds view case syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572014#M2008598</link>
    <description>&lt;P&gt;Hello Sandra thank you for reply&lt;/P&gt;&lt;P&gt;i have a CDS view on reguh/regup table with an association to lfa1&lt;/P&gt;&lt;P&gt;i'm trying to build a consumption view in witch i have a new column with the concatenation of the address&lt;/P&gt;&lt;P&gt;the issue is that according to the value of lifnr i have to use reguh field for my concatenation when lifnr is numc ('12345' ) other wise (ABCDE) i have to concatenate the value for _lfa1.&lt;/P&gt;&lt;P&gt;i'm struggling with the syntax ( how to check if the value is numeric or not ) like the abap function check &lt;STRONG&gt;CATS_NUMERIC_INPUT_CHECK or using regex .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I read documentation about regex in cds with i can't figure out what is the correct syntax&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 14:13:43 GMT</pubDate>
    <dc:creator>marco_sposa</dc:creator>
    <dc:date>2022-05-20T14:13:43Z</dc:date>
    <item>
      <title>cds view case syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572012#M2008596</link>
      <description>&lt;P&gt;Hello expert,&lt;/P&gt;
  &lt;P&gt;i'm struggling with a CDS view syntax. &lt;/P&gt;
  &lt;P&gt;According to fact that the supplier value is only numerical or aplhanumerical i will concatenate field in a different order.&lt;/P&gt;
  &lt;P&gt;in my case&lt;/P&gt;
  &lt;P&gt;something like&lt;/P&gt;
  &lt;P&gt;Thank in advance&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;case
when lifnr (is numerical)
then concat_with_space(...
else
concat_with_space(...
end as zdef&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 May 2022 12:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572012#M2008596</guid>
      <dc:creator>marco_sposa</dc:creator>
      <dc:date>2022-05-20T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: cds view case syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572013#M2008597</link>
      <description>&lt;P&gt;What is your issue? Can you explain with example what is the input data, and what you expect?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 13:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572013#M2008597</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-05-20T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: cds view case syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572014#M2008598</link>
      <description>&lt;P&gt;Hello Sandra thank you for reply&lt;/P&gt;&lt;P&gt;i have a CDS view on reguh/regup table with an association to lfa1&lt;/P&gt;&lt;P&gt;i'm trying to build a consumption view in witch i have a new column with the concatenation of the address&lt;/P&gt;&lt;P&gt;the issue is that according to the value of lifnr i have to use reguh field for my concatenation when lifnr is numc ('12345' ) other wise (ABCDE) i have to concatenate the value for _lfa1.&lt;/P&gt;&lt;P&gt;i'm struggling with the syntax ( how to check if the value is numeric or not ) like the abap function check &lt;STRONG&gt;CATS_NUMERIC_INPUT_CHECK or using regex .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I read documentation about regex in cds with i can't figure out what is the correct syntax&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 14:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572014#M2008598</guid>
      <dc:creator>marco_sposa</dc:creator>
      <dc:date>2022-05-20T14:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: cds view case syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572015#M2008599</link>
      <description>&lt;P&gt;&lt;STRONG&gt;REPLACE_REGEXPR&lt;/STRONG&gt; exists since ABAP 7.55. What is your version?&lt;/P&gt;&lt;P&gt;Moreover, it can be used only on a View Entity, not DDIC-Based View.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 08:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572015#M2008599</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-05-21T08:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: cds view case syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572016#M2008600</link>
      <description>&lt;P&gt;Hello thanx for your reply it's DDIC-based view and i'm not trying to cleansing the value just check if it's numeric or not, i though i could do it in the cds&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-view-case-syntax/m-p/12572016#M2008600</guid>
      <dc:creator>marco_sposa</dc:creator>
      <dc:date>2022-05-23T07:43:00Z</dc:date>
    </item>
  </channel>
</rss>

