Skip to Content

Offline values

Hi guys,

For a few weeks now I've been meddling with the offline store and it's capabilities thanks to "Getting Started with Kapsel - Part 1".

I've succeeded opening, refreshing, closing the store. Now that I've read the data and saved it to the store, I'm trying to use it.

I have an issue with it.

Ex: As you can see on the right side, the values is correct 1323,39 / 2500,00 RON (credit usage, and credit limit) when I read them directly from the back-end.

But when I read them from the offline store, the value changes. I have 2.5e+3 instead of 2500.00 RON.

While debugging the request to and from the back-end system, I haven't seen a change in the value.

The view it's XMLView and the value is written like this:

number="{Clients>CreditUsage} / {Clients>CreditLimit}"



so no formats.

Do you guys have a clue why this happens ?

Thank you in advance,

Marius

bun.jpg (30.6 kB)
gresit.jpg (31.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 17, 2015 at 09:58 AM

    Hi,

    I remember I faced this issue long back while developing app on android. As a workaround I used type casting of values before showing it in screen. You could try it like .toString();

    Regards,Midhun

    SAP Technology RIG

    Add comment
    10|10000 characters needed characters exceeded