<?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 Remove # from the number in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343326#M1539741</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;&lt;/P&gt;&lt;P&gt;I have a field in an internal table, in which a number is getting filled, but it comes with an initial #.&lt;/P&gt;&lt;P&gt;Ex: #1234&lt;/P&gt;&lt;P&gt;How can  I remvoe this #.&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt; REPLACE ALL OCCURRENCES of '#' WITH ''.&lt;/P&gt;&lt;P&gt;SHIFT LEFT DELETING LEADING ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not working.&lt;/P&gt;&lt;P&gt;Could you please help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Nov 2010 04:43:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-03T04:43:40Z</dc:date>
    <item>
      <title>Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343326#M1539741</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;&lt;/P&gt;&lt;P&gt;I have a field in an internal table, in which a number is getting filled, but it comes with an initial #.&lt;/P&gt;&lt;P&gt;Ex: #1234&lt;/P&gt;&lt;P&gt;How can  I remvoe this #.&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt; REPLACE ALL OCCURRENCES of '#' WITH ''.&lt;/P&gt;&lt;P&gt;SHIFT LEFT DELETING LEADING ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not working.&lt;/P&gt;&lt;P&gt;Could you please help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343326#M1539741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T04:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343327#M1539742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use offset.For example  LV_BUKRS+0(1) = ''.&lt;/P&gt;&lt;P&gt;condense lv_bukrs.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343327#M1539742</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2010-11-03T04:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343328#M1539743</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;    Write as below ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF REGEX '#' IN v_char WITH ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343328#M1539743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T04:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343329#M1539744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nabheet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT gt_bp_file INTO wa_bp_file.&lt;/P&gt;&lt;P&gt;    wa_bp_file-bpext+0(1) = ''.&lt;/P&gt;&lt;P&gt;    CONDENSE wa_bp_file-bpext.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still not correct. Could you please let me know where the issue is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343329#M1539744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343330#M1539745</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 Like this,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPLACE ALL OCCURRENCES OF '#' IN maktx WITH '"'
            REPLACEMENT COUNT cnt .

*-reverse string
        CALL FUNCTION 'STRING_REVERSE'
         EXPORTING
          string = maktx
          lang = 'E'
         IMPORTING
          rstring = temp_str.

          REPLACE '"' IN temp_str WITH ''.
*-reverse string
        CALL FUNCTION 'STRING_REVERSE'
         EXPORTING
          string = temp_str
          lang = 'E'
         IMPORTING
          rstring = maktx.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343330#M1539745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T05:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from the number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343331#M1539746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you modifying the data of internakl table...?&lt;/P&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;  LOOP AT gt_bp_file INTO wa_bp_file.&lt;/P&gt;&lt;P&gt;    wa_bp_file-bpext+0(1) = ''.&lt;/P&gt;&lt;P&gt;    CONDENSE wa_bp_file-bpext.&lt;/P&gt;&lt;P&gt;"modify gt_bp_file from wa_bp_file"&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way how are you getting this #..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-the-number/m-p/7343331#M1539746</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2010-11-03T05:02:45Z</dc:date>
    </item>
  </channel>
</rss>

