cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make default operator in CRM UI search criteria take on settings?

philip_kisloff
Active Participant
0 Kudos

I'm using Solution Manager 7.2 SP2, and have created a custom field using AET for a copy of Requirements Management transaction type SMBR, and want to be able to search with more than default operator EQUALS.

So, I went to the IMG, and made the settings in "Define Operators for Dynamic Queries". After some searching, found Dynamic Query Object BTQSrvReq which had my new attribute called ZZFDL000007 and made the corresponding ticks in "Exceptions per attribute".

Using "GenIL Model Editor" can see they are checked and they are also visible in "GenIL_GUI_BOL_Browser"

Unfortunately, when configuring the selections in the CRM UI, the new field only knows "EQUALS" and no other paramaters. I even thought it might be a buffer issue and used SHMM to invalidate CL_CRM_GENIL_MODEL_SHM_AREA and CL_CRM_GENIL_MODEL_SHM_AREA2.

Still no joy, and now I've reached the limit of my CRM Web UI understanding (I'm coming at this from Solution Manager ITSM and ABAP experience).

Any suggestions what i might try next?

Accepted Solutions (0)

Answers (1)

Answers (1)

VishnAndr
Active Contributor
0 Kudos

Hi Philip,

Have your issue been resolved? If it's not one thing I'd look into: which WebUI component are you talking about? Because when the thtmlb:advancedSearch tag is used to render search criteria there is an option to provide operators manually fieldMetadata. Usually this metadata is taken from configs and customizing, but it might be different in your case.

philip_kisloff
Active Participant
0 Kudos

Component is AIC_CMCR_S. Do you mean this?

Logic appears to be in CL_BSP_WD_CONTEXT_NODE_ASP

methods GET_DQUERY_VALUEHELPS and ADJUST_DQUERY_VALUEHELPS.

But how to debug...with transaction SAAB?

VishnAndr
Active Contributor
0 Kudos

Yes, I was talking about this. How to debug - go to view controller class of this view (...._IMPL), find those methods, put a breakpoint there. No need to use SAAB here.