cancel
Showing results for 
Search instead for 
Did you mean: 

call the synchronization

Former Member
0 Kudos

Hi,

I am development one apliccation to WebDynpro for Java for Mobile 7.1.

My version of the Ide is SAP NetWeaver 7.1 Composition Environment SP05 PAT0000.

I need to call the synchronization through the code

How can I do this?????

I see the JavaDoc but I not found nothings to do this.

Any idea????

Best Regards.

Maria Elena

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

ok, thanks

Former Member
0 Kudos

Hi Maria,

Please check for the class SyncManager com.sap.tc.mobile.cfs.sync.api.SyncManager

and it has a method synchronizeStart() which can be called for synchronization.

Regards,

Ram Prasad K

Former Member
0 Kudos

Hi,

My application is for a mobile device (PDA) so I have the library :

com.sap.tc.mobile.sf.api.sync.SyncManager.

This library has no method synchronizeStart()

Best regards.

Maria Elena

Former Member
0 Kudos

Hi Maria,

If your application is OCA webdynpro lite for PDA Sync API's are not exposed for the application. Synchronization can be performed only from the framework.

Regards,

Ram Prasad K

Former Member
0 Kudos

Hi Maria

You cannot call sync api's from with in the application if you are using OCA.

Regards

Vidyadhar

Former Member
0 Kudos

Hi Maria,

You can use the com.sap.tc.mobile.cfs.sync.api.SyncManager

class API for synchronization.

Regards,

Ram Prasad K

Former Member
0 Kudos

Hi,

I see the com.sap.tc.mobile.sf.api.sync Interface SyncManager

But only have three methods, which do not invoke the synchronization.

getRejectionRepository()

getTimeOfLastSuccessfulSync()

getTimeOfLastSync()

Is there any example to perform the synchronization?

buscar

Former Member
0 Kudos

"I need to call the synchronization through the code"...could you please explain on this..what exactly you are looking at?

Former Member
0 Kudos

Hi,

I need to sync without having to go to the standard screen synchronization.

In previous versions you could use standard methods to synchronize.

Now with Mobile 7.1 technology with SAP Java webdynpro How could we do this?

Best regards.

Maria Elena