<?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 Using a Database Table as a Select Option (Range Table) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-database-table-as-a-select-option-range-table/m-p/12386755#M1994403</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;
  &lt;P&gt;Scenario:&lt;/P&gt;
  &lt;P&gt;Database Table A (Parameter_Id; Value)&lt;/P&gt;
  &lt;P&gt;Database Table B (Parameter_Id; Sign; Option; Low; High)&lt;/P&gt;
  &lt;P&gt;Table B is used like a select option. It has the value definitions of the parameters from table A. So every Parameter from Table A can have multiple entries in Table B.&lt;/P&gt;
  &lt;P&gt;I want to select every parameter which Value is NOT IN the value definition of Table B. A simple NOT IN command if table B was a Select Option.&lt;/P&gt;
  &lt;P&gt;Now the Problem: those 2 Tables are huge. I want to avoid selecting the range-lines from Table B, store them in an internal table and THEN use them as a select option for Table A. This would cause a huge data transfer from the data base which would result in a terrible performance. The underlying system is a HANA System, so if it is possible to do this task in one Select Statement or an CDS-View or an Select from a CDS View (anything that avoids unnecessary data transfer), the performance should'nt be as bad.&lt;/P&gt;
  &lt;P&gt;But i don't know how to code this with open SQL or CDS.&lt;/P&gt;
  &lt;P&gt;Does anyone have an idea?&lt;/P&gt;
  &lt;P&gt;Greetings,&lt;/P&gt;
  &lt;P&gt;Robert Arnold&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 16:42:19 GMT</pubDate>
    <dc:creator>former_member302834</dc:creator>
    <dc:date>2021-05-26T16:42:19Z</dc:date>
    <item>
      <title>Using a Database Table as a Select Option (Range Table)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-database-table-as-a-select-option-range-table/m-p/12386755#M1994403</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
  &lt;P&gt;Scenario:&lt;/P&gt;
  &lt;P&gt;Database Table A (Parameter_Id; Value)&lt;/P&gt;
  &lt;P&gt;Database Table B (Parameter_Id; Sign; Option; Low; High)&lt;/P&gt;
  &lt;P&gt;Table B is used like a select option. It has the value definitions of the parameters from table A. So every Parameter from Table A can have multiple entries in Table B.&lt;/P&gt;
  &lt;P&gt;I want to select every parameter which Value is NOT IN the value definition of Table B. A simple NOT IN command if table B was a Select Option.&lt;/P&gt;
  &lt;P&gt;Now the Problem: those 2 Tables are huge. I want to avoid selecting the range-lines from Table B, store them in an internal table and THEN use them as a select option for Table A. This would cause a huge data transfer from the data base which would result in a terrible performance. The underlying system is a HANA System, so if it is possible to do this task in one Select Statement or an CDS-View or an Select from a CDS View (anything that avoids unnecessary data transfer), the performance should'nt be as bad.&lt;/P&gt;
  &lt;P&gt;But i don't know how to code this with open SQL or CDS.&lt;/P&gt;
  &lt;P&gt;Does anyone have an idea?&lt;/P&gt;
  &lt;P&gt;Greetings,&lt;/P&gt;
  &lt;P&gt;Robert Arnold&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 16:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-database-table-as-a-select-option-range-table/m-p/12386755#M1994403</guid>
      <dc:creator>former_member302834</dc:creator>
      <dc:date>2021-05-26T16:42:19Z</dc:date>
    </item>
  </channel>
</rss>

