cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal values in SP15

Former Member
0 Kudos

Hi,

we're on SP15 and try to save decimal values like 15000,34) with the help of a bapi.

When we save 15000,00 everything works fine.

When we try to save 15000,23, the bapi only receives 0,00 and thus 0 is stored.

The Input field in VC is of type "number" as well as the input field of the bapi.

Who knows how to forma the input field in visual composer?

Thanks a lot and kind Regards,

Benni

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hai ,

i think in validation Tab u can find some Round or Ceil Functions Just check there u can find some .

Regards ,

venkat

Former Member
0 Kudos

Hi Venkat,

thanks a lot for you answer. There are no relevant functions in the validation tab. I also cannot use ceil- or round-functions in the formatting tab, as it only takes functions returning text values. The only function doing this is NSTR() which never returns a correct value.

Any ideas? Your help will be highly appreciated.

Kind Regards,

Benni

Former Member
0 Kudos

Hi ,

Sorry Here my server is not wrkg . can please check on properties of inputfield. there u can find ceil or round Function u can Restirct the Number values .

Note :

1) Here u want to display only exact amount like 1000 or With decimals 1000.00 .

2)can u elaborate ur question brief so tht i can some idea.

Regard s,

venkat

Former Member
0 Kudos

Hi Venkat,

I enter 123.45 and want to save 123.45. Unfortunately, 0.00 is saved.

When I enter 123.00, the value 123.00 is saved.

Currently the properties of the input field are "numeric local format".

But even when I change it to "numeric" it won't work.

I do not need ceil or round as I don't want to save integer values. I want to save decimal values.

Kind Regards,

Benni

Former Member
0 Kudos

Hai Benni ,

i think From Ur back end the data type is number right can u change ur data type to Decimal and reimport ur bapi in to VC . then ur problem will be solved .

reward points if useful

Regards,

venkat

Former Member
0 Kudos

Hi Venkat,

I'm sorry for not responding sooner. Thanks for your reply.

The data type in the backend is already correct, as the transfer works perfectly with Flex 1.4!

Once I switch the compiler to Flex 2.0, it won't work.

Pretty strange, huh?

Is anybody else facing this problem, too?

Kind Regards,

Benni

Former Member
0 Kudos

Hi,

If it is working with Flex1.4 and not working with Flex2 means it is a Bug with flex2 .

Just describe the steps to reproduce the problem.

then I will check it Let u know

Regards,

Govindu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hallo colleagues,

this problem still exists in SP 16

because of the size of our models it is not possible to go back to flex 1.4.

We did also open another OSS in the meantime.

Are there any hints on this subject?

Seriously this makes it impossible to create business applications which store decimal values correctly!