Quantcast
Channel: SCN : Discussion List - Customer Relationship Management (SAP CRM)
Viewing all articles
Browse latest Browse all 4296

Search by CRM account postal code doesn't work without quotes

$
0
0

Hello,

 

We acticvated simple / central search in CRM with TREX. Search works kind of fine.

 

But when we want to search for a postal code, it doesn't work unless we put it in quotes. So for example, searching:

  • Hospital 13005 -> gives no result
  • Hospital "13005" -> finds the results we want

 

We don't want our users to have to put postal codes in quotes. How to do this? Is that possible?

 

[Technical explaination]

This is due to ADJUST_SEARCH_TEXT method of the CL_CRM_GENIL_ES class (called by the EXECUTE_QUERY method of the CL_CRM_GENIL_ES class when executing the search): it adjusts the text from "Hospital 13005" to "Hospital*13005", although it should do this only for IDs (originally, the system does this in order to handle leading zeros in IDs and other similar fields)

 

In debug mode, if "Hospital*13005" is changed back to "Hospital 13005", everything works fine, and we get the expected results.


We contacted SAP but they said it works as designed... (for me, postal code shouldn't be considered as an ID-like attribute and the system shouldn't try to handle leading zeros with it.)

[/Technical explaination]

 

 

In order to achieve what we want, in ESH_MODELER transaction we tried to copy the BBPCRM > [CRM] > [CRM-MD] > [CRM-MD-BP] > CRM_ACCOUNT software component in order to check the "Contains Text" flag of the POSTL_COD1 attribute of the BUILADDRESS node. But it still doesn't work.

 

Any idea on how to achieve what we would like to do?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 4296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>