<?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 Table Column Processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796412#M1779128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think a loop can be avoided. &lt;/P&gt;&lt;P&gt;However you can reduce the number of lines with this logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;FIELD&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;-SYMBOLS &amp;lt;FS1&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ANY&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&amp;nbsp; ITAB2[] = ITAB1[].&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ASSIGN&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; WA_ITAB1-FIELD2 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &amp;lt;FS1&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;LOOP&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;AT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; ITAB1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; WA_ITAB1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;APPEND&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &amp;lt;FS1&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; ITAB2.&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 14:28:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-01T14:28:52Z</dc:date>
    <item>
      <title>Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796402#M1779118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where in i need to collate values in field1, field2 in a internal table in to a single field in another table.&lt;/P&gt;&lt;P&gt;Is there any other opton other than looping at itab1 and inserting the values of field1, field2 into itab2 one after the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;Itab1 has two columns &lt;SPAN style="font-size: 10pt;"&gt;Product1, Product2 and itab2 has one field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M124, M126&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M125, M127&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M128, M129&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expected Result&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;iTAB2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M124&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M126&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M125&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M127&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M128&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M129&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796402#M1779118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T06:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796403#M1779119</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;Please try this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-indent: 10.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial monospaced for SAP'; color: black;"&gt;Loop at &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Itab1 .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 10.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Itab2-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Produc&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt; t= Itab1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;-Product1&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="text-indent: 10.5pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Append itab2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 10.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Itab2-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Produc&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt; t= Itab1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;–Product2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 10.5pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Append itab2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: white; font-size: 9.0pt; font-family: 'Arial','sans-serif';"&gt;Endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: white; font-size: 9.0pt; font-family: 'Arial','sans-serif';"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: white; font-size: 9.0pt; font-family: 'Arial','sans-serif';"&gt;JN&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796403#M1779119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T06:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796404#M1779120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No there is no other alternative than LOOPing at the itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796404#M1779120</guid>
      <dc:creator>former_member208149</dc:creator>
      <dc:date>2013-10-01T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796405#M1779121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Udaya Bhaskar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code your business logic to fetch product names directly into &lt;STRONG&gt;ITAB2 &lt;/STRONG&gt;instead of ITAB1 &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1826/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796405#M1779121</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2013-10-01T06:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796406#M1779122</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;if you need the 1st internal table, too, then the only other way might be a selection from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ... INTO TABLE itab2 FOR ALL ENTRIES in ITAB1 WHERE product = itab1-product1 OR product = itab1-product2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If OR doesn't work split SELECT into SELECT INTO TABLE itab1 FOR ALL ENTRIES in ITAB1 WHERE product1 ... and SELECT APPENDING TABLE itab1 FOR ALL ENTRIES in ITAB1 WHERE product2 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LOOP and APPEND remains the easiest way to create itab2.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 07:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796406#M1779122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796407#M1779123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Udaya Bhaskar Perecharla,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no other way other than loop....&lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1826/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 07:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796407#M1779123</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-10-01T07:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796408#M1779124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Udaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too Curious to know why you don't wish to use loop at internal table.&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1826/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is Performance issue use parallel cursor method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise use read table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is the problem with loop command Please Explain.&lt;SPAN __jive_emoticon_name="info" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1826/images/emoticons/info.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 11:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796408#M1779124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T11:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796409#M1779125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEAR UDAY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY THIS PLEASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt;: &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; itab1 &lt;SPAN class="L1S52"&gt;OCCURS&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col1 &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; char10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col2 &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; char10,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt;: &lt;SPAN class="L1S52"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; itab2 &lt;SPAN class="L1S52"&gt;OCCURS&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; product &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; matnr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; itab2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt;: V_LINES &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;I&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt;: COUNTER &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;I&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; itab1-col1 = &lt;SPAN class="L1S33"&gt;'M124'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; itab1-col2 = &lt;SPAN class="L1S33"&gt;'M126'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; ITAB1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt;: ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; itab1-col1 = &lt;SPAN class="L1S33"&gt;'M125'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; itab1-col2 = &lt;SPAN class="L1S33"&gt;'M127'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; ITAB1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt;: ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itab1-col1 = &lt;SPAN class="L1S33"&gt;'M128'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; itab1-col2 = &lt;SPAN class="L1S33"&gt;'M129'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; ITAB1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt;: ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;DESCRIBE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TABLE&lt;/SPAN&gt; ITAB1 &lt;SPAN class="L1S52"&gt;LINES&lt;/SPAN&gt; V_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S52"&gt;DO&lt;/SPAN&gt; V_LINES &lt;SPAN class="L1S52"&gt;TIMES&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; COUNTER = COUNTER + &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;READ&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TABLE&lt;/SPAN&gt; ITAB1 &lt;SPAN class="L1S52"&gt;INDEX&lt;/SPAN&gt; COUNTER.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; SY-SUBRC &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITAB2-PRODUCT = ITAB1-COL1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; ITAB2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt;: ITAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITAB2-PRODUCT = ITAB1-COL2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; ITAB2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt;: ITAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDDO&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;SORT&lt;/SPAN&gt; ITAB2 &lt;SPAN class="L1S52"&gt;BY&lt;/SPAN&gt; PRODUCT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; ITAB2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WRITE&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; ITAB2-PRODUCT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDLOOP&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 12:48:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796409#M1779125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796410#M1779126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you have ITAB2 field similar to the first field in ITAB1. For First column you can directly assign value of ITAB1 to ITAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2[] = itab1[]. this copies the first column avoiding 1 append statement in code.&lt;/P&gt;&lt;P&gt;and then loop at itab1 and append the second column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 13:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796410#M1779126</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2013-10-01T13:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796411#M1779127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think the requirment is clear. The 2nd itab has just one coloum and he&amp;nbsp; wants to transfer two may be more than two coloumn value to a single coloum of single column of 2nd itab. ain't it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 13:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796411#M1779127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T13:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796412#M1779128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think a loop can be avoided. &lt;/P&gt;&lt;P&gt;However you can reduce the number of lines with this logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;FIELD&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;-SYMBOLS &amp;lt;FS1&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ANY&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&amp;nbsp; ITAB2[] = ITAB1[].&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ASSIGN&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; WA_ITAB1-FIELD2 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &amp;lt;FS1&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;LOOP&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;AT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; ITAB1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; WA_ITAB1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;APPEND&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; &amp;lt;FS1&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt; ITAB2.&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 14:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796412#M1779128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796413#M1779129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure why you felt that I am not clear with the requirement, i have proposed a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 16:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796413#M1779129</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2013-10-01T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796414#M1779130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your quick response and sharing ideas on my query. I have got&amp;nbsp; some optimum approach in this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 04:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796414#M1779130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-02T04:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Column Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796415#M1779131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 06:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-column-processing/m-p/9796415#M1779131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-02T06:14:43Z</dc:date>
    </item>
  </channel>
</rss>

