cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot update an entity

Private_Member_201320
Participant
0 Kudos
70

Hi, i syncronized the tablet and appear the next msg in the log:

[20060925 07:31:16:612] E [MI/Smartsync ] Error while Smart Sync inbound processing: Error while Smart Sync inbound processing: com.sap.ip.me.spi.persist.IPersistenceException: Cannot update as no entity exists for IClassDescriptor/Key: cY01_ORD_TR_020/0010868091. Reset Smart Sync data on device to ensure consitency with middleware.

.....

This order doesn't appear in the GET_LIST BAPI of the SYNCBO, with what it would have to delete of the Tablet. But the orden is in IN_SYNC state and doesn't disappear.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Julian,

This looks like there is an inconsistency in data between the Client and Server(Middleware).

If possible try to clean the data in client, middleware(server) and replicate all data again to middleware and try to do a fresh syncronization.

Kindly try this if it helps out.

Cheers,

Karthick

Private_Member_201320
Participant
0 Kudos

Hi, the solution that we aply actually is add the line MobileEngine.Persist.ResetAllClientData=true in the MobileEngine.config. With this reset the client data and the data is OK.

But there are a lot of users(250) and we have continuosly connecting to theirs tablets, we want if posible a solution that we haven't connect to the tablets. Is posible ? Thanks.

Former Member
0 Kudos

hello julian,

there's a remote admin function MI_CONFIG that could enable you to set a parameter

into a device's MobileEngine.config file.

see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/1ff97bee84315de10000000a1553f6/content.htm">Setting Parameters in MobileEngine.config (MI_CONFIG)</a>

you can make use of device configuration feature that can be assigned to users,

user groups, mobile devices.

see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/251047b6140b25e10000000a1553f6/content.htm">Configuration of Devices Using Device Configurations</a>

hope this help,

jo

kishorg
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Julián Moreno Luna ,

If you have large number of devices on your landscape, you can go for role synchronization.

Device configurations can be changed using these ways,

1) You can create a add-on. For that add-on you will have to create one install.xml file, on which you can mention which all parameters need to be added on to the MobileEngine.config file. After creating that add-on, you can use this application for role synchronisation. Hope you are aware of role synchronization and all.This addon will be added as one of the application for all of your devices.These will be downloaded on to the client machine on the next synchronization.

prerequisites for role synchronization,

a) you should create a common role for all the mobile device users. (for synchronization, all the mobile users should be available on the middleware also).

b) while creating the ADDON, you should include the miniaap in the transport request if you need to transport this to quality nd subsequently to production, since for role synchronization miniapp is mandatory..

just refer these links..

/people/kishor.gopinathan/blog/2006/03/17/how-can-we-apply-mi-application-patches

http://help.sap.com/saphelp_nw04/helpdata/en/3a/b834418b718739e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/b3/d32032c95f97489d6b9b23afbf0351/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/24/be9b3e27a4fd13e10000000a114084/content.htm

2) You can create a device configuration using the transaction, device_config.Here, first of all you have to create a monitoring function, in which you will have to add the parameters you want to add on to the MobileEngine.config file. Then subsequently add this monitoring function to 'Configuration for Mobile Devices'.While creating the 'Configuration for Mobile Devices' , you have the provision to attach the created configuration to particular role. There you will have the provision to mention the common role created for all the mobile devices.While doing role synchronization, this device configuration will be added as configuration for all the users assigned to this role. The config file will be modified in the next synchronization.

You can start the role synchronization, either from the SAP WebConsole or using the standard rfc enabled function module WAF_DEVICECONFIG_UPD_BY_ROLES.

i do believe role synchronization is the best option.

Regards,

Kishor Gopinathan