<?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 ZERO remove in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356507#M1037198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gusy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting value like "49000000000" but i need to display only "49". How to remove the sufix zeros after numeric char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest how i can reslove this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourisankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2008 14:59:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-14T14:59:51Z</dc:date>
    <item>
      <title>ZERO remove</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356507#M1037198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gusy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting value like "49000000000" but i need to display only "49". How to remove the sufix zeros after numeric char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest how i can reslove this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourisankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 14:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356507#M1037198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: ZERO remove</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356508#M1037199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: L_NUM1 TYPE VBELN,
      L_CHAR TYPE CHAR10.

L_NUM1 = '4900000000'.
L_CHAR = L_NUM1.

SHIFT L_CHAR RIGHT DELETING TRAILING '0'.

WRITE: L_CHAR.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356508#M1037199</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-08-14T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: ZERO remove</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356509#M1037200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: var type char10 value '4900000000'.

shift var right deleting trailing '0'.
shift var left deleting leading space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356509#M1037200</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-08-14T15:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: ZERO remove</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356510#M1037201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;   lv_rem = LV_Num % 10.&lt;/P&gt;&lt;P&gt;   if lv_rem ne 0.&lt;/P&gt;&lt;P&gt;      break.&lt;/P&gt;&lt;P&gt;   else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356510#M1037201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T15:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: ZERO remove</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356511#M1037202</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;If its a character type then you can remove by using offset.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;char+0(2) for the first two characters.. and so one...&lt;/P&gt;&lt;P&gt;You can even check whether the character is equal to index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF char&lt;EM&gt;2(3) EQ 0. then compare the rest of the character like IF Char&lt;/EM&gt;3 EQ 0. if so then the rest of the characters are equal to zero.. or else first take the length if the variable and then repeat checking each character and if it is not equal to zero then you can concatenate it to the other variable..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zero-remove/m-p/4356511#M1037202</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-08-14T15:05:21Z</dc:date>
    </item>
  </channel>
</rss>

