<?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: line break issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-issue/m-p/7061281#M1503367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code snippet: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_char(400) TYPE c.

v_char =
`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
&amp;amp; `xxxxxx. They have commit to use Calibre but they hesitate to `
&amp;amp; ` introduce ccccccccccccccccccccccccccccc`.

WRITE: v_char.

DATA: it_132 TYPE STANDARD TABLE OF tdline,
      v_132 TYPE tdline.

CALL FUNCTION 'RKD_WORD_WRAP'
  EXPORTING
    textline            = v_char
    outputlen           = 132
  TABLES
    out_lines           = it_132
  EXCEPTIONS
    outputlen_too_large = 1
    OTHERS              = 2.
IF sy-subrc = 0.
  LOOP AT it_132 INTO v_132.
    WRITE : / v_132.
  ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jul 2010 08:10:42 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-07-19T08:10:42Z</dc:date>
    <item>
      <title>line break issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-issue/m-p/7061280#M1503366</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 adding long texts to few documents using function modules. The function module structure field takes 32 char. when I am tried to update the long texts, it breaks in the middle of a word.For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose my text is "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. They have commit to use Calibre but they hesitate to introduce ccccccccccccccccccccccccccccc"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it updates as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. They have commit to use Calibre but they hesitate to i&lt;/P&gt;&lt;P&gt;ntroduce ccccccccccccccccccccccccccccc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the 132 character finishes at "i" and hence the word introduce breaks in middle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to concatenate the word so that the word will be complete and will break from the next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 07:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-issue/m-p/7061280#M1503366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T07:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: line break issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-issue/m-p/7061281#M1503367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code snippet: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_char(400) TYPE c.

v_char =
`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
&amp;amp; `xxxxxx. They have commit to use Calibre but they hesitate to `
&amp;amp; ` introduce ccccccccccccccccccccccccccccc`.

WRITE: v_char.

DATA: it_132 TYPE STANDARD TABLE OF tdline,
      v_132 TYPE tdline.

CALL FUNCTION 'RKD_WORD_WRAP'
  EXPORTING
    textline            = v_char
    outputlen           = 132
  TABLES
    out_lines           = it_132
  EXCEPTIONS
    outputlen_too_large = 1
    OTHERS              = 2.
IF sy-subrc = 0.
  LOOP AT it_132 INTO v_132.
    WRITE : / v_132.
  ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 08:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-issue/m-p/7061281#M1503367</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-19T08:10:42Z</dc:date>
    </item>
  </channel>
</rss>

