<?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 Convert table to string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592965#M593727</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;Our requirement is to convert internal table to a stirng .&lt;/P&gt;&lt;P&gt;Suppose internal table is like this &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;123&lt;/P&gt;&lt;P&gt;456&lt;/P&gt;&lt;P&gt;789&lt;/P&gt;&lt;P&gt;XXX&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;Each entry in the table shdl have a fixed length in the output . Suppose it is 5 , then the output will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'123 456 789 XXX '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any ABAP class /FM can handle this ??? &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;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 06:19:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-24T06:19:24Z</dc:date>
    <item>
      <title>Convert table to string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592965#M593727</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;Our requirement is to convert internal table to a stirng .&lt;/P&gt;&lt;P&gt;Suppose internal table is like this &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;123&lt;/P&gt;&lt;P&gt;456&lt;/P&gt;&lt;P&gt;789&lt;/P&gt;&lt;P&gt;XXX&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;Each entry in the table shdl have a fixed length in the output . Suppose it is 5 , then the output will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'123 456 789 XXX '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any ABAP class /FM can handle this ??? &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;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 06:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592965#M593727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T06:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert table to string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592966#M593728</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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_TABLE_TO_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 06:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592966#M593728</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-24T06:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert table to string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592967#M593729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goutam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure you have function module to convert internal table data into string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code.&lt;/P&gt;&lt;P&gt;DATA V_OUTPUT TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;CONCATENATE V_OUTPUT ITAB-F1 INTO V_OUTPUT SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ V_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 06:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-table-to-string/m-p/2592967#M593729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T06:23:50Z</dc:date>
    </item>
  </channel>
</rss>

