<?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: sign doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538544#M1265026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can only pass character like value to function module cloi_put_sign_in_front.&lt;/P&gt;&lt;P&gt;So instead you can use this method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a field in your internal table of type char23 (p_char in example below).&lt;/P&gt;&lt;P&gt;Populate the data in that field using the code below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: p_amt type BAPINEBTR value '-5000.0000',
      p_char type char23,
      len type i.

p_char = p_amt.
shift p_char left deleting leading space.
len = strlen( p_char ) - 1.
if p_char+len(1) eq '-'.
concatenate '-' p_char+0(len) into p_char.
endif." modify table after this transporting p_char.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2009 10:10:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-20T10:10:32Z</dc:date>
    <item>
      <title>sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538529#M1265011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;           i have a piece of code which says    t_pa-amt= t_o-amt * -1.&lt;/P&gt;&lt;P&gt;                               and i get the amt as 500.0000-&lt;/P&gt;&lt;P&gt;were minus sign is after the no i want this before the no ie -500&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 15:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538529#M1265011</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2009-04-18T15:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538530#M1265012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define a variable with char type with same length send the value to this variable with out sign and add &lt;/P&gt;&lt;P&gt;sign to before the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 16:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538530#M1265012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-18T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538531#M1265013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjum,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;just do below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : lv_neg type p decimals 2,
       lv_var(20) .
 
lv_neg = '666.55'.
lv_neg = lv_neg * -1.
 lv_var = lv_neg.
 CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
   CHANGING
     value         =  lv_var&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 16:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538531#M1265013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-18T16:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538532#M1265014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i use this fm its landing in dump..can u help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 16:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538532#M1265014</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2009-04-18T16:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538533#M1265015</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 try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA    L_AMT    TYPE CHAR16.
 
WRITE ITAB-AMOUNT TO L_AMT CURRENCY &amp;lt;Currency&amp;gt;.

IF ITAB-AMOUNT &amp;lt; 0.
    SHIFT L_AMT BY 1 PLACES RIGHT CIRCULAR.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 17:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538533#M1265015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-18T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538534#M1265016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do it this way.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: p_amt type char.
p_amt = t_pa-amt.
if t_pa-amt &amp;lt; 0.
len = strlen( p_amt ) - 1.
concatenate '-' p_amt+0(len) into p_amt.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 19:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538534#M1265016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-18T19:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538535#M1265017</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;Use edit mask:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: amount TYPE p DECIMALS 2 VALUE '-123.45'.

