<?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: Method for Casting with Where condition in CDS view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-for-casting-with-where-condition-in-cds-view/m-p/12670570#M2016240</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Remove the ' ' single quotes and check - ausp.atinn = asdfgh&lt;/P&gt;&lt;P&gt;Single quote will be used for data types with Char.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt; create a new column using cast statement as cast (AUSP-ATINN as char10) as Atinn&lt;/P&gt;&lt;P&gt;and use this column in composite view where
condition&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 13:44:11 GMT</pubDate>
    <dc:creator>SeshaP</dc:creator>
    <dc:date>2023-05-31T13:44:11Z</dc:date>
    <item>
      <title>Method for Casting with Where condition in CDS view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-for-casting-with-where-condition-in-cds-view/m-p/12670569#M2016239</link>
      <description>&lt;P&gt;The following error was displayed when creating CDS view on Eclipse.&lt;/P&gt;
  &lt;P&gt;"Field AUSP-ATINN（type conflict in selection condition)"&lt;/P&gt;
  &lt;P&gt;My guess is that this error is caused by the item specified in the Where condition being defined in Numc.&lt;/P&gt;
  &lt;P&gt;But you can't do a Cast inside a Where condition. Is there a better way?&lt;/P&gt;
  &lt;P&gt;I specified the Where condition with the following syntax.&lt;/P&gt;
  &lt;P&gt;where ausp.atinn = 'asdfgh'&lt;/P&gt;
  &lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 05:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-for-casting-with-where-condition-in-cds-view/m-p/12670569#M2016239</guid>
      <dc:creator>former_member854927</dc:creator>
      <dc:date>2023-04-28T05:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Method for Casting with Where condition in CDS view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-for-casting-with-where-condition-in-cds-view/m-p/12670570#M2016240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Remove the ' ' single quotes and check - ausp.atinn = asdfgh&lt;/P&gt;&lt;P&gt;Single quote will be used for data types with Char.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt; create a new column using cast statement as cast (AUSP-ATINN as char10) as Atinn&lt;/P&gt;&lt;P&gt;and use this column in composite view where
condition&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 13:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-for-casting-with-where-condition-in-cds-view/m-p/12670570#M2016240</guid>
      <dc:creator>SeshaP</dc:creator>
      <dc:date>2023-05-31T13:44:11Z</dc:date>
    </item>
  </channel>
</rss>

