<?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: CONCATENATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172090#M754799</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;    Thanks for your reply, but still it is giving the same problem. It Is not separating properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 14:31:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-19T14:31:33Z</dc:date>
    <item>
      <title>CONCATENATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172087#M754796</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 am facing one problem while displaying the text in smart form. I am picking the text from transaction header and the same text I am displaying in smart form. For this I am using the function read text. After read_text the internal table is populating with text. My doubt is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Let say the text contains in the below way in transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   **1 this is the text for sample.&lt;/P&gt;&lt;P&gt;   **2 this is text for sample1.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it may contains three lines also but every time it should start with **and line number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this what I am doing is after the function read_text I am writing the code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;CONCATENATE gv_str it_lines2-tdline INTO gv_str.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above I have declared variable gv_str of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what is happening is in smart form it is displaying the text in the below way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**1 this is the text for sample **2 this&lt;/P&gt;&lt;P&gt;Is the text for sample1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But  I want in the below way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**1 this is the text for sample&lt;/P&gt;&lt;P&gt;**2 this is the text for sample1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to separate each line while concatenating the text into gv_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me I will give points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 14:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172087#M754796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T14:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: CONCATENATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172088#M754797</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;Have you declared the it_lines2 as tlines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 14:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172088#M754797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: CONCATENATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172089#M754798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;   CONCATENATE gv_str it_lines2-tdline INTO gv_str SEPARATED BY cl_abap_char_utilities=&amp;gt;newline.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Roby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 14:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172089#M754798</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2007-12-19T14:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: CONCATENATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172090#M754799</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;    Thanks for your reply, but still it is giving the same problem. It Is not separating properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 14:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenate/m-p/3172090#M754799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T14:31:33Z</dc:date>
    </item>
  </channel>
</rss>

