<?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: Moving data from a internal table to a variable. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134036#M988637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you means the whole data present in internal table to a single char variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 11:19:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T11:19:36Z</dc:date>
    <item>
      <title>Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134035#M988636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;How to move data from an internal table to a variable of type c or string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134035#M988636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134036#M988637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you means the whole data present in internal table to a single char variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134036#M988637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134037#M988638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah.. say a table with length adding all the individual fields length comes out to be 500.&lt;/P&gt;&lt;P&gt;I have only one row in it.&lt;/P&gt;&lt;P&gt;i have to move that row to a variable of type c or string?&lt;/P&gt;&lt;P&gt;Can i do that ? if yes pls tell me how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134037#M988638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134038#M988639</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;You can move an entry/record of an internal table to a variable but not the entire table  ....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_char(1000).

read table itab index 1 to wa_itab.
if sy-subrc = 0.
  move wa_itab to v_char.
endif.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134038#M988639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134039#M988640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after adding the rows u have it in a single row of internal table.&lt;/P&gt;&lt;P&gt;so use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;move itab to variable.&lt;/P&gt;&lt;P&gt;i hope this works out.&lt;/P&gt;&lt;P&gt;Please check it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134039#M988640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134040#M988641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: gs_string type string.

read table itab into wa index 1.
if sy-subrc eq 0.
assign wa to gs_string casting type c.
endif.&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;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134040#M988641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134041#M988642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DAta: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;   str type string,&lt;/P&gt;&lt;P&gt;  end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_data into wa.&lt;/P&gt;&lt;P&gt;conactenate wa-f1 wa-f2 wa-f3.. into itab-str.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will append all the fields into a single field in each row in another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134041#M988642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134042#M988643</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 the Type of your Internal table Is Not Character Type Field Then you can nto Move the Records from Internal table to a variable of Type C or String. Type Conflict Ocuur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Type of Internal table is of type C then you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: w_target as type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wa index 1.&lt;/P&gt;&lt;P&gt; w_target = wa.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write : w_target.&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;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134042#M988643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134043#M988644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope.. &lt;/P&gt;&lt;P&gt;Internal table is not of type c...&lt;/P&gt;&lt;P&gt;It contains a structure...which has some fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134043#M988644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134044#M988645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: Char(100),&lt;/P&gt;&lt;P&gt;         Merge(500).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider if Itab is the table with all data and WA is your workarea type/like ITAB.&lt;/P&gt;&lt;P&gt;Itab has three fields F1, F2, F3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into Wa&lt;/P&gt;&lt;P&gt;clear char.&lt;/P&gt;&lt;P&gt;clear merge.&lt;/P&gt;&lt;P&gt;char = wa-F1.&lt;/P&gt;&lt;P&gt;Concatenate Char Merge into merge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear char.&lt;/P&gt;&lt;P&gt;char = wa-F2.&lt;/P&gt;&lt;P&gt;Concatenate Char Merge into merge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear char.&lt;/P&gt;&lt;P&gt;char = wa-F3.&lt;/P&gt;&lt;P&gt;Concatenate Char Merge into merge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Append Merge to some table *******&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay on Jul 1, 2008 1:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 11:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134044#M988645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T11:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from a internal table to a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134045#M988646</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;you can do this way-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wa index 1.&lt;/P&gt;&lt;P&gt; Concatenate w_target wa-field1 wa-field2 ............into w_taget&lt;/P&gt;&lt;P&gt; separated by space.(If You want Space in between Two fields)&lt;/P&gt;&lt;P&gt;Write: w_target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 12:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data-from-a-internal-table-to-a-variable/m-p/4134045#M988646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T12:16:58Z</dc:date>
    </item>
  </channel>
</rss>

