cancel
Showing results for 
Search instead for 
Did you mean: 

Product Status Operator for ProdAdvSearchRgProducts

Former Member
0 Kudos

Dear expert,

in SAP Standard Query Object ProdAdvSearchRgProducts there is a field to search for specific status. Unfortunately the only operator for this search criteria is "EQ Equals".

We would need to exclude specific status in our query. So we would need to activate the operator "NE Not Equal" for the search criteria of the product Status.

Any Ideas?

Thanks in advance,

BR Matthias

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member214667
Contributor
0 Kudos

Hi Matthias,

The first thing you need to do is verify whether NE operator is supported for this criteria. You can check this in the BOL browser by using this operator to search. In case it works, you can add an operator to a search criteria of a dynamic search object in the following customizing:

IMG > CRM > CRM Cross-Application Components > Generic Interaction Layer/Object Layer > Component-Specific Settings > Define Operators for Dynamic Queries.

In case the search by this operator is not supported, you need to note the following (taken from IMG documentation):

Adding operators for a given implementation of a GenIL component may require an extension of the component, to support the added comparison operators.

Regards,

Shiromani

Former Member
0 Kudos

Dear Shiromani,

thanks for your answer. Unfortunately NE for Producst status doesn't seem to be supported.

Is there any instruction how to extend the component using the new criteria operator?

Thanks,

BR Matthias

arne_husemann
Explorer
0 Kudos

Hi Matthias,

have a look at this documentation regarding product search enhancement:

[Adding Fields to the Product Search|http://help.sap.com/saphelp_crm70/helpdata/en/1e/4fa987cc214bd39964603e657c9192/content.htm]

I think you have to "invert" the query at this position. The called search API is not capable of processing the not equals operator as far as I know. But you can achieve the same if you include all status except the one search for.

Best Regards,

Arne