cancel
Showing results for 
Search instead for 
Did you mean: 

SmartSync API +Persistence API in MDK2.5 SP13

former_member207329
Participant
0 Kudos

Hi , in the MDk2.5 documentation there is a important alert:

"The Persistence API must not be used in MI applications that use the SmartSync API. Please also check the latest SAP Note 717510 for restrictions"

If I use SmartSync API in a SmartSync application, how do to memorize the data (of the syncBo used in the synchronization) for offline mode? With File I/O and custom API?

best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello rocco

> "The Persistence API must not be used in MI

> applications that use the SmartSync API. Please also

> check the latest SAP Note 717510 for restrictions"

the SmartSync API handles the insertion, update and

deletion of your SyncBo instance when you access them

thru a specific SmartSync APIs. the SmartSync layer

also handles the delta data handling on your behalf.

ideally, you can implement and use Persistence API in

case when you have a hybrid application (GenericSync +

SmartSync). however, there are several factors that

should be considered when implementing the interfaces.

regards

jo

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rocco,

Are you asking how do you use persistence on the client side for SmartSync Applications?

I have answered a similar question in a different thread.

I hope this helps,

-wael

former_member207329
Participant
0 Kudos

Thanks all.

But the my very question is: after syncronization and after the my SyncBO has been unloaded in local MI Client (pda or other) I can read/modify/delete the data in SyncBO without save data in local db(on pda o other)in offline mode and in a second time syncronize the delta?

The SyncBO (your structure and your data)is serialized in automatic on device (after syncronaze) and I work it with SmartSync API? Not necessary save data in db layer?

Former Member
0 Kudos

Hi Rocco,

I don't understand your question. Could you rephrase it?

Thanks,

wael

former_member207329
Participant
0 Kudos

If syncronize and download mySyncBo in a device,I can modify/delete the data (es:name,qty,price etc) of the mySyncBO? Not necessary ,before, save the data of the mySyncBO in the local DB (es:db2e)?

I don't understand because is not possible use Persistence API with SmartSync API.

Former Member
0 Kudos

Hi Rocco,

No its not necessary to actually save anything, when you modify or add a syncBo data is automatically stored in to your persistence layer(DB or file). You will use the persistence api to query your data.

-wael

former_member207329
Participant
0 Kudos

Hi Wael Aoudi, thanks for your attention.

When I install Me Client I have to configure the persistence layer?

Former Member
0 Kudos

No you dont. Its all automatic, but if you want to use the DB you will have to install it through the Web console otherwise you can use the default File I/O

Hope this helps,

(dont forget the rewards and if your question is answered you should close the thread)

Thanks,

Wael

Former Member
0 Kudos

hi Rocco,

in Smart Sync application, Your BAPI+SyncBO takes care of it.

Refer MDK - help. it will give all answers you need regarding this.

Regards,

Ak.

Former Member
0 Kudos

Hi Rocco,

Smart Synchonization is build on top Generic Sync and Persistance. It is the responsibility of Smart Sync to manage persistance.

Regards,

Rahul

If this helps, assign me some points