SAP CRM Standard Product Search Not working for ATTR STR_SUPPL2
Hello Colleagues ,
Each Product in SAP CRM has a location address .
Address has an attribute STR_SUPPL2 . This standard field is also a Query Parameter in Product Search Query.
When we use this Query Parameter STR_SUPPL2 , Search result in an Error Message with no result .
Technical Analysis :-
There is a Query Parameter named ST_SUPPL2 in the CRM Product Search ::ProdAdvancedSearchIndObjects .
When we use this Query Parameter an Error message Appears .
|Search criteria LOCATION_ADDRESS.STR_SUPPL2 in scenario CL_COM_PRSEARCHSCENARIO_LOCAT not included in tool/filter LOCATION_ADDRESS STR_SUPPL2 CL_COM_PRSEARCHSCENARIO_LOCAT||X|
I tried to find out the cause .Its mainly because SAP has coded in such a way to allow only few Location Address parameters in production search .
This can be viewed in the class :: CL_COM_PRSEARCHTOOL_LOCAT~DO_SEARCH .
There is a related OSS Note (1018099) as well ,but its valid for few Fields only .
We are already on CRM latest SP .
Client Requirement :-
Since STR_SUPPL2 is part of standard search criteria and my Client requires to consume this field in Product Search and Result .
Please if some one can help here .
MY DOUBTS :-
Query 1 :-
Should this be resolved by SAP and Shall i open an Incident ?
Query 2 :-
What BADI should i use if i need to write my own custom logic to implement search based on this field STR_SUPPL2 ?
if there is an easier way to achieve this ?
Refer to the attached snapshots.