08-29-2007 4:33 PM
Hi,
In my smartform
I have declared some constant price values and when I am printing the form the values are not aligning to right.
I mentioned the format paragraph right align - its aligning the complete line to right not the price value.
can any one tell me how to solve this issue.
Example.
C_value1 type BETRG value '500.00',
C_value2 type BETRG value '3000.00',
I want to show the values in the output
Price for the Material - $ 3000.00
Price for the Material - $ 500.00
2. How to pass blank space through the paramter to the form?
c_space type c value space .
c_space type c value ' '.
I tried both but its not working.
Thanks a lot for your time.
Venkat
Smart form - price values alignment
08-29-2007 4:43 PM
Hi
Since you declared that field of type BETRG , it is always alligned like that.
declare another char field of length 15 and move this field to this char field and see.
it will allign as per your requirement.
For space
declare the parameter as type c.
data: c_space type c.
then use that field c_space in the form.
since it is a single char field by default space will be assigned.
Regards
Anji
08-29-2007 4:59 PM
sorry I want to show the out put - all the price values should be right aligned..
5000.00
--400.00
-
30.00
anji,
I also tried moving that value to char ..but its not working .. and even c_space also not working.