<?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 Move Data Between Completely Different Tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237882#M1719348</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 a small requirement. I have declared an internal table dynamically. Now I have to move data between two tables with not even a single common field. I just want the data should move from Column1 to Column1 and so on. I do not know the no of columns of the second table as it will vary between 1 and 128. The former table from which I have to move the data has 128 columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2013 04:53:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-04T04:53:27Z</dc:date>
    <item>
      <title>Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237882#M1719348</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 a small requirement. I have declared an internal table dynamically. Now I have to move data between two tables with not even a single common field. I just want the data should move from Column1 to Column1 and so on. I do not know the no of columns of the second table as it will vary between 1 and 128. The former table from which I have to move the data has 128 columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 04:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237882#M1719348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T04:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237883#M1719349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop the first internal table &lt;/P&gt;&lt;P&gt;validate the column of the second internal table and put the table value.&lt;/P&gt;&lt;P&gt;append second internal table&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Vinoth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237883#M1719349</guid>
      <dc:creator>vinoth_aruldass</dc:creator>
      <dc:date>2013-01-04T05:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237884#M1719350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinoth, my question is I do not have the names of the columns known. How should I validate the columns and there is no single common column between the two. How should move between the two. It Gives me a Dump saying the Two are incompatible and not convertible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237884#M1719350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T05:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237885#M1719351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you have to map the nth column of the first internal table to the nth column of the second internal table, you can use the ASSIGN COMPONENT &amp;lt;comp&amp;gt; OF STRUCTURE statement. In &amp;lt;comp&amp;gt; you can use a counter which would represent the column number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237885#M1719351</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-01-04T05:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237886#M1719352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign Component will pick the Nth column of first table but how to assign it to the Nth column of the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237886#M1719352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T05:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237887#M1719353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have concatenated the content of first table into a string separated by comma but how to split the string at ',' into columns of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;if string is 1,2,3,4,5,6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table or work area should contain wa-col1 = 1. wa-col2 = 2. wa-col3 = 3. wa-col4 = 4. and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237887#M1719353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T05:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237888#M1719354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use two field-symbols - one for the source table and one for the target.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237888#M1719354</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-01-04T05:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237889#M1719355</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;try this..&lt;/P&gt;&lt;P&gt; Data : p1 type c,&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; p2 type c,&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; p3 type c,&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; comma type c value','. " comma splitter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use split..&lt;/P&gt;&lt;P&gt;SPLIT string AT comma into p1 p2 p3....&lt;/P&gt;&lt;P&gt;now move p1... pn to ur work area&amp;nbsp; and append to intab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing .. if u hav a int table struct then use split like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT string AT comma INTO TABLE int_struct&lt;/P&gt;&lt;P&gt;then use this int_struct( here with 128 fields as you said ) for ur calculations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237889#M1719355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T05:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237890#M1719356</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 can not specify p1 p2 p3 because first I do not know the Number of fields I'l get and the names of the columns of the table formed since it has been created dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;and can not use SPLIT string AT comma INTO TABLE int_struct since this gives me output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;wa-col1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa-col2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa-col3 .....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;6.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Chandni Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237890#M1719356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T06:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237891#M1719357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood correctly what you said, You meant take the name of the field of the dynamic internal table into a field symbol and assign that component a value from first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me get the name of the field of Dynamic internal Table into a field symbol. I am struggling with that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237891#M1719357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T06:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237892#M1719358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandni &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try transposing the result of SPLIT into table result in int_struct... .&lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just loop through the int_struct and modify the int int_struct with index .... if this satisfy ur requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- for this you need to have another int tab of same struct and need to modify this intab on looping the original&lt;/P&gt;&lt;P&gt;Thanks Ben &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237892#M1719358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T06:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237893#M1719359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I meant take the nth field from first internal table and set it to the nth field from the second internal table. Something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab1 ASSIGNING &amp;lt;fs_1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DO 128 TIMES.&amp;nbsp; " 128 = no. of fields in itab1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;fs_1&amp;gt; TO &amp;lt;fs_val1&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;fs_2&amp;gt; TO &amp;lt;fs_val2&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;fs_val2&amp;gt; = &amp;lt;fs_val1&amp;gt;.&lt;/P&gt;&lt;P&gt; ENDDO.&lt;/P&gt;&lt;P&gt; APPEND &amp;lt;fs_2&amp;gt; TO itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237893#M1719359</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-01-04T06:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237894#M1719360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but the second assign statement gives me sy-subrc 4 and hence no result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237894#M1719360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T06:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237895#M1719361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post your code as to how you have declared internal table. Why are you trying to move data between internal tables? What's the requirement? Thanks!&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;Kumud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237895#M1719361</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2013-01-04T06:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237896#M1719362</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 data in Excel file in which I am getting the names of the fields in the first row and data corresponding to that in next few rows. I have to declare an internal table( already done) with the fields specified in first row. The only problem now I am facing is how to move data from next rows to respective columns of the Dynamically Declared table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab contains the data from the excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;read &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;itab &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;index &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; a3 = wa-aa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;split &lt;/SPAN&gt;a3 &lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;',' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;a1 a2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_it-fieldname = a1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;w_it &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_1-str = a1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;i_1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;a1 &lt;SPAN class="L0S52"&gt;ne &lt;/SPAN&gt;a3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;concatenate &lt;/SPAN&gt;a1 &lt;SPAN class="L0S33"&gt;',' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;a1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;replace &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;first &lt;/SPAN&gt;occurrence &lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;a1 &lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;a3 &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;condense &lt;/SPAN&gt;a3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else.&lt;SPAN class="L0S31"&gt;"if a3 is initial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;exporting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_fieldcatalog = it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;importing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ep_table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ep_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ep_table is the dynamically created table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237896#M1719362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T06:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237897#M1719363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandni Sharma,&lt;/P&gt;&lt;P&gt;For your requirement you have to know the concept of RTTI and RTTS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the links for your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;&amp;lt;link farm removed&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 07:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237897#M1719363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T07:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237898#M1719364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As already written perform a LOOP with ASSIGN COMPONENT sy-index, and don't forget to manage with sy-subrc on ASSIGN statements and/ord TRY/CATCH classes like &lt;SPAN class="lnkgrey"&gt;CX_SY_CONVERSION_ERROR/&lt;/SPAN&gt;ENDTRY on the MOVE statements when you must exit the loop or raise an error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;LOOP AT itab1 ASSIGNING &amp;lt;struc1&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; APPEND INITIAL LINE TO itab2 ASSIGNING &amp;lt;struc2&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;struc1&amp;gt; TO &amp;lt;field1&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc NE 0. EXIT. ENDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;struc2&amp;gt; TO &amp;lt;field2&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc NE 0. EXIT. ENDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field2&amp;gt; = &amp;lt;field1&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CATCH: cx_sy_conversion_no_number,&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;&amp;nbsp; cx_sy_conversion_overflow,&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;&amp;nbsp; cx_sy_move_cast_error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " Error message ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDTRY.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDDO.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 07:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237898#M1719364</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-01-04T07:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237899#M1719365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using RTTI is always preferred way of declaring dynamic internal tables. However, going by the way you have done so far, Kumar Akshat's solution seems right to me. If I have to write the Pseudo code for your requirement it would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab from index 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do (no. of fields in itab) times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Assign component sy-index of ep_table to &amp;lt;fs_val1&amp;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; *Read the value of first component from itab to &amp;lt;fs_val2&amp;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; *Exchange the values &amp;lt;fs_val1&amp;gt; = &amp;lt;fs_val2&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enddo.&lt;/P&gt;&lt;P&gt;*Append the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 08:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237899#M1719365</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2013-01-04T08:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237900#M1719366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumud,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as I have mentioned it is not working as I am not getting the component in &amp;lt;fs_val1&amp;gt;. I will read about RTTI to check if that solves my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 08:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237900#M1719366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Move Data Between Completely Different Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237901#M1719367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your code!&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;Kumud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 08:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-between-completely-different-tables/m-p/9237901#M1719367</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2013-01-04T08:50:46Z</dc:date>
    </item>
  </channel>
</rss>

