<?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 String variable print in smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-variable-print-in-smartform/m-p/9150014#M1710330</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;We have created a Z field with variable type as String. while saving, after 255 characters, it adds a hesh sign # itself and if user presses enter while typing text in this variable, it saves it with two hesh sign. we have used customized control text area to let user put unlimited length of text in this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is, when we print this variable in smartform, this hesh is printed. Replace function also does not replace it. How do we remove this? is there any FM to print string variable as user saved it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Binita Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 07:16:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-21T07:16:11Z</dc:date>
    <item>
      <title>String variable print in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-variable-print-in-smartform/m-p/9150014#M1710330</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;We have created a Z field with variable type as String. while saving, after 255 characters, it adds a hesh sign # itself and if user presses enter while typing text in this variable, it saves it with two hesh sign. we have used customized control text area to let user put unlimited length of text in this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is, when we print this variable in smartform, this hesh is printed. Replace function also does not replace it. How do we remove this? is there any FM to print string variable as user saved it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Binita Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-variable-print-in-smartform/m-p/9150014#M1710330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-21T07:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: String variable print in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-variable-print-in-smartform/m-p/9150015#M1710331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Binita, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to remove the Formatting Characters for example TAB , enter and Carriage Return, &lt;/P&gt;&lt;P&gt;They are saved as a&amp;nbsp; Code and are denoted by # in&amp;nbsp; string &lt;/P&gt;&lt;P&gt;You can do it by replacing such thing by using 'REPlACE ALL OCCURANCES OF cl_abap_char_utilities=&amp;gt;horizontal_tab&amp;nbsp; &amp;lt;string&amp;gt;'&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try replacing all Atrributs of class cl_abap_char_utilities CR_LF , NEW_LINE ...and no on&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;anup Deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-variable-print-in-smartform/m-p/9150015#M1710331</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2012-11-21T07:47:01Z</dc:date>
    </item>
  </channel>
</rss>

