cancel
Showing results for 
Search instead for 
Did you mean: 

Default search operators for custom field - ChaRM 7.1

Former Member
0 Kudos

I have a custom field on the Request for Change.  The search operator drop-down selection box only has "IS" as a choice.  I need to use "CONTAINS".

How do I add additional search operators for custom fields?

Search Screen details:

     Package: AI_CRM_CM_UI

     Application Component: SV-SMG-CM

     UI Component: AIC_CMCR_S

     View: AIC_CMCR_S/CMSR

     Context Node: SEARCH

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This can be changed in the configuration CRM SPRO -> CRM Cross Application Components -> Generic Interaction Layer/Object Layer -> Component Specific Settings -> Define Operators for Dynamic Queries....(find out your BOL/Genil component)

Answers (3)

Answers (3)

riteshnag
Member
0 Kudos

I Have added one custom field in Incident management screen and Once I search It is appearing only "IS" Operator .

How to find the find out your BOL/Genil component to activate the config as mentioned ?

former_member210661
Active Contributor
0 Kudos

Hi Roger Whitman,

you want to add additional search operators for custom fields then there is a config path.

go through this path..

if you want to know more about this go through this link you may get more info..

Thanks & Regards,

Srinivas.

Former Member
0 Kudos

Hi All,

I am having issue for Similar kind of functionality. Appreciate if you could help me below issue.

As per above details, I have added “NE” operator for Status field in service request. Now its showing NE operator in WebUI. But when I try to search records with NE operator for status field its not working. It’s getting records having same status.

When I debug the functionality, at 2 places in standard code, SAP directly hard coding EQ operator without considering webui input. Please find below object from below. Do I need to enhance standard code ?

• Include: LCRM_BSP_OIC_1O_SEARCHF04  EXTEND_QUERY_FOR_MULTIVALUES(FORM)
• CL_CRM_SRQM_SRV_REQ_RUN_BTIL(IF_CRM_QUERY_RUNTIME_BTIL~GET_DYNAMIC_QUERY_RESULT)

Actually its hard coding at 3 places with "EQ" for status field in standard code, if I enhance at 2 places, then I can skip at 3rd place by writing code in BADI ES_CRM_RF_Q1O_SEARCH to fetch GUID’s.

Kindly suggest Is there any other option that can be done this functionality without enhancing standard code.


Thanks in advance!!

Regards,
Shaik

former_member193634
Active Participant
0 Kudos

Hello,

I can't find this component in my systme, might be activated by some business function.

I'll go in the blind here. If this is a BT object, can you check following customizing :

Customer Relationship Management->CRM Cross-Application Components->Generic Interaction Layer/Object Layer->Component-Specific Settings->Define Operators for Dynamic Queries

Here, you should find your query and the search operators available for this query.

Nevertheless, adding some operators here may not solve your issue, for if the query itself canno't manage new operator, then it won't work. You might need then to enhance the query itself so that it can manage new operators.

Hope this helps,

Best regards,

Sylvain AGUETTAZ