Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform

0 Likes
1,017

Hi All,

In Smartform I am trying to take fractional value (0.18) but it throwing error so i did by ( 18 / 100) it accepting .Why this fractional value not accepting in smartform?

Thanks & Regards ,

Suresh Tandale

3 REPLIES 3
Read only

Abinathsiva
Active Contributor
950

Hi,

IF it is on table - in table type define currency or quanitty filed

Read only

Sandra_Rossi
Active Contributor
0 Likes
950

In fact, your question is pure ABAP. To type a constant number with digits after decimal separator, use quotes around the number:

var = '0.18'.
Read only

former_member1716
Active Contributor
950

sureshtandale,

It all depends on the how you have declared the variable. Instead of passing the value directly try passing it through a variable.

Also check what decimal separator is being applied in the user data settings. If You can help us knowing the field data type that is being used it would be better for us to guide you further.

Regards!