<?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 # - Enter sign in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445340#M211545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've written a BSP application with an input field of type string. (textbox).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the OnInputProcessing, I update a db table with the string value.  The field on the db is also of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem : every enter the user has done on the textbox, comes through as a # sign and is also stored like that on the db table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When rendering the text again in the BSP, the # signs actually show as a character.  How do I (1) read the # (you cant search for '#' - it does'nt recognize it), and (2) replace is with a space?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : this is not related to BSP's, but to any 'string' field.  I've come across this in ABAP &amp;amp; Java also.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What ABAP statement would recognise the # or enter sign?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 11:14:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T11:14:18Z</dc:date>
    <item>
      <title># - Enter sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445340#M211545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've written a BSP application with an input field of type string. (textbox).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the OnInputProcessing, I update a db table with the string value.  The field on the db is also of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem : every enter the user has done on the textbox, comes through as a # sign and is also stored like that on the db table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When rendering the text again in the BSP, the # signs actually show as a character.  How do I (1) read the # (you cant search for '#' - it does'nt recognize it), and (2) replace is with a space?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : this is not related to BSP's, but to any 'string' field.  I've come across this in ABAP &amp;amp; Java also.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What ABAP statement would recognise the # or enter sign?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445340#M211545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: # - Enter sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445341#M211546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charamine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             The replacement of # with space can be done in ABAP with the statement REPLACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE '#' WITH SPACE IN DBFIELD.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I recommend you not to have # at the end of the field when it goes into database rather than changing this # into space at all times in your program.&lt;/P&gt;&lt;P&gt;After getting the value from text box, Use the REPLACE statement before you enter the value into DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445341#M211546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: # - Enter sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445342#M211547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The # is actually a newline or a line feed character.&lt;/P&gt;&lt;P&gt;try to replace it by a space using replace command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurances of CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE with space in v_msg.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;replace all occurances of CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF with space in v_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-sign/m-p/1445342#M211547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:27:37Z</dc:date>
    </item>
  </channel>
</rss>

