cancel
Showing results for 
Search instead for 
Did you mean: 

ceil function

Former Member
0 Kudos

i have amt field of type p decimals.

i want next higher value of this field

like if in amt field i have value 5.3, i shuld get 6.

for that i want to use ceil function. i m writing program line code in smartform

it is not acception ceil function. tell me how to do it.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi nidhi,

change your type from P to F,

then your problem sloves.

regards,

seshu.

Former Member
0 Kudos

Hi Nidhi,

Convert your amount in the ABAP code itself, before passing the data to smartform.

Regards,

Atish