<?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: DDL Source Association errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049550#M1968645</link>
    <description>&lt;P&gt;Thanks for pointing me to the link, i have gone through it but there isn't any information regarding the warning message in the association. (Warning message: “Association _XXXXXX can influence the cardinality of the resulting set”)&lt;/P&gt;&lt;P&gt;Regarding issue 1: In the output we can navigate to the associated table/view using "Follow Association", in my case it is giving me an error message when i use "Parameters" in the DDL source otherwise it is working.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1730771-ddl-source.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 14:11:42 GMT</pubDate>
    <dc:creator>srikanthnalluri</dc:creator>
    <dc:date>2019-09-19T14:11:42Z</dc:date>
    <item>
      <title>CDS: DDL Source Association errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049548#M1968643</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I am trying to create a basic CDS view with association, but ended with up with two issues. Could you please point me in right direction. &lt;/P&gt;
  &lt;P&gt;Issue 1: When i use parameter in the below example, the "Follow Association" options doesn't work but if i comment the parameter it does work. &lt;/P&gt;
  &lt;P&gt;Issue 2: When I specify the cardinality [0..*] or [1..*] I am getting an warning message “Association _salesitem can influence the cardinality of the resulting set” in the path expression. In this case i am not accessing any fields in the path expression. &lt;/P&gt;
  &lt;P&gt;SAP_ABA - Release 740 and SP-Level 0017&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;@AbapCatalog.sqlViewName: 'zsnv_cds_case'
define view ZSN_CDS_CASE 
    with parameters Salesorder : vbeln
    as select from vbak 
    association [1..*] to vbap as _salesitem on
        $projection.vbeln = _salesitem.vbeln
    {
    vbak.vbeln,
    case ( vbak.vbtyp )
        when 'C' then 'Order'
        when 'G' then 'Contract'
        else 'Other' 
    end as OrderType,
    vbak.kunnr,
    case 
        when _salesitem.netpr &amp;lt;= 100 then 'Small Order'
        else 'Consider Big order'
    end as OrderRange,
    _salesitem
    } 
where vbak.vbeln = $parameters.Salesorder
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049548#M1968643</guid>
      <dc:creator>srikanthnalluri</dc:creator>
      <dc:date>2019-09-18T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: CDS: DDL Source Association errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049549#M1968644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you are facing this issue because you are using the association in SELECT statement. i couldn't really understand what exactly do you mean by 'Follow Association'. But i am sure all your questions could be answered by this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2018/08/20/cardinality-of-association-in-cds-view/"&gt;https://blogs.sap.com/2018/08/20/cardinality-of-association-in-cds-view/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GK&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 16:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049549#M1968644</guid>
      <dc:creator>GK817</dc:creator>
      <dc:date>2019-09-18T16:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: CDS: DDL Source Association errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049550#M1968645</link>
      <description>&lt;P&gt;Thanks for pointing me to the link, i have gone through it but there isn't any information regarding the warning message in the association. (Warning message: “Association _XXXXXX can influence the cardinality of the resulting set”)&lt;/P&gt;&lt;P&gt;Regarding issue 1: In the output we can navigate to the associated table/view using "Follow Association", in my case it is giving me an error message when i use "Parameters" in the DDL source otherwise it is working.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1730771-ddl-source.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 14:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-ddl-source-association-errors/m-p/12049550#M1968645</guid>
      <dc:creator>srikanthnalluri</dc:creator>
      <dc:date>2019-09-19T14:11:42Z</dc:date>
    </item>
  </channel>
</rss>

