cancel
Showing results for 
Search instead for 
Did you mean: 

Negative sign in Script

Former Member
0 Kudos

Hi,

Variable holding Negative sign in Print program ..

But in Script It is not appearing minus Sign..

i want to do without hard coding...

regards,

Prasad.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Check out this:

&wa_symbol(<)& Display Leading Sign to the Left

&wa_symbol(>)& Display Leading Sign to the Right

Hope this solve your problem.

Former Member
0 Kudos

Hi..,,

It must Print the negative sign.. without any failure !!

I think the problem is with your Print Program !! Check that ...

We use

&w_value(<)& and &w_value(>)& to print the negative sign on whichever side we want !!

reward if it helps u...

sai ramesh

raymond_giuseppi
Active Contributor
0 Kudos

There are the format used in Sap Script

&symbol(Z)& Omit Leading Zeros

&symbol(S)& Omit Leading Sign

<b>&symbol(<)& Display Leading Sign to the Left

&symbol(>)& Display Leading Sign to the Right </b>

&symbol(C)& Compress Spaces

&symbol(.N)& Display upto N decimal places

&symbol(T)& Omit thousands separator

&symbol(R)& Right justified

&symbol(I)& Suppress output of the initial value

So use one of the two line in bold.

Regards