<?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 CDS - Primary key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685800#M1946026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a CDS view but the problem in that is all fields defined are marked as primary key. I have defined the "key" for only the first two fields but the other four fields are set as primary as well. How to avoid it?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 05:08:44 GMT</pubDate>
    <dc:creator>former_member182337</dc:creator>
    <dc:date>2016-04-26T05:08:44Z</dc:date>
    <item>
      <title>CDS - Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685800#M1946026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a CDS view but the problem in that is all fields defined are marked as primary key. I have defined the "key" for only the first two fields but the other four fields are set as primary as well. How to avoid it?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685800#M1946026</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2016-04-26T05:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: CDS - Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685801#M1946027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;Are you talking about the display of keys in SE11 ? You should just ignore it. For CDS only your marked keys are keys!&lt;/P&gt;&lt;P&gt;Regards, Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 06:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685801#M1946027</guid>
      <dc:creator>thomasgauweiler</dc:creator>
      <dc:date>2016-04-26T06:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: CDS - Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685802#M1946028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you but it is confusing though. Isn't there any workaround to avoid it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 06:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685802#M1946028</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2016-04-26T06:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: CDS - Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685803#M1946029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes: do not use SE11 any more &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The information visible there is missleading in several cases. &lt;/P&gt;&lt;P&gt;E.g. CDS views with unions will have each field twice in SE11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 07:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-primary-key/m-p/11685803#M1946029</guid>
      <dc:creator>thomasgauweiler</dc:creator>
      <dc:date>2016-04-26T07:23:07Z</dc:date>
    </item>
  </channel>
</rss>

