<?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 operation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086233#M976969</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;you can code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRANSLATE string USING '. '.
CONDENSE string NO-GAPS.
SHIFT string RIGHT DELETING TRAILING space.
TRANSLATE string USING ' 0'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 10:43:08 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-07-10T10:43:08Z</dc:date>
    <item>
      <title>String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086231#M976967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Here is my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider i have a variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : a(15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a = '24.000.000,00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to make it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000024000000,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deleting '.' and adding '0' completing 15 characters. The number has 2 decimal places o it is stable. But it can be any number. like 240,00 or 24.000,00 or lot more than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Full points will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086231#M976967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T10:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086232#M976968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you ca use &lt;/P&gt;&lt;P&gt;                  REPLACE ALL OCCURENCES OF '.' IN a WITH space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  CONDENSE a.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                  CALL FUINCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;                    exporting&lt;/P&gt;&lt;P&gt;                            input = a&lt;/P&gt;&lt;P&gt;                     importing&lt;/P&gt;&lt;P&gt;                            output = a.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086232#M976968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T10:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086233#M976969</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;you can code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRANSLATE string USING '. '.
CONDENSE string NO-GAPS.
SHIFT string RIGHT DELETING TRAILING space.
TRANSLATE string USING ' 0'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086233#M976969</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-07-10T10:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086234#M976970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think for adding leading zeros you can use folllowing FM.Try using this.use proper length that you want for target variable &amp;amp; its data type should be I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = w_matnr
          IMPORTING
            output = w_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086234#M976970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086235#M976971</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;You may try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace ALL occurances of '.' with SAPCE into w_string.&lt;/P&gt;&lt;P&gt;Condense w_string no-gaps.&lt;/P&gt;&lt;P&gt;shift Right w_string.&lt;/P&gt;&lt;P&gt;replace ALL occurance of SPACE with '0' into w_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086235#M976971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T10:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086236#M976972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurences of '.' IN a with space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condence a no-gaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4086236#M976972</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T10:48:42Z</dc:date>
    </item>
  </channel>
</rss>

