<?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: Problem encountered when using RKD_WORD_WRAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798251#M653301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use other FM in order to get perfect functionality :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWA_STRING_SPLIT -&amp;gt; pass the text and mention line length ,it split the data accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 02:27:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-06T02:27:01Z</dc:date>
    <item>
      <title>Problem encountered when using RKD_WORD_WRAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798250#M653300</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 have encountered a problem when using RKD_WORD_WRAP. The problem is that the paragraph is not being formatted nicely when i try to printout in Smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg is that I want to format this paragraph; &lt;/P&gt;&lt;P&gt;"Text Conversion: Convert Text Formats&lt;/P&gt;&lt;P&gt;The function module CONVERT_TEXT provides the&lt;/P&gt;&lt;P&gt;following format conversion options:"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I output it out, the text was being displayed like this;&lt;/P&gt;&lt;P&gt;"Text Conversion: Convert Text Formats&lt;/P&gt;&lt;P&gt;The function module CONVERT_TEXT provides &lt;/P&gt;&lt;P&gt;the&lt;/P&gt;&lt;P&gt;following format conversion options:"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that even though after the "the" word, although that line still has some spaces, thecorresponsing words just wont get concatenate to the 2nd line (as seen above). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to fix this?? Or is there a standard value to be use for the outputlens parameter so that the above situation will not occurs??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 02:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798250#M653300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T02:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem encountered when using RKD_WORD_WRAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798251#M653301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use other FM in order to get perfect functionality :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWA_STRING_SPLIT -&amp;gt; pass the text and mention line length ,it split the data accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 02:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798251#M653301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T02:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem encountered when using RKD_WORD_WRAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798252#M653302</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;The function module SWA_STRING_SPLIT that you have said is not working successfully. It is still giving me the same problem where it is appending a new line where there is still enough space for the word on the current line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 03:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798252#M653302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T03:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem encountered when using RKD_WORD_WRAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798253#M653303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below program and output :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest_ytt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data input type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data SWASTRTAB like SWASTRTAB occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input = 'The function module SWA_STRING_SPLIT that you have said is not&lt;/P&gt;&lt;P&gt;working successfully. It is still giving me the same problem where it is&lt;/P&gt;&lt;P&gt; appending a new line where there is still enough space for the word on&lt;/P&gt;&lt;P&gt;the current line'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SWA_STRING_SPLIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT_STRING                       = input&lt;/P&gt;&lt;P&gt;   MAX_COMPONENT_LENGTH               = 100&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TERMINATING_SEPARATORS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OPENING_SEPARATORS                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    STRING_COMPONENTS                  = SWASTRTAB&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   MAX_COMPONENT_LENGTH_INVALID       = 1&lt;/P&gt;&lt;P&gt;   OTHERS                             = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at SWASTRTAB.&lt;/P&gt;&lt;P&gt;write:/ SWASTRTAB-STR.&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 is output :&lt;/P&gt;&lt;P&gt;The function module SWA_STRING_SPLIT that you have said is not working successfully. It is still        &lt;/P&gt;&lt;P&gt;giving me the same problem where it is appending a new line where there is still enough space for       &lt;/P&gt;&lt;P&gt;the word on the current line                                                                                &lt;/P&gt;&lt;P&gt;Suppose you want to print 100 charcters in each line .. upto 95 charcters you have words perfectly the next will start at 97th ,so here word is &amp;lt;b&amp;gt;' Function'&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;so this word will not fit into that line since you have 4 charcters,Function word is containg 8 charcters,this word will come in next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the program and give what ever input and see the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 03:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-encountered-when-using-rkd-word-wrap/m-p/2798253#M653303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T03:31:59Z</dc:date>
    </item>
  </channel>
</rss>

