Skip to Content
avatar image
Former Member

Rounding the decimals in the field "kwert"

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 17, 2006 at 06: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

    Add comment
    10|10000 characters needed characters exceeded