cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAM 2110 : Custom entity data sync

DPriyanka
Explorer
0 Likes
1,126

Hi Experts,

We are developing a custom solution on top of standard asset manager solution. There are few custom entities introduced, which derive data from ABAP CDS views. We have created OMDO extension class for these custom entities, that redefines define_bo_entity_model and get_data_for_read_request inherited from /mfnd/cl_core_omdo_basic_hndlr base class. Custom entities are reflecting in the asset manager service metadata and when tested in gateway client, the service fetches the data for the custom entities. But, initial data sync is not working for the custom entities. Data is not reflecting in the asset manager app. Do we need to do any additional configuration for custom entity data to reflect in the app? Is it advisable to ABAP CDS views for backend configuration?

Many Thanks,

Priyanka Devadiga

Accepted Solutions (0)

Answers (2)

Answers (2)

syam_yalamati
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Priyanka,

You can go through the following blog to get some understanding on how to enable features including custom features: https://blogs.sap.com/2022/06/16/configuring-features-and-personas-in-sap-service-and-asset-manager/

Thanks

Syam

DPriyanka
Explorer
0 Likes

Hi Syam


Many thanks for your reply.

I have added the custom oMDO entities to a new feature and these entities are now available for offline sync. The sync is successful, but these entities contain incomplete data. Like one of the entities synced only 2 records whereas in the backend there were around 200 records. We have not added any data filter as of now but still complete data is not getting synced.

Thanks,

Priyanka Devadiga

michaelhaydock
Participant
0 Likes

You may need to create a new Feature for your oMDO, assign it to a Persona and your Mobile App.

DPriyanka
Explorer
0 Likes

Hi Michael,

Many thanks for your reply.

I have added the custom oMDO entities to a new feature and these entities are now available for offline sync. The sync is successful, but these entities contain incomplete data. Like one of the entities synced only 2 records whereas in the backend there were around 200 records. We have not added any data filter as of now but still complete data is not getting synced.

Thanks,
Priyanka Devadiga