cancel
Showing results for 
Search instead for 
Did you mean: 

How to display NEGATIVE sign on the left side of a number in SMARTFORMS

Former Member
0 Kudos

Hi,

In smartforms I'm trying to print some negative values, but the negative sign is displayed on the right hand side of the number.

How can I display the '-' sign on the left hand side of a number. I tried the logic &value(<), it works well in sap scripts. Why is it not working in smartforms ?

Eg : I'm getting the output as 126.75 -

I want : - 126.75

Accepted Solutions (1)

Accepted Solutions (1)

brad_bohn
Active Contributor
0 Kudos

You must have done something wrong because it does work fine in Smartforms, assuming your data type is correct.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

search in this forum for "Minus sign in smartforms"...you'll might get your answer here.

Regards,

Ranilo

Former Member
0 Kudos

Hi,

search in this forum for "Minus sign in smartforms"...you'll might get your answer here.

Regards,

Ranilo

Sandra_Rossi
Active Contributor
0 Kudos

see this wiki which gives details for restrictions of formatting options (I guess you didn't declare the variable correctly, i.e. with the right data element): http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript#SAPscript-Whatarethevarioustextformattingoptions...

sylvain_vels
Explorer
0 Kudos

Hi

Have you try

SET SIGN LEFT.

Best regards