<?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: inner join and for all entries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504582#M233277</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;Yes , we can use both in one select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT a~fld1
         b~fld2
         INTO CORRESPONDING FIELDS OF TABLE i_tab
         FROM Ztab1 AS a INNER JOIN Ztab2 AS b
         ON    a~fld3 = b~fld3
         FOR ALL ENTRIES IN i_tab2
         WHERE a~fld1 = i_tab2-fld1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the performance of the program in SE30 , if it is taking much time , then select data into different internal tables , then use Read statements to get correct data into final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Appana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward Points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 12:14:53 GMT</pubDate>
    <dc:creator>Laxmana_Appana_</dc:creator>
    <dc:date>2006-08-31T12:14:53Z</dc:date>
    <item>
      <title>inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504580#M233275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we use both inner join and for all entries  in the same select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504580#M233275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504581#M233276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;we cant take inner join and for all entries in the same select statement....&lt;/P&gt;&lt;P&gt;regard,&lt;/P&gt;&lt;P&gt;vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504581#M233276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504582#M233277</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;Yes , we can use both in one select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT a~fld1
         b~fld2
         INTO CORRESPONDING FIELDS OF TABLE i_tab
         FROM Ztab1 AS a INNER JOIN Ztab2 AS b
         ON    a~fld3 = b~fld3
         FOR ALL ENTRIES IN i_tab2
         WHERE a~fld1 = i_tab2-fld1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the performance of the program in SE30 , if it is taking much time , then select data into different internal tables , then use Read statements to get correct data into final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Appana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward Points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504582#M233277</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-08-31T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504583#M233278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes we can use both &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if not it_matnr[] is initial.

 select a~matnr b~maktx into table it_itab from
        mara as a inner join 
        makt as b on
        a~matnr = b~matnr 
        for all entries in it_matnr
        where a~matnr = it_matnr-matnr.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504583#M233278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T12:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504584#M233279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but there is performance difference between these two no.&lt;/P&gt;&lt;P&gt;thats why i had a doubt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/1504584#M233279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/13625147#M2026879</link>
      <description>&lt;LI-CODE lang="abap"&gt;SELECT STPO~STLTY
       STPO~STLNR
       STPO~STLKN
       STPO~STPOZ
       STPO~IDNRK
       STPO~MEINS FROM MARA AS MARA
  INNER JOIN MAST AS MAST ON MARA~MATNR = MAST~MATNR
    INNER JOIN STPO AS STPO ON MAST~STLNR = STPO~STLNR
  INTO TABLE GT_ZINT_CARR_STPO
  FOR ALL ENTRIES IN GT_ZINT_CARR_MARA
WHERE MARA~MATNR = GT_ZINT_CARR_MARA-MATNR.&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Mar 2024 11:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/13625147#M2026879</guid>
      <dc:creator>ldzierza</dc:creator>
      <dc:date>2024-03-01T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: inner join and for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/13625189#M2026882</link>
      <description>&lt;P&gt;This thread is nearly 18 years old and it is marked as solved. Why are you answering to it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 12:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-and-for-all-entries/m-p/13625189#M2026882</guid>
      <dc:creator>MarcoK</dc:creator>
      <dc:date>2024-03-01T12:11:55Z</dc:date>
    </item>
  </channel>
</rss>

