Skip to Content
0
Former Member
Jan 17, 2013 at 11:22 AM

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

16 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 backend(SAP DB) is updated , i get the updated record without the delay of specified cache interval which means the app is hitting backend DB directly(At this point the CDB is not updated because of schedule cache policy)" .

Is it normal or i have made some mistakes while configuring the MBO because then there is no use of cache.Because as per my understanding device should talk with CDB only".

.

Thanks & Regards
Mohammed Rehan Rizvi