<?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 How to search a dot in a string using search command? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387789#M1544921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the format of an amount. For this i am writing the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;          SEARCH w_l1amt FOR '.'.&lt;/P&gt;&lt;P&gt;           IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;            REPLACE '.' WITH ',' INTO w_l1amt.&lt;/P&gt;&lt;P&gt;            w_pos = sy-fdpos.&lt;/P&gt;&lt;P&gt;           ENDIF.&lt;/P&gt;&lt;P&gt;          SEARCH w_l1amt FOR ','.&lt;/P&gt;&lt;P&gt;          IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;            IF w_pos NE sy-fdpos.&lt;/P&gt;&lt;P&gt;              REPLACE ',' WITH '.' INTO w_l1amt.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;            EXIT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting 2 problems.&lt;/P&gt;&lt;P&gt;1) the line SEARCH w_l1amt FOR '.' is not getting success i.e. its not recognising dot.&lt;/P&gt;&lt;P&gt;2) As i am writing do if i replace dot manually in debug when it come to replace comma its replacing the comma which i have done in the debug also to dot again when the do repeats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Nov 2010 06:50:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-12T06:50:33Z</dc:date>
    <item>
      <title>How to search a dot in a string using search command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387789#M1544921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the format of an amount. For this i am writing the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;          SEARCH w_l1amt FOR '.'.&lt;/P&gt;&lt;P&gt;           IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;            REPLACE '.' WITH ',' INTO w_l1amt.&lt;/P&gt;&lt;P&gt;            w_pos = sy-fdpos.&lt;/P&gt;&lt;P&gt;           ENDIF.&lt;/P&gt;&lt;P&gt;          SEARCH w_l1amt FOR ','.&lt;/P&gt;&lt;P&gt;          IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;            IF w_pos NE sy-fdpos.&lt;/P&gt;&lt;P&gt;              REPLACE ',' WITH '.' INTO w_l1amt.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;            EXIT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting 2 problems.&lt;/P&gt;&lt;P&gt;1) the line SEARCH w_l1amt FOR '.' is not getting success i.e. its not recognising dot.&lt;/P&gt;&lt;P&gt;2) As i am writing do if i replace dot manually in debug when it come to replace comma its replacing the comma which i have done in the debug also to dot again when the do repeats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 06:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387789#M1544921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-12T06:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a dot in a string using search command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387790#M1544922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;       Dot is a special pattern character , so give three dots while searching&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;search str for '...'.&lt;/STRONG&gt;  it will search for dot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 07:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387790#M1544922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-12T07:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a dot in a string using search command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387791#M1544923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. it had helped me a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 07:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-search-a-dot-in-a-string-using-search-command/m-p/7387791#M1544923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-12T07:14:58Z</dc:date>
    </item>
  </channel>
</rss>