WRITE amount USING EDIT MASK 'V___.__'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;V&lt;/STRONG&gt; indicates where the sign is to be placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 21:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538535#M1265017</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-04-18T21:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538536#M1265018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is for ALV reports, check this [link|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="666434"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2009 23:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538536#M1265018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-18T23:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538537#M1265019</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;Find the below piece of code which may help to resolve your issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_wrbtr like bseg-wrbtr.&lt;/P&gt;&lt;P&gt;data:v_wrbtr(15) type c.&lt;/P&gt;&lt;P&gt;data:v_wrbtr_sign(16) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_wrbtr = p_wrbtr.&lt;/P&gt;&lt;P&gt;condense v_wrbtr.&lt;/P&gt;&lt;P&gt;concatenate '-' v_wrbtr into v_wrbtr_sign.&lt;/P&gt;&lt;P&gt;write:/ v_wrbtr_sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sripal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Apr 2009 09:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538537#M1265019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-19T09:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538538#M1265020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi its working fine when i use a temp variable n when i again try to trasfer it to the field in itab to which i want - sign is getting appended at the end.... the data type of destination variable is BAPINEBTR&lt;/P&gt;&lt;P&gt;and i need to maintain the same datatype coz when i change the datatype in my structure i face some other problems,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can u suggest some solution where in i need to append the sign in beginning n not change the datatype...&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 06:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538538#M1265020</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2009-04-20T06:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538539#M1265021</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;Please refer to the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ld_amount(100) TYPE c.&lt;/P&gt;&lt;P&gt;       PERFORM move_minus_sign CHANGING ld_amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  move_minus_sign&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Move minus sign from end to begining of number value&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      i.e. from 100.00- to -100.00&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_AMOUNT  amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM move_minus_sign  CHANGING p_amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check if negative amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF p_amount LT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Srilu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SHIFT p_amount RIGHT DELETING TRAILING '-'.&lt;/P&gt;&lt;P&gt;    SHIFT p_amount LEFT DELETING LEADING ' '.&lt;/P&gt;&lt;P&gt;    CONCATENATE '-' p_amount INTO p_amount.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    SHIFT p_amount LEFT DELETING LEADING ' '.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " move_minus_sign&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 07:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538539#M1265021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T07:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538540#M1265022</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;pls chk this &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6926854"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the parameter must be a char to pass to the FM 'CLOI_PUT_SIGN_IN_FRONT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;teja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 08:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538540#M1265022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538541#M1265023</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;Do you want it to be &lt;STRONG&gt;stored&lt;/STRONG&gt; as amount with minus and the beginning? or to be just &lt;STRONG&gt;displayed&lt;/STRONG&gt; with minus ahead? &lt;/P&gt;&lt;P&gt;You have to disthinguish these two requirements explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as amount is stored in &lt;STRONG&gt;P&lt;/STRONG&gt; type, the sign will be at the end (internally i.e. in your structure field). Now when you want to display it, it must be cast to &lt;STRONG&gt;C&lt;/STRONG&gt; with different techniques (i.e. by means of EDIT MASK) we suggested above. This can be applied even in ALV, setting appropriate mask for a field. &lt;/P&gt;&lt;P&gt;But you can't simply change sign position in P type itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this claryfies your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 08:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538541#M1265023</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-04-20T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538542#M1265024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;k ..thx for ur response let me be a bit clear...&lt;/P&gt;&lt;P&gt;i actually have a structure where the amt field is of type BAPINEBTR and i get the value in my downloaded file as 50000.0000- wherein i just need to get - 50000.0000 with the - sign in the beginning&lt;/P&gt;&lt;P&gt;so if i change the type in the structure i get the value - 50000 with out the decimal values so let me know any method where in can put the sign in the beginning of the value ......so the file i download will get &lt;/P&gt;&lt;P&gt;teh value as -50000.0000 tats it....can u write a method..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 09:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538542#M1265024</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2009-04-20T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538543#M1265025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you this FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;value = fieldname.&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;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538543#M1265025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538544#M1265026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can only pass character like value to function module cloi_put_sign_in_front.&lt;/P&gt;&lt;P&gt;So instead you can use this method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a field in your internal table of type char23 (p_char in example below).&lt;/P&gt;&lt;P&gt;Populate the data in that field using the code below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: p_amt type BAPINEBTR value '-5000.0000',
      p_char type char23,
      len type i.

p_char = p_amt.
shift p_char left deleting leading space.
len = strlen( p_char ) - 1.
if p_char+len(1) eq '-'.
concatenate '-' p_char+0(len) into p_char.
endif." modify table after this transporting p_char.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538544#M1265026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538545#M1265027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeh i used this fm this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_py-amt = w_ag-amt.    //  in this itab im getting the value as 5000.0000-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i made a call to the fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call funtion 'cloi_put_sign_in_front'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;   value = t_py-amt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it says call u fm is not correct and lands into dump...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538545#M1265027</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2009-04-20T10:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538546#M1265028</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;Field t_py-amt should be of CLIKE type.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declaration is not matching.... &lt;/P&gt;&lt;P&gt;at the declaration part do it this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : 
Begin of w_ag,
  "  variables you want for internal table....
    amt  type clike,
  " variables you want for internal table....
end of w_ag.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538546#M1265028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T10:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538547#M1265029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get a dump because you are passing P type, not C, which is expected here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF t_py OCCURS 0,
       amt_org TYPE bapinebtr,   "original amount
       amt_con  TYPE c LENGTH 60, "converted amount
      END OF t_py.

t_py-amt_con = t_py-amt_org = '5000.0000' * -1.

CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
  CHANGING
    value = t_py-amt_con.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538547#M1265029</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-04-20T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: sign doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538548#M1265030</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;The Function module expects input of form Character (type CLIKE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So declare a variable of type c and size (some 20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign your value to this charcter variable and send this char variable to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DAta : lv_amt type clike.

lv_amt = t_py-amt.

call funtion 'cloi_put_sign_in_front'
changing
value = lv_amt.

write: lv_amt.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sign-doubt/m-p/5538548#M1265030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T10:21:48Z</dc:date>
    </item>
  </channel>
</rss>

