cancel
Showing results for 
Search instead for 
Did you mean: 

How to do I save in a local DB in a mobile device and a sync. For MI 7.1

muhammed_nishad
Participant
0 Kudos

Hi,

I have created a Data Object and did a Wrapper for creating a record in the table. Now I need to do UI development for capturing the details in the mobile screen and to update in the local device database and when I sync it should update the backend and then update the CDS.

Please guide me to do this exercise.

Regards,

Muhammed Nishad J

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nishad

Please refer to the following link

http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/d9956078b46f76e10000000a1553f6/frameset.htm

OcaRoot.getInstance().commit() will save all the context values to the local database and after doing a sync these will go to doe.

Thanks and Regards

Vidyadhar

Answers (2)

Answers (2)

muhammed_nishad
Participant
0 Kudos

solved

muhammed_nishad
Participant
0 Kudos

Hi,

I need to know how to do a operations -> query in the service explorer, and then from the UI I need to store the data in the local Db and when it does a sync data should be posted to the backed. It would be helpful if anyone could elaborate on this entire process in the webdynpro studio UI development.

Regards,

Muhammed Nishad J

Former Member