06-21-2007 6:15 AM
Hi iam getting output as 7.3 6.4 in quantity field. i want output as 6 if it is less than 6.5 7 if it is more than 6.5
regards
shankar
06-21-2007 6:18 AM
check this:
Number of Decimal Places
A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
Syntax
&symbol(.N)&
<b>Reward points</b>
Regards
06-21-2007 6:19 AM
Hi Shankar,
Round the values before passing only to the sap script.
It is recommanded that you should not write much processing in reporting tools.
Reward if useful.
06-21-2007 6:19 AM
Hi,
Try giving zero decimals option..
&EKPO-MENGE&(.0) -> 1,235
Thanks
Naren
06-21-2007 6:34 AM
Hi iam getting output as 7.3 6.4 in quantity field. i want output as 6 if it is less than 6.5 7 if it is more than 6.5 . i want to change in print program
regards
shankar
06-21-2007 6:37 AM
then do it like this...
declare a new field with type i in your itab.
loop at itab.
itab-new = abs( itab-old )."itab-old contains the decimal value...
modify itab." or here you can use the write form also. with the itab-new value in layout
endloop.
regards
shiba dutta