<?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: Select query to fetch  data based on multiple values from another table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615009#M2012151</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;SELECT table2~def&lt;BR /&gt;  FROM table1 INNER JOIN table2 ON table1~abc = table2~def&lt;BR /&gt;  INTO TABLE @DATA(t_result).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But is the above foreign key relation correct?&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 08:13:54 GMT</pubDate>
    <dc:creator>thkolz</dc:creator>
    <dc:date>2022-09-19T08:13:54Z</dc:date>
    <item>
      <title>Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615005#M2012147</link>
      <description>&lt;P&gt;Hi Guys! &lt;/P&gt;
  &lt;P&gt;I Need a help&lt;/P&gt;
  &lt;P&gt;I have table1 and table 2&lt;/P&gt;
  &lt;P&gt;Table1 &lt;/P&gt;
  &lt;P&gt;Field name - abc&lt;/P&gt;
  &lt;P&gt;Values ak,be,ce,de&lt;/P&gt;
  &lt;P&gt;Table2&lt;/P&gt;
  &lt;P&gt;Field name - def&lt;/P&gt;
  &lt;P&gt;Value - aec, def&lt;/P&gt;
  &lt;P&gt;I want to fetch all the value of TABLE2 (DEF) based on the values of TABLE1(ABC)&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 10:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615005#M2012147</guid>
      <dc:creator>former_member821960</dc:creator>
      <dc:date>2022-09-18T10:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615006#M2012148</link>
      <description>&lt;P&gt;Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.&lt;/P&gt;&lt;P&gt;Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.&lt;/P&gt;&lt;P&gt;First, please see &lt;A href="https://community.sap.com/resources/questions-and-answers" target="test_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&amp;amp;A tutorial at &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;, as that will help you when submitting questions to the community.&lt;/P&gt;&lt;P&gt;I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: &lt;A href="https://developers.sap.com/tutorials/community-profile.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Now for some specific suggestions on how you might improve your question:&lt;/P&gt;&lt;P&gt;* Make sure you've applied the appropriate tags -- because if you don't apply the correct tags, the right experts won't see your question to answer it.&lt;/P&gt;&lt;P&gt;* Use the "insert code" feature when sharing your code, so members have an easier time reading.&lt;/P&gt;&lt;P&gt;Should you wish, you can revise your question by selecting Actions, then Edit. &lt;/P&gt;&lt;P&gt;The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond. As it stands, I don't know if there is enough information here for members to understand your issue. So please consider revising your question because I'd really like to see you get a solution to your problem!&lt;/P&gt;&lt;P&gt;I hope you find this advice useful, and we're happy to have you as part of SAP Community!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dedi&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 10:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615006#M2012148</guid>
      <dc:creator>former_member27</dc:creator>
      <dc:date>2022-09-18T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615007#M2012149</link>
      <description>&lt;P&gt;I don't understand the question. Given that you provide the input data, you could indicate the result that you expect.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 11:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615007#M2012149</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-09-18T11:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615008#M2012150</link>
      <description>&lt;P&gt;Hi Dylan.&lt;/P&gt;&lt;P&gt;you can try something like this:&lt;/P&gt;&lt;P&gt;refresh it_table2.&lt;/P&gt;&lt;P&gt;select * into table it_table2&lt;/P&gt;&lt;P&gt;  from table2&lt;/P&gt;&lt;P&gt;   for all entries in table1&lt;/P&gt;&lt;P&gt;where abc = table1-def&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 22:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615008#M2012150</guid>
      <dc:creator>former_member1130189</dc:creator>
      <dc:date>2022-09-18T22:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615009#M2012151</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;SELECT table2~def&lt;BR /&gt;  FROM table1 INNER JOIN table2 ON table1~abc = table2~def&lt;BR /&gt;  INTO TABLE @DATA(t_result).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But is the above foreign key relation correct?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 08:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615009#M2012151</guid>
      <dc:creator>thkolz</dc:creator>
      <dc:date>2022-09-19T08:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select query to fetch  data based on multiple values from another table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615010#M2012152</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT DISTINCT table2~def&lt;BR /&gt;  FROM table1 INNER JOIN table2 ON table1~abc = table2~abc&lt;BR /&gt;  " WHERE &amp;lt;some criteria&amp;gt; &lt;BR /&gt;  INTO TABLE @DATA(outtab).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If not, please describe the rule that links the fields in both tables.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 12:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-to-fetch-data-based-on-multiple-values-from-another-table/m-p/12615010#M2012152</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-09-20T12:59:30Z</dc:date>
    </item>
  </channel>
</rss>

