<?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 ABAP CDS view - flatten structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-view-flatten-structure/m-p/505083#M17615</link>
    <description>&lt;P&gt;Hi Experts &lt;/P&gt;
  &lt;P&gt;Please see the picture below. I have a table with a typical "account layout" (SAP table is BP3010). What I want do do is to flatten the two lines into one record. On the right hand side you can see the result I get now (two lines). I get two lines because I have to include GRP_TYP and GRP to the GROUP BY of the select statement. Can I use come kind of aggregation function for create just one record and not two? I tried to use MAX but that didnt work. Any suggestions on how to achieve this? &lt;/P&gt;
  &lt;P&gt;Kind regards &lt;/P&gt;
  &lt;P&gt;Erik &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/89273-question.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 11:47:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-11-27T11:47:34Z</dc:date>
    <item>
      <title>ABAP CDS view - flatten structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-view-flatten-structure/m-p/505083#M17615</link>
      <description>&lt;P&gt;Hi Experts &lt;/P&gt;
  &lt;P&gt;Please see the picture below. I have a table with a typical "account layout" (SAP table is BP3010). What I want do do is to flatten the two lines into one record. On the right hand side you can see the result I get now (two lines). I get two lines because I have to include GRP_TYP and GRP to the GROUP BY of the select statement. Can I use come kind of aggregation function for create just one record and not two? I tried to use MAX but that didnt work. Any suggestions on how to achieve this? &lt;/P&gt;
  &lt;P&gt;Kind regards &lt;/P&gt;
  &lt;P&gt;Erik &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/89273-question.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 11:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-view-flatten-structure/m-p/505083#M17615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-27T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS view - flatten structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-view-flatten-structure/m-p/505084#M17616</link>
      <description>&lt;P&gt;Use INNER JOIN on same table using partner as key. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 12:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-view-flatten-structure/m-p/505084#M17616</guid>
      <dc:creator>Sathya_Gunasekaran</dc:creator>
      <dc:date>2017-11-27T12:02:00Z</dc:date>
    </item>
  </channel>
</rss>

