04-17-2006 7:48 AM
Hi,
I have a situation like this...
I need to round the amount in the field kwert in price of the sale order...
for getting the decimal places when i used the standard function FRAC this is not working inside the pricing routine....but its working in test programs (se38)
Anybody worked on this kind to round of the decimal places please pass on the suggestions...also if possible give any function module to do the same...
Thanks
Kathir
04-17-2006 7:52 AM
Hi,
Plz use the function module.
call function 'ROUND'
exporting
DECIMALS = 0
input = v_kwert
SIGN = 'X'
IMPORTING
OUTPUT = v_kwert
EXCEPTIONS
INPUT_INVALID = 1
OVERFLOW = 2
TYPE_INVALID = 3
OTHERS = 4.
Thanks,
Rashmi.
Message was edited by: Rashmi Joshi
04-17-2006 7:52 AM
Hi,
Plz use the function module.
call function 'ROUND'
exporting
DECIMALS = 0
input = v_kwert
SIGN = 'X'
IMPORTING
OUTPUT = v_kwert
EXCEPTIONS
INPUT_INVALID = 1
OVERFLOW = 2
TYPE_INVALID = 3
OTHERS = 4.
Thanks,
Rashmi.
Message was edited by: Rashmi Joshi
04-17-2006 8:39 AM
04-17-2006 8:42 AM
Hi,
Please reward points and close the thread if it helped you.
Thanks,
Rashmi.