<?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: help withe loop on tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797865#M342768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio , &lt;/P&gt;&lt;P&gt;  in the loop how do you determine if the employee is doing the course or not.&lt;/P&gt;&lt;P&gt;As per my understanding you must be having a condition , if the condition is true the employee is doing the course if not what you can do is append that employee to your other internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 08:30:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-07T08:30:11Z</dc:date>
    <item>
      <title>help withe loop on tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797862#M342765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow in my table itab I have employee (sobid employee number and names ex. 80 emp) in my loop(b_itab) I get all he employee that doing the course (their sobid just 3 emp) how can I use b_itab to write to other table (d_itab) to write all the employee that don&amp;#146;t doing the course .I need a  general solution.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Ex.i have a table with 80 emp and I doing a loop on this table and find 3 employee that doing course how can I do  comparison in the 2 table that if the employee not in b_itab(emp doing course) write them in d_itab(oteer table).&amp;lt;/b&amp;gt;    .if u need more details  please let me now.&lt;/P&gt;&lt;P&gt; regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797862#M342765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: help withe loop on tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797863#M342766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab1.
  read table itab2 with key course = itab1-course
    if sy-subrc ne 0.
        move-corresponding itab2 to it_final.
        append it_final
    endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797863#M342766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: help withe loop on tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797864#M342767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Specify the condition here if they are doing the course&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if (Condition here)&lt;/P&gt;&lt;P&gt;append itab to b_itab.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;append itb to d_tab.&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;The other option will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;read table b_itab with key course = itab-course.&lt;/P&gt;&lt;P&gt;if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;append itab to d_itab.&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;Can you try these options? If not, please give the structure of the internal table to know exactly you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797864#M342767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: help withe loop on tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797865#M342768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio , &lt;/P&gt;&lt;P&gt;  in the loop how do you determine if the employee is doing the course or not.&lt;/P&gt;&lt;P&gt;As per my understanding you must be having a condition , if the condition is true the employee is doing the course if not what you can do is append that employee to your other internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797865#M342768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: help withe loop on tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797866#M342769</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 don't know whether I understood your question correctly.Check whether this is the output you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;if not itab-sobid is initial."Employee during course&lt;/P&gt;&lt;P&gt;move-corresponding itab to d_itab.&lt;/P&gt;&lt;P&gt;append d_itab.&lt;/P&gt;&lt;P&gt;else."Employee not during course&lt;/P&gt;&lt;P&gt;move-corresponding itab to b_itab.&lt;/P&gt;&lt;P&gt;append b_itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-withe-loop-on-tables/m-p/1797866#M342769</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-12-07T08:37:24Z</dc:date>
    </item>
  </channel>
</rss>

