-ve sign infront

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
chaitanya
Posts: 23
Joined: Tue Nov 26, 2002 8:48 am

-ve sign infront

Post by chaitanya » Mon Dec 02, 2002 7:18 am

Hi

i m getinga value from the field &REGUD-WNETT&(structure field) and in case its value is -ve...i want to print -ve sign in front.


thnkx
chaitanya
chaitanya

aussie fatboy
Posts: 827
Joined: Sun Oct 20, 2002 11:34 pm
Location: Melbourne, Australia

Post by aussie fatboy » Mon Dec 02, 2002 7:43 am

Use formatting option <

IE: &REGUD-WNETT(<)&

will put the sign to the left of the field for a specific field
or you can use
SET SIGN LEFT command if you want all numbers to have the sign on the left.

Abap_Novice
Posts: 80
Joined: Wed Nov 20, 2002 7:58 am
Location: Great Britain

Post by Abap_Novice » Mon Dec 02, 2002 7:49 am

Hi Chaitanya,

YOu can try using this

&symbol(<)&



&REGUD-WNETT& -> 100.00-
&REGUD-WNETT(<)& -> -100.00

:)

Abap Novice

Post Reply