<?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: view key fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037761#M1700815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me which view you are creating as i am got getting such error while creating database view as well as maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149160" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149161" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Trivedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 04:25:01 GMT</pubDate>
    <dc:creator>former_member212705</dc:creator>
    <dc:date>2012-10-23T04:25:01Z</dc:date>
    <item>
      <title>view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037759#M1700813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I am facing an issue while creating a view (issue concerning the view’s key fields).&lt;/P&gt;&lt;P&gt;I am taking fields from tables VBAK and VBPA as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149055" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, all the fields were selected by default as key fields and I can’t select my own key fields.&lt;/P&gt;&lt;P&gt;Here is my table/join conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149056" width="450" /&gt;&lt;/P&gt;&lt;P&gt;How can I choose my own key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 15:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037759#M1700813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-22T15:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037760#M1700814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the key fields shown in a view are the result from the join.&lt;/P&gt;&lt;P&gt;If your join uses all key fields of one table, the result are all key fields of the other table (which in this case of course includes the key fields of the first table). So only if the view has logically seen a "key" not all fields are marked as key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I told it understandable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 18:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037760#M1700814</guid>
      <dc:creator>wol</dc:creator>
      <dc:date>2012-10-22T18:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037761#M1700815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me which view you are creating as i am got getting such error while creating database view as well as maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149160" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149161" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Trivedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 04:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037761#M1700815</guid>
      <dc:creator>former_member212705</dc:creator>
      <dc:date>2012-10-23T04:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037762#M1700816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked the tables and saw your join uses all key fields (MANDT, VBELN).&lt;/P&gt;&lt;P&gt;To have only the logical key fields marked as key you can change the order of the key. I. e. first fields must be the logical key fields of the tables. Then the other fields dont´t get the key mark:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/149152" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 07:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037762#M1700816</guid>
      <dc:creator>wol</dc:creator>
      <dc:date>2012-10-23T07:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037763#M1700817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, my issue is resolved.&lt;/P&gt;&lt;P&gt;I didn't know that the order of fields can influence the view key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 08:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037763#M1700817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-23T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037764#M1700818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am creating a Database view. The goal is to built an extrator on it and repicate it on BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 08:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037764#M1700818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-23T08:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: view key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037765#M1700819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay Amine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 09:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-key-fields/m-p/9037765#M1700819</guid>
      <dc:creator>former_member212705</dc:creator>
      <dc:date>2012-10-23T09:37:39Z</dc:date>
    </item>
  </channel>
</rss>

