cancel
Showing results for 
Search instead for 
Did you mean: 

CX_CRM_UNSUPPORTED_OBJECT - Object MSHSEARCH is not (yet) supported

nisha_vinod
Advisor
Advisor
0 Kudos

Hello Experts,

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

Method: CL_CRM_GENIL_OBJ_MODEL=>IF_GENIL_OBJ_MODEL~GET_OBJECT_KIND

Could you please let us know what step we may be missing?

Regards

Nisha

Accepted Solutions (0)

Answers (1)

Answers (1)

nisha_vinod
Advisor
Advisor
0 Kudos

Issue resolved. Missing step in Customization was rectified.

Regards

Nisha

Former Member
0 Kudos

Hi,

I'm encountering a similar problem, what kind of customization were you doing to solve the issue?

Best Regards,

Dekel.

kavindra_joshi
Active Contributor
0 Kudos

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.

Regards

Kavindra

Former Member
0 Kudos

Could you please be a bit more specific about where exactly in SPRO should I make these customizations?

Thank you very much,

Ben.

kavindra_joshi
Active Contributor
0 Kudos

Spro->CRM-> CRM Cross Applications Components -> Generic Interaction Layer -> Basic Settings. Search for your GENIL components and the object and model table would be there,

Now you have define the relevant objects here.

Regards

Kavindra

Former Member
0 Kudos

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,

Sergey

kavindra_joshi
Active Contributor
0 Kudos

Problem is that you have defined a query and not an advanced query. So when you use advanced query it is not recognized by the system as it has never been defined.

Regards

Kavindra

Former Member
0 Kudos

Hello Kavindra,

The relevant search object is IcmRelAdvancedSearch and it is defined in the object table CRMC_ICM_REL_OBJ of the component ICMREL as Dynamic Search Object. What definition should we add?

Former Member
0 Kudos

hi Nisha,

I also meet MSHSEARCH could not support issue in WEB UI, could you please share the information to me?

William.