We hav configured the Loyalty Management in our system. We are able to create Loyalty Programs successfully. However, on trying to create a memebership object or Member activity, we are getting an error :
Context initialization failed in view LOY102S_MSH/MSHSearch of UI Component LOY102S_MSH
An exception has occurred
Exception Class CX_CRM_UNSUPPORTED_OBJECT - Object MSHSEARCH is not (yet) supported
Could you please let us know what step we may be missing?
You have to define the object that you are refering to . For exmaple , in this code I am trying to access a query and if the query name in not present in the Object table of the Genil Component that you are using. So you have to fill these tables either directly if you are aware of the Object tables or go to the spro to fill them.
TRY. lv_query = cl_crm_bol_query_service=>get_instance( query_name ). CATCH cx_crm_unsupported_object. ENDTRY.
Thanks a lot.
We checked the spro path but still don't understand what is the relevant correction.
The problematic BOL is ICMRelSearchRes and it is defined as query result object.
It belongs to ICMREL component and is presented in the BOL structure.
The exception is raised in the method CL_CRM_ICM_REL_IL->advanced_search() line 85.
This class CL_CRM_ICM_REL_IL is defined as an implementation class for the component model ICMREL.
Waiting for your help.
Thanks in advance,