<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170057#M996951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;never use into corresponding fields when we are looking for perfromance issue. as you said 10 fields you are going to display. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;decalre the internal table body and work area by using those fields (which are required to display output).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;require fields&amp;gt; into table &amp;lt;internal table body&amp;gt; from &amp;lt;dbtable&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you declare your internal table like below which makes your performance better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: begin of tw_itab,&lt;/P&gt;&lt;P&gt;             -&lt;/P&gt;&lt;HR originaltext="---------------------" /&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;            -&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;            end of tw_itab,&lt;/P&gt;&lt;P&gt;         tt_itab type standard table of tw_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lw_itab type tw_itab,&lt;/P&gt;&lt;P&gt;           lt_itab type tt_itab.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 03:55:33 GMT</pubDate>
    <dc:creator>venkatasriram_mygapula</dc:creator>
    <dc:date>2008-07-14T03:55:33Z</dc:date>
    <item>
      <title>Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170048#M996942</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;  I have one performance issue problem, in program i declare structure, internal table and work area. Here in select query i specify into corresponding fields table &amp;lt;it&amp;gt;. here i used into corresponding fields of table is it reduce the performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170048#M996942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170049#M996943</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;  We generally dont go for Corresponding field due to performance issue its better you go with the same sturctue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have a look in the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb39eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb39eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pritam Ghosh on Jul 11, 2008 3:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170049#M996943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170050#M996944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pritam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks to your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In my requirement i am writing start routine in BW. Here the structure is having around 80 fields, But i want only 10 fields to retrieve data. If i am not used into corresponding fields program is going to dump.&lt;/P&gt;&lt;P&gt;Is there any other possibility, for performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170050#M996944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170051#M996945</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;It is bett that first you create an internal table with the Required fields.&lt;/P&gt;&lt;P&gt;And the work area will be the internal table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the Select Statement Select only those fields that you need.&lt;/P&gt;&lt;P&gt;In this case no need to use 'Corresponding fields of table' statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i am Clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back if any confusion.&lt;/P&gt;&lt;P&gt;&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;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170051#M996945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170052#M996946</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;Get the records in to the internal table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont declare structure for internal table rather you define internal table of same structure as that table and declare workarea and display the fields required...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are many entries in the table or if the table is TRANSACTION DATA table kind then go for INTO CORRESPONDING FIELDS as transaction DATA tables will have more records and they will keep updating the records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170052#M996946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170053#M996947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just did some research on this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your 80/10 example it is essential that you declare a target table with only those 10 columns.&lt;/P&gt;&lt;P&gt;Then it does not matter performancewise if you are selecting by "* INTO CORRESPONDING FIELDS OF ... " or "F1 F2 F3 ... INTO ...".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 14:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170053#M996947</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-07-11T14:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170054#M996948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never use into corresponding fields. First its a performance issue and Second QA team would not pass the code. Always use the field names like SELECT field1 field2 ....into table it_ from table. Make sure that filed1 field2 ... are in the same order as they are in the transparent table.&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;Samson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 16:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170054#M996948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170055#M996949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Never use into corresponding fields. First its a performance issue and Second QA team would not pass the code. Always use the field names like SELECT field1 field2 ....into table it_ from table. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incorrect statement, as I have proven otherwise, see [here|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="944517"&gt;&lt;/A&gt;;. Do your own research and come back with the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 16:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170055#M996949</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-07-11T16:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170056#M996950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a performance issue, it's not due to MOVE-CORRESPONDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 16:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170056#M996950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T16:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170057#M996951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;never use into corresponding fields when we are looking for perfromance issue. as you said 10 fields you are going to display. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;decalre the internal table body and work area by using those fields (which are required to display output).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;require fields&amp;gt; into table &amp;lt;internal table body&amp;gt; from &amp;lt;dbtable&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you declare your internal table like below which makes your performance better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: begin of tw_itab,&lt;/P&gt;&lt;P&gt;             -&lt;/P&gt;&lt;HR originaltext="---------------------" /&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;            -&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;            end of tw_itab,&lt;/P&gt;&lt;P&gt;         tt_itab type standard table of tw_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lw_itab type tw_itab,&lt;/P&gt;&lt;P&gt;           lt_itab type tt_itab.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 03:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170057#M996951</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-14T03:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Into corresponding fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170058#M996952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually we go for INTO CORRESPONDING FIELDS only if the structure of the source and target is not same. As the system has to perform aen extra effort in assigning the correct values to the correct fields based on the field names,it reduces the performance.However,it depends on the requirement ...It it is unavoidablethen go for INTO CORRESPONDING FIELDS  or else make sure that your target and source structure are similar with respect to their order..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 05:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/into-corresponding-fields/m-p/4170058#M996952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T05:18:02Z</dc:date>
    </item>
  </channel>
</rss>

