<?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: INTO CORRESPONDING FIELDS OF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731431#M1110426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes definately.&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF is not advisable as it degrades the performance of the query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2008 10:07:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-03T10:07:42Z</dc:date>
    <item>
      <title>INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731428#M1110423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Moved by moderator.  Please post in the correct forum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using INTO CORRESPONDING FIELDS OF TABLE .... and it is taking a long time in a report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WILL THIS APPROACH IMPROVE PERFORMANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW to check it after implementing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use INTO TABLE INT_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THEN I use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT INT_TAB INTO WA_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_TAB-FIELD1 = WA_TAB2-FIELD1&lt;/P&gt;&lt;P&gt;WA_TAB-FIELD2 = WA_TAB2-FIELD2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731428#M1110423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731429#M1110424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;it would be better for u to avoid the corresponding fields stmt.&lt;/P&gt;&lt;P&gt;Instead u can decalre your structure in the corect format and use into table INT_TAB&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731429#M1110424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731430#M1110425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is always recommended to use INTO TABLE instead of INTO CORRESPONDING FIELDS OF TABLE for performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For INTO TABLE see to it that the internal table is declared in the same sequence as of the fields that you are selecting from the SELCT query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the performance using tcode 'ST05'. Activate the SQL trace before executing the report. Once the report is executed deactivate it and display the trace. Here you will come to know the time taken by each select query in your program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731430#M1110425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731431#M1110426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes definately.&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF is not advisable as it degrades the performance of the query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731431#M1110426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731432#M1110427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not a good programming practice to ise INTO CORRESPONDING  FIELDS OF because when you use this addition of the select staement then internally it has to compare each and every field and then it has to transfer the data from database to internal table so inorder to improve the perfomance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a structure with the required fields&lt;/P&gt;&lt;P&gt;Create a INternal table&lt;/P&gt;&lt;P&gt;Populate the values into the internal table by using INTO TABLE which is other addition of select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731432#M1110427</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-11-03T10:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731433#M1110428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,  What they said is absolutely right..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We should avoid the use of INTO CORRESPONDING FIELDS OF .. as it is not recommended performance wise..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insted of that pass into individual variables or declare one structre and pass into it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731433#M1110428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731434#M1110429</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;using into corresponding fields of table is not good according to performance.&lt;/P&gt;&lt;P&gt;instead move field by field as below,&lt;/P&gt;&lt;P&gt;Move : itab-field1 to itab1-field1,&lt;/P&gt;&lt;P&gt;          itab-field2 to itab1-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731434#M1110429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731435#M1110430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we should avoid using Corresponing fields of statement for Performance point of view. instead declare the structure with the same table field sequence and then use into table i_tab.&lt;/P&gt;&lt;P&gt;if u want to assign these value to new internal table then&lt;/P&gt;&lt;P&gt;u can use MOVE statement or Itab1[] = itab2[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: nilanjana sinha on Nov 3, 2008 11:13 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: nilanjana sinha on Nov 3, 2008 11:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731435#M1110430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T10:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731436#M1110431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT * INTO CORRESPONDING FIELDS is &lt;STRONG&gt;not&lt;/STRONG&gt; a performance problem, as long as you declare a target structure with only the required fields.&lt;/P&gt;&lt;P&gt;If you trace such an Open SQL statement in ST05, you will see that the "*" has been replaced with the actual field list.&lt;/P&gt;&lt;P&gt;There is maybe a 0,1% performance gain, so not worth thinking about it.&lt;/P&gt;&lt;P&gt;Your performance problem is likely due to something else in your code...run an SE30 to find out.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 10:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731436#M1110431</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-11-03T10:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731437#M1110432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;only the last comment is correct, the INTO CORRESPONDING is NOT A PROBLEM with a select on a not buffered table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem must be the select itself!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 12:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731437#M1110432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731438#M1110433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  Never use into corresponding fields. Reduces performace,&lt;/P&gt;&lt;P&gt;  Use into table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 04:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731438#M1110433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T04:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731439#M1110434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to throw some gasoline on the fire: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I took one of the ABAP courses (I apologize for not remembering which one), one of the performance recommendations was "do not use INTO CORRESPONDING FIELDS OF..." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It always seemed to me that the benefits of programming simplicity outweighed any performance degradation, and when I did some testing it showed that any performance hit was minimal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, it used to be the SAP standard. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731439#M1110434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: INTO CORRESPONDING FIELDS OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731440#M1110435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do your own tests, and send me results if you can find an overhead. There is no remarkable overhead in database selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is more a problem in buffer selects because they are much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not say much on old releases, maybe it was not as good as it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 09:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields-of/m-p/4731440#M1110435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T09:55:07Z</dc:date>
    </item>
  </channel>
</rss>

