Skip to Content
0
Former Member
Jan 16, 2013 at 08:00 AM

Not able to access data from consolidated database(CDB) using native Android application

33 Views

Hi All

I am new to the SUP world. Have created an Android native app using the generated code for the deployed MBO. For this MBO i am using the cache policy as scheduled(for 10mins) .I am using MBS based synchronization in my code. At the start In my SAP backend has 4 records ,now when one more record is added to the backend, the updated record is not reflected in my app even after the specified cache interval. I can see the updated record only if i call synchronize() in my code .

My query is do I have to call synchronize() everytime I need to get the updated record from backend?

Second i have noticed if I call synchronize() just after the backed is updated , i get the updated record without the delay of specified cache interval which means the app is hitting backend DB. Is it normal or i have made some mistakes while configuring the MBO because then there is no use of cache.

Thanks & Regards
Mohammed Rehan Rizvi