Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

synchronizewithBackend method

let's say i have a device which is offline. and i will go and collect warehouse info, after the day end, i will syncrhonized to the server.

this method, after will call the syncrhonized with backend after the value changed. but the device offline, what is the consequences, will it update the file I/O? or it will update the backend with RFC call but the device is offline ?

public void modifyRecord(String syncBoName,String syncKey){
			SyncBoDescriptor sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
			try {
				System.err.println("modify Record: " +syncKey);
				SyncBo sb=dataFacade.getSyncBo(sbd,syncKey);
				RowDescriptor tdes=sbd.getTopRowDescriptor();
				Row trow=sb.getTopRow();
				FieldDescriptor fd1=tdes.getFieldDescriptor("PROFESSION");
				RowDescriptor trd=sbd.getRowDescriptor("010");
				Row[] item=getItemInstances(sb,"010");
				FieldDescriptor fd2=trd.getFieldDescriptor("CITY2");
				SyncManager smgr=SyncManager.getInstance();
			} catch (PersistenceException e) {
				// TODO Auto-generated catch block
				System.out.println("Exception :" +e.getMessage());
			}catch(Exception e){
				System.out.println("Exception: " +e.getMessage());

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question