<?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 abap dictionary in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769587#M645250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the differance b/w inner joints &amp;amp; for all entries?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2007 04:53:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T04:53:08Z</dc:date>
    <item>
      <title>abap dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769587#M645250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the differance b/w inner joints &amp;amp; for all entries?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 04:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769587#M645250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T04:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: abap dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769588#M645251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;inner joins joins the tables at data base level&lt;/P&gt;&lt;P&gt;but in case of for all entries it joins tables at application level&lt;/P&gt;&lt;P&gt;performance wise it is better to use for all entries&lt;/P&gt;&lt;P&gt;reward for use ful answers&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nagesh.Paruchuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 04:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769588#M645251</guid>
      <dc:creator>paruchuri_nagesh</dc:creator>
      <dc:date>2007-09-18T04:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: abap dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769589#M645252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             The different depend on your requirement in the program. in case of all entries , you need to create internal table to keep the data that you query but for inner foin there is no need .this situation depend on you would like to keep the data to use somewhere or not . when you keep the data , you can use its everywhere that you would like and it improve more performance if you have to query data every time that you would like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wiboon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 04:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769589#M645252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T04:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: abap dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769590#M645253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES is an effective way of doing away with using JOIN on two tables.&lt;/P&gt;&lt;P&gt;You can check the below code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BUKRS BELNR GJAHR AUGDT&lt;/P&gt;&lt;P&gt;FROM BSEG&lt;/P&gt;&lt;P&gt;INTO TABLE I_BSEG&lt;/P&gt;&lt;P&gt;WHERE BUKRS = ....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT BUKRS BELNR BLART BLDAT&lt;/P&gt;&lt;P&gt;FROM BKPF&lt;/P&gt;&lt;P&gt;INTO TABLE I_BKPF&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN I_BSEG&lt;/P&gt;&lt;P&gt;WHERE BUKRS = I_BSEG-BUKRS&lt;/P&gt;&lt;P&gt;AND BELNR = I_BSEG-BELNR&lt;/P&gt;&lt;P&gt;AND BLDAT IN SO_BLDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look another example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the use of FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. INNER JOIN&lt;/P&gt;&lt;P&gt;DBTAB1 &amp;lt;----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; DBTAB2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is used to JOIN two DATABASE tables&lt;/P&gt;&lt;P&gt;having some COMMON fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Whereas &lt;/P&gt;&lt;P&gt;For All Entries,&lt;/P&gt;&lt;P&gt;DBTAB1 &amp;lt;----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; ITAB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not at all related to two DATABASE tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is related to INTERNAL table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If we want to fetch data &lt;/P&gt;&lt;P&gt;from some DBTABLE1&lt;/P&gt;&lt;P&gt;but we want to fetch&lt;/P&gt;&lt;P&gt;for only some records&lt;/P&gt;&lt;P&gt;which are contained in some internal table,&lt;/P&gt;&lt;P&gt;then we use for alll entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------" /&gt;&lt;P&gt;1. simple example of for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. NOTE THAT &lt;/P&gt;&lt;P&gt;In for all entries,&lt;/P&gt;&lt;P&gt;it is NOT necessary to use TWO DBTABLES.&lt;/P&gt;&lt;P&gt;(as against JOIN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. use this program (just copy paste)&lt;/P&gt;&lt;P&gt;it will fetch data&lt;/P&gt;&lt;P&gt;from T001&lt;/P&gt;&lt;P&gt;FOR ONLY TWO COMPANIES (as mentioned in itab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;bukrs LIKE t001-bukrs,&lt;/P&gt;&lt;P&gt;END OF itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-bukrs = '1000'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt;itab-bukrs = '1100'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT * FROM t001&lt;/P&gt;&lt;P&gt;INTO TABLE t001&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab&lt;/P&gt;&lt;P&gt;WHERE bukrs = itab-bukrs.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;LOOP AT t001.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; t001-bukrs.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 05:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769590#M645253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T05:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: abap dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769591#M645254</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;Inner join is used when we are fetching data from the DD and from the two table like MARA and MAKT at the same time by applying the join on the field MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And For All Entries is used when we are merging the two internal table into the third one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Dharmishta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 05:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dictionary/m-p/2769591#M645254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T05:26:45Z</dc:date>
    </item>
  </channel>
</rss>

