<?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 se16 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/se16/m-p/3203891#M763728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have an issue where special characters you can't see via se16 are at the end of a character field. I need a way to strip them off via abap. Is there a good way to do this? New to abap, so be gentle. Have tried about everything including shift. Is there a trim command that can be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Dec 2007 07:44:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-22T07:44:43Z</dc:date>
    <item>
      <title>se16</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se16/m-p/3203891#M763728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have an issue where special characters you can't see via se16 are at the end of a character field. I need a way to strip them off via abap. Is there a good way to do this? New to abap, so be gentle. Have tried about everything including shift. Is there a trim command that can be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2007 07:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se16/m-p/3203891#M763728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-22T07:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: se16</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se16/m-p/3203892#M763729</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 VB "trim" sentence is CONDENSE in ABAP. But CONDENSE drops all spaces before and after the string. I think you are looking for something like mid$, Left$ or Right$ (in VB again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use substrings to do that, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;DATA: chars TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chars = strlen( yourstring ) - 1.&lt;/P&gt;&lt;P&gt;IF yourstring+chars = yourspecialchar.&lt;/P&gt;&lt;P&gt;  yourstring = yourstring(chars).&lt;/P&gt;&lt;P&gt;ENDIF.That mini-code sample takes the lenght of your string (minus the last character), and checks that last character. If that last one is the special one you are trying to drop, the sentence between IF-ENDIF drops it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substrings are used like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;string+pos1(pos2)where pos1 is the amount of characters displaced from the beguinning and pos2 the number of characters taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE: string+pos1(pos2) would be the same than VB's Mid$(string, pos1, pos2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2007 12:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se16/m-p/3203892#M763729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-22T12:22:09Z</dc:date>
    </item>
  </channel>
</rss>

