cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CRM Standard Product Search Not working for ATTR STR_SUPPL2

Former Member
0 Kudos

Hello Colleagues ,

Background :-

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_LOCATX

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 ?

OR

if there is an easier way to achieve this ?


Refer to the attached snapshots.

Regards

Nitin




Accepted Solutions (1)

Accepted Solutions (1)

samantak_chatterjee
Active Contributor
0 Kudos

Hi Nitin,

Can you implement the Enhancement Spot : COM_PRODUCT_SE in your system and check if you can get the fields ? If yes, then we are fine else we have to check if there are any other BadI available or we need to take the component enhancement concept.

Thanks in advance.

Best Regards,

Samantak Chatterjee.

Former Member
0 Kudos

Hello Samantak ,

Thanks for your Sol Proposal .

I checked Implementing COM_PRODUCT_SE .

But looks like after Implementing the Enhancement Spot , I have to Take care of the Complete Product Search myself  .This is not the intension here .

Reason : CL_CRM_PRIL_ADVSEARCH_BASE~GET_RANGESEARCH_RESULT

CALL METHOD me->do_searchengine_search (Ignores all other Location Query Paramaters)


CALL METHOD me->do_database_range_search


I just need to enable 1 standard Field :: STR_SUPPL2 Seachable .

Any comments are welcome

Answers (0)