<?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: String Right Trim in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756204#M1304031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what exactly is not working? It created following program, and it seems to be working just fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : var TYPE char10 VALUE 'abcdefgh  ',
             length TYPE i.

length = NUMOFCHAR( var ).
WRITE:/1 length.
SHIFT var RIGHT DELETING TRAILING space.

length = NUMOFCHAR( var ).
WRITE:/1 var.
WRITE:/1 length.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 16:17:26 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2009-06-30T16:17:26Z</dc:date>
    <item>
      <title>String Right Trim</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756203#M1304030</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 have to right trim a string which is not working when I tried the below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg : var = "abcdefgh  ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above I want to remove the trailing 2 spaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;shift var right deleting trailing space.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which completely cleared  &lt;STRONG&gt;var&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on resolving this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 15:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756203#M1304030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T15:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: String Right Trim</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756204#M1304031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what exactly is not working? It created following program, and it seems to be working just fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : var TYPE char10 VALUE 'abcdefgh  ',
             length TYPE i.

length = NUMOFCHAR( var ).
WRITE:/1 length.
SHIFT var RIGHT DELETING TRAILING space.

length = NUMOFCHAR( var ).
WRITE:/1 var.
WRITE:/1 length.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 16:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756204#M1304031</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-06-30T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: String Right Trim</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756205#M1304032</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;Try using CONDENSE Statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 16:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-right-trim/m-p/5756205#M1304032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T16:23:01Z</dc:date>
    </item>
  </channel>
</rss>

