Skip to Content

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

Problem load delta with S01 syncBO

Hi all,

I have a problem with load of delta with my SyncBo.

I have a scenario with r/3+XI and i have a SyncBo S01 type with only getList and getDetail.

The getList read the table TABLE_1 in the backend system (example: with 5 record) and load it in the my device.

The problem is this:

XI update the TABLE_1 (add 2 records) and I use this code for load the delta:

SmartSyncRuntime ssr = SmartSyncRuntime.getInstance();

SyncManager sync = SyncManager.getInstance();

SyncBoDeltaRequestFacade req = ssr.getSyncBoDeltaRequestFacade();

SyncBoDescriptorFacade descriptorFacade = SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade();

SyncBoDescriptor mySyncBoDesc = descriptorFacade.getSyncBoDescriptor("ZSYNCBO");

SyncBoDeltaRequest ZSYNCBO = req.getSyncBoDeltaRequest(mySyncBoDesc);

req.getSyncBoDeltaRequest(mySyncBoDesc).setProcessing(SyncBoDeltaRequestType.REQUEST);

ssr.getSyncBoDeltaRequestFacade(VisibilityType.USER_SHARED).getSyncBoDeltaRequest(mySyncBoDesc)

.setProcessing(SyncBoDeltaRequestType.REQUEST);

ssr.getSyncBoDeltaRequestFacade(VisibilityType.USER_SHARED).setGlobalResetProcessing(GlobalResetProcessing.RESET);

sync.synchronizeWithBackend();

But the delta is not load in device! The syncBO have only old 5 record!

Where is the error?

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