<?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: Internal tables looping. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154016#M1194101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope this logic might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT git_header INTO gwa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT git_item INTO gwa_item FROM indx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      indx = indx + 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your Code.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Delivery Schedule.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT git_delv_sch INTO gwa_delv_sch WHERE legpo EQ gwa_item-legpo AND&lt;/P&gt;&lt;P&gt;                                                   legit EQ gwa_item-legit.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDLOOP. " Item Delivery Schedule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT END OF legpo.&lt;/P&gt;&lt;P&gt;        CLEAR: gwa_poitem, gwa_poitemx,&lt;/P&gt;&lt;P&gt;               gwa_poaccount, gwa_poaccountx,&lt;/P&gt;&lt;P&gt;               gwa_poaddrdelivery,&lt;/P&gt;&lt;P&gt;               gwa_poschedule, gwa_poschedulex.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP. " PO Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP. "PO Header&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;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 10:30:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T10:30:07Z</dc:date>
    <item>
      <title>Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154014#M1194099</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 have one internal table which passed to one exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the key combinations of the records in this table, &lt;/P&gt;&lt;P&gt;I will get records for 3 more tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have to make a final table which contains for each record &lt;/P&gt;&lt;P&gt;the key of first table, values in first internal table if any for this key, &lt;/P&gt;&lt;P&gt;values in 2nd internal table for this key if any, &lt;/P&gt;&lt;P&gt;values in the third internal table if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If 2 or more records exists for one key I have to append all the values one by one to this key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeranji Reddy P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 08:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154014#M1194099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154015#M1194100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Achieve this using a nested loop statement giving IF condition on subsequent level of loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at t_itan into fs_itab.&lt;/P&gt;&lt;P&gt;if field1 = field2 .&lt;/P&gt;&lt;P&gt;w_flag = 1.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;statements&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_itab2 into fs_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if w_flag = 1.&lt;/P&gt;&lt;P&gt;if field3 = field 4.&lt;/P&gt;&lt;P&gt;w_flag_2 = 1.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;statements&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;loop at t_itab3 into fs_itab3.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;like this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154015#M1194100</guid>
      <dc:creator>rejish_balakrishnan</dc:creator>
      <dc:date>2009-02-10T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154016#M1194101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope this logic might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT git_header INTO gwa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT git_item INTO gwa_item FROM indx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      indx = indx + 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your Code.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Delivery Schedule.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT git_delv_sch INTO gwa_delv_sch WHERE legpo EQ gwa_item-legpo AND&lt;/P&gt;&lt;P&gt;                                                   legit EQ gwa_item-legit.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDLOOP. " Item Delivery Schedule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT END OF legpo.&lt;/P&gt;&lt;P&gt;        CLEAR: gwa_poitem, gwa_poitemx,&lt;/P&gt;&lt;P&gt;               gwa_poaccount, gwa_poaccountx,&lt;/P&gt;&lt;P&gt;               gwa_poaddrdelivery,&lt;/P&gt;&lt;P&gt;               gwa_poschedule, gwa_poschedulex.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP. " PO Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP. "PO Header&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;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154016#M1194101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154017#M1194102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use nested loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;. . . . . . . . .&lt;/P&gt;&lt;P&gt;   loop at itab2  where col1 = itab1-col1.&lt;/P&gt;&lt;P&gt;. . . . . . . . .&lt;/P&gt;&lt;P&gt;       loop at itab3  where col1 = itab2-col1.&lt;/P&gt;&lt;P&gt;. . . . . . . . .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Do summation of fields here.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Do summation of fields here too if required ( dat is if more than two records are present in itab2       for     one record of itab1 ).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154017#M1194102</guid>
      <dc:creator>former_member396896</dc:creator>
      <dc:date>2009-02-10T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154018#M1194103</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;   As per my understanding, you need to get data from all the three tables, and if 2 or more records are fteched, then u need to move them into a final table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the algorithm below, if this is the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;tab1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   select * from &amp;lt;tab1&amp;gt; where &amp;lt;key1&amp;gt; = &amp;lt;tab1&amp;gt;-&amp;lt;key&amp;gt; into table &amp;lt;tmp&amp;gt;&lt;/P&gt;&lt;P&gt;   if sy-dbcnt  &amp;gt; 1.&lt;/P&gt;&lt;P&gt;    copy the contents of &amp;lt;tmp&amp;gt; to &amp;lt;final&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select * from &amp;lt;tab2&amp;gt; where &amp;lt;key2&amp;gt; = &amp;lt;tab1&amp;gt;-&amp;lt;key&amp;gt; into table &amp;lt;tmp&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if sy-dbcnt  &amp;gt; 1.&lt;/P&gt;&lt;P&gt;    copy the contents of &amp;lt;tmp&amp;gt; to &amp;lt;final&amp;gt;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select * from &amp;lt;tab3&amp;gt; where &amp;lt;key3&amp;gt; = &amp;lt;tab1&amp;gt;-&amp;lt;key&amp;gt; into table &amp;lt;tmp&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if sy-dbcnt  &amp;gt; 1.&lt;/P&gt;&lt;P&gt;    copy the contents of &amp;lt;tmp&amp;gt; to &amp;lt;final&amp;gt;&lt;/P&gt;&lt;P&gt;endif&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;Shiny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154018#M1194103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154019#M1194104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Internal Table 1&lt;/P&gt;&lt;P&gt;Internal Table 2&lt;/P&gt;&lt;P&gt;Internal Table 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your Example Internal table 1 is the main table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table internal table 2 into work area internal table 2 with key field1 = field1 of itab 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag1 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table internal table 3 into work area internal table 3 with key field1 = field1 of itab 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag2 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if flag1 = 'X' and Flag2 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append the record from 3 above work areas of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear : flag1, flag2.&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;If you use nested loop it will affect the performance use Binary search in internal table by sorting the key field on internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154019#M1194104</guid>
      <dc:creator>naveen_kumar116</dc:creator>
      <dc:date>2009-02-10T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154020#M1194105</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;Simply you need to use the &lt;/P&gt;&lt;P&gt;Loop at &amp;lt;internal table&amp;gt; &lt;/P&gt;&lt;P&gt;For all enetries &amp;lt;sec internal table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154020#M1194105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154021#M1194106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please try the code below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : count1 type i,&lt;/P&gt;&lt;P&gt;         count2 type i,&lt;/P&gt;&lt;P&gt;         count3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;   count1 = 0.&lt;/P&gt;&lt;P&gt;   move-corresponding wa1 to wa_final.&lt;/P&gt;&lt;P&gt;   loop at itab2 into wa2 where key = wa1-key.&lt;/P&gt;&lt;P&gt;     add 1 to count1.&lt;/P&gt;&lt;P&gt;      count2 = 0.&lt;/P&gt;&lt;P&gt;      move-corresponding wa2 to wa_final.&lt;/P&gt;&lt;P&gt;      loop at itab3 into wa3 where key = wa2-key.&lt;/P&gt;&lt;P&gt;          add 1 to count.&lt;/P&gt;&lt;P&gt;          move-corresponding wa3 to wa_final.&lt;/P&gt;&lt;P&gt;          append wa_final to itab_final.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;      if count2 = 0.&lt;/P&gt;&lt;P&gt;        append wa_final to itab_final.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;   if count1 = 0.&lt;/P&gt;&lt;P&gt;     append wa_final to itab_final.&lt;/P&gt;&lt;P&gt;   endif.&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;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154021#M1194106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables looping.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154022#M1194107</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;Sorry for delayed reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I missed main requirement to specify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time is to be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for one interval of first table I have 2 values for 2nd table, &lt;/P&gt;&lt;P&gt;I have to split the period to give 2 values of 2nd table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest...&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;Veeranji Reddy P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 03:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables-looping/m-p/5154022#M1194107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T03:52:49Z</dc:date>
    </item>
  </channel>
</rss>

