<?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 Moving data from table1 to table 2. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187336#M1374089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to move data from table  lt_source ( TYPE well defined)  to table lt_target. I know the type of lt_target also but the table type of table lt_target gets defined only at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as both tables have some common fields and MOVE-CORRESPONDING cannot be used. Nonetheless the main issue is assigning any value from lt_source to lt_target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aayush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 10:07:25 GMT</pubDate>
    <dc:creator>aayush_dubey3</dc:creator>
    <dc:date>2009-10-01T10:07:25Z</dc:date>
    <item>
      <title>Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187336#M1374089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to move data from table  lt_source ( TYPE well defined)  to table lt_target. I know the type of lt_target also but the table type of table lt_target gets defined only at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as both tables have some common fields and MOVE-CORRESPONDING cannot be used. Nonetheless the main issue is assigning any value from lt_source to lt_target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aayush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187336#M1374089</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187337#M1374090</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;U need to use the field-symbols, u should store the name of the field it_source in a internal table and use it for the mapping:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_SOURCE.
   LOOP AT IT_FIELD.
      ASSIGN COMPONENT IT_FIELD-NAME OF STRUCTURE IT_SOURCE TO &amp;lt;FS_SOURCE&amp;gt;.
      ASSIGN COMPONENT IT_FIELD-NAME OF STRUCTURE IT_TARGET TO &amp;lt;FS_TARGET&amp;gt;.
      IF SY-SUBRC = 0.
         &amp;lt;FS_TARGET&amp;gt; = &amp;lt;FS_SOURCE&amp;gt;.
     ENDIF.
   ENDLOOP.
   APPEND IT_TARGET.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187337#M1374090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T10:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187338#M1374091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick help but i couldn't understand the code provided by you. I do not know usage of FIELD SYBBOLS yet so please find the code snippet attached and guide me further. Also provide the code where you define field symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: 
        lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
        ls_campaigns TYPE ZTESTCAMPAIGN.

*............Some code here which fills lt_campaigns table .................

* Things to be done
* MOVE the contents from lt_campaigns to table CT_DB_DATA
* The TYPE of table CT_DB_DATA is assigned only at runtime
* table CT_DB_DATA is transparent table with table type CRMT_MKTPL_WEC which inturn has line type CRMD_MKTPL_WEC
* Also you can assume that ls_campaigns is a different structure from CRMD_MKTPL_WEC with only some fields common.
* All rows are to be copied from lt_campaign to CT_DB_DATA. Some fields are missing but thats OK&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187338#M1374091</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T10:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187339#M1374092</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;Here u've the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; table CT_DB_DATA is transparent table with table type CRMT_MKTPL_WEC which inturn has line type CRMD_MKTPL_WEC.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u know the CT_DB_DATA is like CRMT_MKTPL_WEC having a like like CRMD_MKTPL_WEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u need to declare a variable like CRMD_MKTPL_WEC and transfer it to CT_DB_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187339#M1374092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187340#M1374093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply again. I too understand that i need to loop through the table and assign the data to new structure of TYPE CRMD_MKTPL_WEC. Then i should transfer the structure to CT_DB_DATA. But the issue is i do not know how to transfer the data to CT_DB_DATA. What is the syntax for it ? That is the reason i ask question in this forum. Please let me know the code for assignment which is commented in below snippet. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: 
        lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
        ls_campaigns TYPE ZTESTCAMPAIGN,
        ls_CT_DB_DATA TYPE CRMD_MKTPL_WEC,
        lt_CT_DB_DATA TYPE CRMT_MKTPL_WEC.
 
*............Some code here which fills lt_campaigns table .................

LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
ls_CT_DB_DATA-APPLICATION = LS_CAMPAIGNS-APPLICAION.
LS_CT_DB_DATA-WCMAVERSION = LS_CAMPAIGNS-VERSION_ID.
*ASSIGNMENT CODE HERE
ENDLOOP.
*ADDITIONAL ASSIGNMENT CODE HERE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aayush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 11:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187340#M1374093</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T11:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187341#M1374094</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;U should show the contest where your code need to be placed, I don't know how the table CT_DB_DATA is, i.e. you need to fill it (because it's empty) or u need to change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to fill an empty table, u have to fill a workarea and then append it to CT_DB_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.DATA:  lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
             ls_campaigns TYPE ZTESTCAMPAIGN,
             ls_CT_DB_DATA TYPE CRMD_MKTPL_WEC.

LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
   MOVE-CORRESPONDING LS_CAMPAIGNS TO LS_CT_DB_DATA.
   APPEND LS_CT_DB_DATA TO  CT_DB_DATA.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187341#M1374094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187342#M1374095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using field symbols i am getting this error now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;" Data objects in Unicode programs cannot be converted"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: 
        lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
        ls_campaigns TYPE ZTESTCAMPAIGN,
        ls_CT_DB_DATA TYPE CRMD_MKTPL_WEC,
        lt_CT_DB_DATA TYPE CRMT_MKTPL_WEC.
 
FIELD-SYMBOLS &amp;lt;fs_ct_db_data&amp;gt; TYPE CRMD_MKTPL_WEC.

ASSIGN LS_CT_DB_DATA TO &amp;lt;FS_CT_DB_DATA&amp;gt;.

*............Some code here which fills lt_campaigns table .................
 
LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
ls_CT_DB_DATA-APPLICATION = LS_CAMPAIGNS-APPLICAION.
LS_CT_DB_DATA-WCMAVERSION = LS_CAMPAIGNS-VERSION_ID.
&amp;lt;fs_ct_db_data&amp;gt;-APPLICATION = LS_CAMPAIGNS-APPLICAION.
&amp;lt;fs_ct_db_data&amp;gt;-WCMAVERSION = LS_CAMPAIGNS-VERSION_ID.
APPEND &amp;lt;FS_CT_DB_DATA&amp;gt; TO CT_DB_DATA.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187342#M1374095</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T12:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187343#M1374096</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;Can u give me in which context you're working? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're in a user-exit, BADI......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's CT_DB_DATA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187343#M1374096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T12:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187344#M1374097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I am in a class method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. CT_DB_DATA   is a trans table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187344#M1374097</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T12:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187345#M1374098</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;U don't need to use the field-symbol, because u know CT_DB_DATA is based on type table CRMT_MKTPL_WEC, and this type is based on CRMD_MKTPL_WEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u need to use a workarea like CRMD_MKTPL_WEC only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:  lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
            ls_campaigns TYPE ZTESTCAMPAIGN,
            ls_CT_DB_DATA TYPE CRMD_MKTPL_WEC.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u need to transfer the data from lt_campaigns to  ls_CT_DB_DATA and append it to CT_DB_DATA&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
     ls_CT_DB_DATA-APPLICATION      = LS_CAMPAIGNS-APPLICAION.
     LS_CT_DB_DATA-WCMAVERSION = LS_CAMPAIGNS-VERSION_ID.
    APPEND LS_CT_DB_DATA TO CT_DB_DATA.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution above is valid is CT_DB_DATA is define TYPE TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If CT_DB_DATA is defined just like a generic DATA, so TYPE REF TO DATA, in this case u need to use the field-symbols:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:  lt_campaigns TYPE ZTESTCAMPAIGN_TAB,
            ls_campaigns TYPE ZTESTCAMPAIGN,
            ls_CT_DB_DATA TYPE CRMD_MKTPL_WEC.


FIELD-SYMBOLS &amp;lt;CT_DB_DATA_TAB&amp;gt; TYPE TABLE.

ASSIGN CT_DB_DATA-&amp;gt;* TO &amp;lt;CT_DB_DATA_TAB&amp;gt;.

LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
     ls_CT_DB_DATA-APPLICATION      = LS_CAMPAIGNS-APPLICAION.
     LS_CT_DB_DATA-WCMAVERSION = LS_CAMPAIGNS-VERSION_ID.
    APPEND LS_CT_DB_DATA TO&amp;lt;CT_DB_DATA_TAB&amp;gt;.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How CT_DB_DATA is defined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187345#M1374098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T12:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187346#M1374099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i am syaing from the starting that the TYPE assignment to table  CT_DB_DATA happens only at runtime. and yes even if i replace the FIELD-SYMBOL  &amp;lt;fs_ct_db_data&amp;gt; with LS_CT_DB_DATA and still it gives the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data objects in Unicode programs cannot be converted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Aayush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187346#M1374099</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187347#M1374100</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;Can u say me how CT_DB_DATA is defined in the method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187347#M1374100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187348#M1374101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a changing parameter of TYPE TABLE CT_DB_DATA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187348#M1374101</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187349#M1374102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when u've the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data objects in Unicode programs cannot be converted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187349#M1374102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187350#M1374103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the append statement in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;FS_CT_DB_DATA&amp;gt; TO CT_DB_DATA. or even if i change it to APPEND LS_CT_DB_DATA  TO CT_DB_DATA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187350#M1374103</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T13:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187351#M1374104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just last question (I hope)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You obtain the error at runtime or it's a sintax error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187351#M1374104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187352#M1374105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Runtime error !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187352#M1374105</guid>
      <dc:creator>aayush_dubey3</dc:creator>
      <dc:date>2009-10-01T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187353#M1374106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uhm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that means the following sentence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;table CT_DB_DATA is transparent table with table type CRMT_MKTPL_WEC which inturn has line type CRMD_MKTPL_WEC&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a code like your and it works fine, no dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check the type of CT_DB_DATA by debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I'll give you a code with field-symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187353#M1374106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from table1 to table 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187354#M1374107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use a code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: LT_CAMPAIGNS TYPE ZTESTCAMPAIGN_TAB,
      LS_CAMPAIGNS TYPE ZTESTCAMPAIGN.

DATA: DFIES_TAB TYPE TABLE OF DFIES,
      DFIES_WA  TYPE  DFIES.

DATA DYN_WA TYPE REF TO DATA.
FIELD-SYMBOLS &amp;lt;WA&amp;gt; TYPE ANY.

FIELD-SYMBOLS: &amp;lt;FS_TARGET&amp;gt; TYPE ANY,
               &amp;lt;FS_SOURCE&amp;gt; TYPE ANY.

* Create the workarea
CREATE DATA DYN_WA LIKE LINE OF CT_DB_DATA.
ASSIGN DYN_WA-&amp;gt;* TO &amp;lt;WA&amp;gt;.

CALL FUNCTION 'DDIF_FIELDINFO_GET'
  EXPORTING
    TABNAME   = 'ZTESTCAMPAIGN'
  TABLES
    DFIES_TAB = DFIES_TAB.

LOOP AT LT_CAMPAIGNS INTO LS_CAMPAIGNS.
  CLEAR &amp;lt;WA&amp;gt;.
  LOOP AT DFIES_TAB INTO DFIES_WA.
    ASSIGN COMPONENT DFIES_WA-FIELDNAME OF STRUCTURE LS_CAMPAIGNS TO &amp;lt;FS_SOURCE&amp;gt;.
    ASSIGN COMPONENT DFIES_WA-FIELDNAME OF STRUCTURE &amp;lt;WA&amp;gt;         TO &amp;lt;FS_TARGET&amp;gt;.
    IF SY-SUBRC = 0.
      &amp;lt;FS_TARGET&amp;gt; = &amp;lt;FS_SOURCE&amp;gt;.
    ENDIF.
  ENDLOOP.
  CHACK NOT &amp;lt;WA&amp;gt; IS INITIAL.
  APPEND &amp;lt;WA&amp;gt; TO CT_DB_DATA.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-table1-to-table-2/m-p/6187354#M1374107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:56:11Z</dc:date>
    </item>
  </channel>
</rss>

