Skip to Content

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 10, 2006 at 07:54 AM

    hello rocco,

    are you trying to retrieve a delta from the middleware?

    or trying to reset your application?

    setProcessing(SyncBoDeltaRequestType.REQUEST)

    will only make your download request be processed asynchronously.

    setGlobalResetProcessing(GlobalResetProcessing.RESET)

    will delete all your data and will initiate an initial

    download.

    regards

    jo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member ROCCO MARINO

      hello rocco,

      if you are just trying to get the list of data from the

      middleware/backend, you don't need to use the RESET...

      you will only need it if you have to initiate client/middleware

      data cleanup and want to execute the initial data download

      again.

      you will only need the getlist and getdetail bapis for

      download scenarios. you can create a download type syncbo

      and map your getlist and getdetail bapis.

      regards

      jo