<?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: Logic to pull the data without performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139693#M1366797</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;Use this query hope this will resolve your issue....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM ztable INTO TABLE itab
WHERE field2 IN ( SELECT field2 FROM ztable WHERE field1 = '100' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2009 12:43:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-31T12:43:00Z</dc:date>
    <item>
      <title>Logic to pull the data without performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139691#M1366795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having one ZTABLE&lt;/P&gt;&lt;P&gt;Which contains 50 fields.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want ztable data into one internal table with only 2 conditions..I am worring of performance issue any one help me please!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requiremetn....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ztable -&amp;gt; data will be pulled into internal table itab on one condition  where feild1 = '100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my itab is having 10 records imagine..&lt;/P&gt;&lt;P&gt;where all 10 records with field1 = '100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to check what is the value of Field2 in itab.&lt;/P&gt;&lt;P&gt;the field2 is imagine is as follows 1000 , 2000, 3000 , 4000...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now check the field2 value in the internal table where the field2 is having only ''100' or any other number if it has any other number then pull that also .....so imagine if field2 '1000' is having 100 &amp;amp; 200 both should be in ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how to write the logic with good perfromance ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Moved to the correct forum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Aug 31, 2009 10:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 12:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139691#M1366795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T12:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Logic to pull the data without performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139692#M1366796</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; Now check the field2 value in the internal table where the field2 is having only ''100' or any other number if it has any other number then pull that also .....so imagine if field2 '1000' is having 100 &amp;amp; 200 both should be in ITAB. &lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This part is not clear. Can you elaborate on this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 12:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139692#M1366796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Logic to pull the data without performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139693#M1366797</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;Use this query hope this will resolve your issue....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM ztable INTO TABLE itab
WHERE field2 IN ( SELECT field2 FROM ztable WHERE field1 = '100' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 12:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139693#M1366797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logic to pull the data without performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139694#M1366798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your question correctly, it's pretty basic - just create an index on field2 (non-unique).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 14:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139694#M1366798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Logic to pull the data without performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139695#M1366799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; Actually this belongs to source of infocubes !! so i am just confused !!I hope we cant create Index's as they are not unique !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thought of code !! as follows &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any way chandra has given the rite answer ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 15:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-to-pull-the-data-without-performance-issue/m-p/6139695#M1366799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T15:11:24Z</dc:date>
    </item>
  </channel>
</rss>

