Skip to Content
0
Former Member
Dec 19, 2007 at 10:35 AM

BOL programming : Search for entity ???

38 Views

Hi All,

I have a doubt with writing a search query in BOL.

After getting instance of cl_crm_bol_query_service we use set_parameters. Suppose we use multiple SET_PARAMETERS. All these will be ANDed

e.g: -

setparameter( iv_attr_name = field1 iv_value = value1 )

setparameter( iv_attr_name = field2 iv_value = value2 )

....

It is as good as writing

Select ... where field1 = value1 AND field2 = value2 .....

Now, how do we write code for an OR in the query ???

something like

Select ... where field1 = value1 OR field2 = value2 ......

Regards,

Ashish