<?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 with join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011810#M410666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt; Yes, as per ferry just try with this one also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~addrnumber &lt;/P&gt;&lt;P&gt;          a~name1&lt;/P&gt;&lt;P&gt;          a~street &lt;/P&gt;&lt;P&gt;          a~str_suppl1 &lt;/P&gt;&lt;P&gt;          a~city1 &lt;/P&gt;&lt;P&gt;          a~region &lt;/P&gt;&lt;P&gt;          a~post_code1&lt;/P&gt;&lt;P&gt;          a~country&lt;/P&gt;&lt;P&gt;          a~ countrycode&lt;/P&gt;&lt;P&gt;          a~tel_number &lt;/P&gt;&lt;P&gt;          from adrc as a inner join t005t as t &lt;/P&gt;&lt;P&gt;          on a&lt;SUB&gt;country = t&lt;/SUB&gt;land1 &lt;/P&gt;&lt;P&gt;          into table itab3  for all entries in itab1 &lt;/P&gt;&lt;P&gt;          where a~addrnumber = itab1-adrnr &lt;/P&gt;&lt;P&gt;                   and t~spras = sy-langu.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    If itab3[] is initial.&lt;/P&gt;&lt;P&gt; message : e001(zsd) with 'NO DATA'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you. Reply for queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2007 03:52:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-20T03:52:18Z</dc:date>
    <item>
      <title>select with join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011808#M410664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;I have itab structure&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;data: begin of itab3 occurs 0,&lt;/P&gt;&lt;P&gt;      adrnr like adrc-addrnumber,&lt;/P&gt;&lt;P&gt;      name1 like adrc-name1,&lt;/P&gt;&lt;P&gt;      address1 like adrc-street,&lt;/P&gt;&lt;P&gt;      address2 like adrc-str_suppl1,&lt;/P&gt;&lt;P&gt;      city like adrc-city1,&lt;/P&gt;&lt;P&gt;      state like adrc-region,&lt;/P&gt;&lt;P&gt;      zip like adrc-post_code1,&lt;/P&gt;&lt;P&gt;      country like t005t-landx,&lt;/P&gt;&lt;P&gt;      countrycode like adrc-country,&lt;/P&gt;&lt;P&gt;      telnum like adrc-tel_number,&lt;/P&gt;&lt;P&gt;      end of itab3,&lt;/P&gt;&lt;P&gt;      wa_itab3 like itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select the records and put them into the itab3. But as you can see I have adrc and t005t tables and they are joined on adrc-country = t005t-land1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do something like this &lt;/P&gt;&lt;P&gt;select addrnumber name1 street str_suppl1 city1 region post_code1 country countrycode tel_number from adrc into table itab3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 21:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011808#M410664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T21:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: select with join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011809#M410665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select addrnumber name1 street str_suppl1 city1 region post_code1 country countrycode tel_number 
from adrc inner join t005t on adrc~country = t005t~land1 
into table itab3 
for all entries in itab1 
where adrc~addrnumber = itab1-adrnr 
  and t005t~spras = sy-langu.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 22:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011809#M410665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T22:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: select with join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011810#M410666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt; Yes, as per ferry just try with this one also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~addrnumber &lt;/P&gt;&lt;P&gt;          a~name1&lt;/P&gt;&lt;P&gt;          a~street &lt;/P&gt;&lt;P&gt;          a~str_suppl1 &lt;/P&gt;&lt;P&gt;          a~city1 &lt;/P&gt;&lt;P&gt;          a~region &lt;/P&gt;&lt;P&gt;          a~post_code1&lt;/P&gt;&lt;P&gt;          a~country&lt;/P&gt;&lt;P&gt;          a~ countrycode&lt;/P&gt;&lt;P&gt;          a~tel_number &lt;/P&gt;&lt;P&gt;          from adrc as a inner join t005t as t &lt;/P&gt;&lt;P&gt;          on a&lt;SUB&gt;country = t&lt;/SUB&gt;land1 &lt;/P&gt;&lt;P&gt;          into table itab3  for all entries in itab1 &lt;/P&gt;&lt;P&gt;          where a~addrnumber = itab1-adrnr &lt;/P&gt;&lt;P&gt;                   and t~spras = sy-langu.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    If itab3[] is initial.&lt;/P&gt;&lt;P&gt; message : e001(zsd) with 'NO DATA'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you. Reply for queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 03:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011810#M410666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T03:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: select with join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011811#M410667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;addrnumber a&lt;/SUB&gt;name1 a&lt;SUB&gt;street a&lt;/SUB&gt;str_suppl1 a&lt;SUB&gt;city1 a&lt;/SUB&gt;region a&lt;SUB&gt;post_code1 a&lt;/SUB&gt;country a&lt;SUB&gt;countrycode a&lt;/SUB&gt;tel_number into corresponding fields of table itab3 from adrc  as a &lt;/P&gt;&lt;P&gt;                    inner join t005t as t on a&lt;SUB&gt;country = t&lt;/SUB&gt;land1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Award marks if it helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 04:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011811#M410667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T04:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: select with join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011812#M410668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Megan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;addrnumber  a&lt;/SUB&gt;name1 a~address1 &lt;/P&gt;&lt;P&gt;         a&lt;SUB&gt;street           a&lt;/SUB&gt;str_suppl1     a~city1&lt;/P&gt;&lt;P&gt;         a&lt;SUB&gt;region          a&lt;/SUB&gt;post_code1    a~country&lt;/P&gt;&lt;P&gt;         a&lt;SUB&gt;countrycode a&lt;/SUB&gt;tel_number &lt;/P&gt;&lt;P&gt;from adrc as a inner join t005t as b on a&lt;SUB&gt;country = b&lt;/SUB&gt;land1 &lt;/P&gt;&lt;P&gt;into table itab3 &lt;/P&gt;&lt;P&gt;for all entries in itab1 &lt;/P&gt;&lt;P&gt;where adrc~addrnumber = itab1-adrnr &lt;/P&gt;&lt;P&gt;  and b~spras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward for all useful ans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 04:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2011812#M410668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T04:41:50Z</dc:date>
    </item>
  </channel>
</rss>

