cancel
Showing results for 
Search instead for 
Did you mean: 

Redefining Query method for BP search

Former Member
0 Kudos

Hi All,

I added sales office and sales group field in BP search page (COMM_BUPA_SEARCH) ,

I created child class for CL_BSP_BP_ACCMOD i.e. ZCL_BSP_BP_ACCMOD and tried to redefined Query method.

But in IF_CRM_BSP_MODEL_ACCESS_IL~QUERY there are some private attribute of Super class, because of that I am facing the error.

Please advise me in

1) What should I do to add sales office and sales group in query criteria .

2)To add sales office and sales group fields on search screen I created new field group and add that in BUP_BUS1006_SEARCH_ALL_FIELDS (Group type attribute is set to Screen Group) But on page the title of screen group is still "Search By Role", insted of "Search by sales Info" (This is description of newly added field grp)

Swanand

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

1) If am not mistaken, there is a variable in the standard SAP program called lv_where_clause for the search query.But this would be a modification. try looking into this program SAPLCRM_BUPA_BSP_SEARCH_ACC. try putting a break point and see if this is where you wanted to add the field in your query.

Thanks,

Shailaja