on 09-24-2009 3:29 PM
Hi All,
I need to print the value with the SIGN on the LEFT SIDE.
I am using the variable in the with the sign - &gv_amt(<)&
variable -> gv_amt - contains the value NEGATIVE VALUE 123.456
NEGATIVE SIGN should come in the LEFT SIDE.
I am using the < symbol .
kindly let me know any other alternatives.
Regards
SH
Hi SH,
You can use FM 'CLOI_PUT_SIGN_IN_FRONT'.
Thanks,
Gaurav Mittal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try This It solves your Problem..!!
Ex:
declare :
gv_amt1 type string,
final_amt type string,
mins type c,
gv_amt type wrbtr.
gv_amt1 = bseg-wrbtr .
Move '-' to mins.
CONCATENATE mins gv_amt1 INTO final_amt.
Finally Move gv_amt to final_amt .
gv_amt = final_amt.
This Works ...
With Regards,
Vinu.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this way.
"Gives (-123.456)
&gv_amt(<)&
"Gives (123.456-)
Thanks
Venkat.O&gv_amt(>)&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Even in smartforms , Double Click on the PEN symbol on the left it will open the editor where you can change the variable you have dragged and dropped..
&symbol(<)&
&ITCDP-TDULPOS& -> 100.00-
&ITCDP-TDULPOS(<)& -> -100.00
&ITCDP-TDULPOS(S)& -> 100.00
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you made sure that your variable is of a numeric kind? And not a character variable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try this way....
/: SET SIGN LEFT &variable&
The leading sign appears to the left of the number.
/: SET SIGN RIGHT &variable&
The leading sign appears to the right of the number.
Prabhudas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.