<?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: Remove negative sign in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997405#M406267</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;&lt;/P&gt;&lt;P&gt;use fm PREPARE_STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write f1 to f2 no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 12:33:49 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2007-03-12T12:33:49Z</dc:date>
    <item>
      <title>Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997403#M406265</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 am getting a value in variable and that is negative. I am using &lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '-' IN abtmnt WITH ''. But I am getting an error which states that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OCCURRENCES OF '-' IN ABTMNT" is not expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me the reason for this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 12:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997403#M406265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T12:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997404#M406266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These &amp;lt;b&amp;gt;replace , translate , shift&amp;lt;/b&amp;gt; all funcitons work for character type fields onli...&lt;/P&gt;&lt;P&gt;These wont work for fields other than character type fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing move that variable into a sufficient sized variable of type 'N', then u wont get any '-' sign there...!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try executing this sample code ,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data w_i type i value '-234'.&lt;/P&gt;&lt;P&gt;data w_n(4) type n.&lt;/P&gt;&lt;P&gt;move w_i to w_n.&lt;/P&gt;&lt;P&gt;write : / 'w_i',  w_i, / 'w_n',  w_n .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;****************************************&lt;/P&gt;&lt;P&gt;output : w_i      -234&lt;/P&gt;&lt;P&gt;         w_n      0234.&lt;/P&gt;&lt;P&gt;****************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points if it helps u...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 12:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997404#M406266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997405#M406267</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;&lt;/P&gt;&lt;P&gt;use fm PREPARE_STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write f1 to f2 no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 12:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997405#M406267</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-03-12T12:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997406#M406268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRANSLATE  ABTMNT using '- '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if u want use REPLACE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE ALL OCCURRANCES OF '-' IN abtmnt WITH ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 12:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997406#M406268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T12:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997407#M406269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: abtmnt like konv-kwert,&lt;/P&gt;&lt;P&gt;        abtmnt1 like konv-kwert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write abtmnt to abtmnt1 no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value in abtmnt is 1078.37- but what I am getting in &lt;/P&gt;&lt;P&gt;abtmnt1 is 13037382&amp;gt;3.33&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate if can give some idea why this is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 13:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997407#M406269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997408#M406270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just execute this and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: abtmnt like konv-kwert,&lt;/P&gt;&lt;P&gt;abtmnt1 like konv-kwert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single kwert from konv into abtmnt where kwert &amp;lt; 0.&lt;/P&gt;&lt;P&gt;write abtmnt .&lt;/P&gt;&lt;P&gt;write abtmnt no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHy are u using write abtmnt to abtmnt1. u can eliminate the sign by just using no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 01:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997408#M406270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T01:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997409#M406271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keerthi, I am assigning this abtmnt somewhat like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_item-abt_per_unit = abtmnt no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%CODE1	Incorrect arithmetic or bit expression: Instead of "NO-SIGN", an operator (+, -, *, /, ... or BIT-AND, BIT-XOR, BIT-OR) was expe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest something on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 09:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997409#M406271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T09:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative sign</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997410#M406272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cannot use no sign while assigning a field , you can only use that with write statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move the amount to one charater field and use this FM &lt;/P&gt;&lt;P&gt;use this FM  CLOI_PUT_SIGN_IN_FRONT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 09:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-negative-sign/m-p/1997410#M406272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T09:21:21Z</dc:date>
    </item>
  </channel>
</rss>

