-ve sign infront

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

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

-ve sign infront

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


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.


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 <


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.

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


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


Abap Novice

Post Reply