<?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: append two structures in an internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453430#M1055879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may ceate an internal table which has both the table fields, bit these two tables should be releated to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you process the table will decide the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2008 07:02:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-08T07:02:13Z</dc:date>
    <item>
      <title>append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453426#M1055875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;     if i join two tables by innerjoining will it effect the performance?If such,how i can join these with better performance?can i get the data from different tables in a single internal table by appending different structures in this case?Please answer me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 06:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453426#M1055875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453427#M1055876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;By using for all entries you can reduce the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 06:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453427#M1055876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T06:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453428#M1055877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FOR ALL ENTRIES instead of INNER JOINS.&lt;/P&gt;&lt;P&gt;Inner Joins more than two levels will have great impact on performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 06:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453428#M1055877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T06:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453429#M1055878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES. Using of inner join will affect the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do it in the following way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1.&lt;/P&gt;&lt;P&gt;  take 2 internal table compatible to each of the database table.&lt;/P&gt;&lt;P&gt;Step 2.&lt;/P&gt;&lt;P&gt;Use SELECT query in 1st data table keeping the field sequence of in where clause same as that of the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step3.&lt;/P&gt;&lt;P&gt;  use 2 nd SELECT query to fetch data from the 2nd table using FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For syntax and sample code, check,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step4:&lt;/P&gt;&lt;P&gt;LOOP at itab1.&lt;/P&gt;&lt;P&gt;READ itab2&lt;/P&gt;&lt;P&gt;assign value to final table field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append the data&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; Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 06:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453429#M1055878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T06:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453430#M1055879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may ceate an internal table which has both the table fields, bit these two tables should be releated to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you process the table will decide the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 07:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453430#M1055879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453431#M1055880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still am searching on for all entries vs join but yet i didnt got any proper solution &lt;EM&gt;which is better.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;there is no way that we can say for all entries are better instead of join as other replied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surly its all depends on situation some time inner join are far batter than FAE &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this blog:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="43645"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 07:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453431#M1055880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T07:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453432#M1055881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If inner Join has a performance issue the best thing u can do is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 3 int tables.   "This is to avoid 'INTO CORRESPONDING FIELDS' select query which will affect performance.&lt;/P&gt;&lt;P&gt;itab1 with the structure of table1&lt;/P&gt;&lt;P&gt;itab2 with the structure of table2&lt;/P&gt;&lt;P&gt;itab3 with the structure of table1 &amp;amp; table2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select from 1st table into itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab1 is not initial.&lt;/P&gt;&lt;P&gt;select from table 2 into itab2 for all entries in itab1 where field = itab1-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab2 by field.   "For binary search&lt;/P&gt;&lt;P&gt;loop itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding itab1 to itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab2 with key field = itab1-field binary search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding itab2 to itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sathar RA on Sep 8, 2008 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 07:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453432#M1055881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: append two structures in an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453433#M1055882</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 Joins would surely give you performance issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,  do not try to put the data from 2 data base tables into single internal table........This will as well create performance issue for you....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem with inner joins if the tables are not Transaction tables....Also, put the data into 2 separate internal tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be better as per your scenario....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 07:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-two-structures-in-an-internal-table/m-p/4453433#M1055882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T07:14:21Z</dc:date>
    </item>
  </channel>
</rss>

