SAP Function ROUND_P16_FIELD_DECIMALS_N - Rounding of P16 field up to the nth decimal

Parameter Reference Type Length Default Optional Text
I_ACT_DEC I I 4
I_P16_FIELD P P 0
I_RND_DEC I I 4
I_RND_TENS I I 4

Parameter Reference Type Length Text
E_P16_FIELD P P 0

Exception Text
RND_DEC_AND_RND_TENS_SPECIFIED Decimal and tens rounding was requested simultanously
RND_DEC_GT_ACT_DEC The specified round to decimal number was greater than the actual one.
WRONG_ACT_DEC_SPECIFIED The wrong number of decimals of the P filed (between 0 and 14) was specified
WRONG_RND_DEC_SPECIFIED The wrong number of decimals for the rounding was specified.
WRONG_RND_TENS_SPECIFIED The wrong number of tens for the rounding was specified.