<?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: Concatenating free text into a String in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467003#M1416583</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;already my current code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gx_wl-comment is a string declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FDM_CCT_GET_MULTI'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_coll_segment   = lv_segmt&lt;/P&gt;&lt;P&gt;        i_customer       = gv_kunnr&lt;/P&gt;&lt;P&gt;        i_since_date     = gv_tstamp&lt;/P&gt;&lt;P&gt;        ix_bypass_buffer = 'X'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        et_notes         = lt_notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT lt_notes INTO lx_notes.&lt;/P&gt;&lt;P&gt;      TRANSLATE lx_notes-text_line USING '" '.&lt;/P&gt;&lt;P&gt;      AT NEW case_guid.&lt;/P&gt;&lt;P&gt;        lv_header = 'X'.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;      IF lv_header = 'X'.&lt;/P&gt;&lt;P&gt;        IF lx_notes-text_line &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;          IF gx_wl-comment = ' '.&lt;/P&gt;&lt;P&gt;          condense lx_notes-text_line.                                   &lt;/P&gt;&lt;P&gt;            CONCATENATE '=' '"' gx_wl-comment  lx_notes-text_line  '"'  INTO gx_wl-comment.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            CONCATENATE  gx_wl-comment '&amp;amp;CHAR(10)&amp;amp;' '"'  lx_notes-text_line '"' INTO gx_wl-comment.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;          CONCATENATE   gx_wl-comment  '&amp;amp;CHAR(10)&amp;amp;' '"'  lx_notes-text_line '"' INTO gx_wl-comment.                      &lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;      CLEAR lv_header.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Dec 2009 05:22:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-24T05:22:35Z</dc:date>
    <item>
      <title>Concatenating free text into a String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467000#M1416580</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 am reading some text using function module and kept in an Internal Table.&lt;/P&gt;&lt;P&gt;Again looping that internal table and concatenating the text into a variable of data type String.&lt;/P&gt;&lt;P&gt;but for first time after reaching 255 characters, it is skipping 4 words and then it is continuing.&lt;/P&gt;&lt;P&gt;it is taking more than 1500 characters in that string and the 4 words which are missed are repeating again in later. And that time the data is captured properly. Only first time after 255 characters i'm facing this type of issue. And the function module i am using is"FDM_CCT_GET_MULTI".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me in resolving the issue.&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;Chaitanya A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 04:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467000#M1416580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T04:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating free text into a String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467001#M1416581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to do this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare  :           lv_string type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear lv_string. "Clear variable before use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table into workwrea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Concatinate field from workarea in LV_STRING.&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;Check the place where you are using the concatinate statement , is there any offset used? Debug and check the values in this loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 05:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467001#M1416581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T05:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating free text into a String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467002#M1416582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are any issues even after trying with the above suggestion, then post your code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 05:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467002#M1416582</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-24T05:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating free text into a String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467003#M1416583</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;already my current code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gx_wl-comment is a string declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FDM_CCT_GET_MULTI'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_coll_segment   = lv_segmt&lt;/P&gt;&lt;P&gt;        i_customer       = gv_kunnr&lt;/P&gt;&lt;P&gt;        i_since_date     = gv_tstamp&lt;/P&gt;&lt;P&gt;        ix_bypass_buffer = 'X'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        et_notes         = lt_notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT lt_notes INTO lx_notes.&lt;/P&gt;&lt;P&gt;      TRANSLATE lx_notes-text_line USING '" '.&lt;/P&gt;&lt;P&gt;      AT NEW case_guid.&lt;/P&gt;&lt;P&gt;        lv_header = 'X'.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;      IF lv_header = 'X'.&lt;/P&gt;&lt;P&gt;        IF lx_notes-text_line &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;          IF gx_wl-comment = ' '.&lt;/P&gt;&lt;P&gt;          condense lx_notes-text_line.                                   &lt;/P&gt;&lt;P&gt;            CONCATENATE '=' '"' gx_wl-comment  lx_notes-text_line  '"'  INTO gx_wl-comment.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            CONCATENATE  gx_wl-comment '&amp;amp;CHAR(10)&amp;amp;' '"'  lx_notes-text_line '"' INTO gx_wl-comment.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;          CONCATENATE   gx_wl-comment  '&amp;amp;CHAR(10)&amp;amp;' '"'  lx_notes-text_line '"' INTO gx_wl-comment.                      &lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;      CLEAR lv_header.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 05:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenating-free-text-into-a-string/m-p/6467003#M1416583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T05:22:35Z</dc:date>
    </item>
  </channel>
</rss>

