<?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 on 2 database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145316#M1976420</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;pakpak&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Using Associations or Joins depends on the business scenario you are in, from what i see in your requirement it would suffice if you can use Joins in the CDS. &lt;/P&gt;&lt;P&gt;However understanding the CDS and types is very important before getting onto any coding, recommend you to go through the below links for better understanding and it should improve your knowledge base in CDS.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.saplearners.com/how-to-use-joins-in-abap-cds-views-on-hana/" target="_blank"&gt;LINK1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2017/09/16/abap-core-data-services-part-2types-of-cds-views/" target="_blank"&gt;LINK2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://vikiltyagi.wordpress.com/2017/12/17/steps-for-creating-cds-view-using-inner-join-and-consuming-it-in-abap-program/" target="_blank"&gt;LINK3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 05:24:33 GMT</pubDate>
    <dc:creator>former_member1716</dc:creator>
    <dc:date>2020-06-16T05:24:33Z</dc:date>
    <item>
      <title>CDS on 2 database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145315#M1976419</link>
      <description>&lt;P&gt;Hi, I try to make project on abap development in eclipse that have 2 database table (A and B) that table A get foreign key from table B. When building CDS, i got confused because it is my first time not using /DMO/ and only based from database table. &lt;/P&gt;
  &lt;P&gt;This is my question: &lt;/P&gt;
  &lt;P&gt;1. On data defined as data model, what should i choose ? defined association or join?&lt;BR /&gt;2. On data defined as projection view, @Consumption.valueHelpDefinition: [{ entity: {} }], what should i define when i try to accessing the table B?&lt;BR /&gt;3. should i make entity for table B? i already defined the database table.&lt;/P&gt;
  &lt;P&gt;Thank you for your time and help.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 03:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145315#M1976419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-16T03:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDS on 2 database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145316#M1976420</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;pakpak&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Using Associations or Joins depends on the business scenario you are in, from what i see in your requirement it would suffice if you can use Joins in the CDS. &lt;/P&gt;&lt;P&gt;However understanding the CDS and types is very important before getting onto any coding, recommend you to go through the below links for better understanding and it should improve your knowledge base in CDS.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.saplearners.com/how-to-use-joins-in-abap-cds-views-on-hana/" target="_blank"&gt;LINK1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2017/09/16/abap-core-data-services-part-2types-of-cds-views/" target="_blank"&gt;LINK2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://vikiltyagi.wordpress.com/2017/12/17/steps-for-creating-cds-view-using-inner-join-and-consuming-it-in-abap-program/" target="_blank"&gt;LINK3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 05:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145316#M1976420</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2020-06-16T05:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: CDS on 2 database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145317#M1976421</link>
      <description>&lt;P&gt;Thanks for your view ! i already find out the answer by myself. Create Entity with data definitions View.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 05:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145317#M1976421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-16T05:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: CDS on 2 database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145318#M1976422</link>
      <description>&lt;P&gt;Hi Satish Kumar !&lt;/P&gt;&lt;P&gt;Thank you for your answer. I really appreciate your link! I will study more ABAP development !&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 05:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-on-2-database-table/m-p/12145318#M1976422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-16T05:40:34Z</dc:date>
    </item>
  </channel>
</rss>

