cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance the functionality of 'Search' event handler in Account workcenter

Former Member
0 Kudos
101

Hi Experts I am new to SAP CRM Web UI. I have a project to enhance the CRM web ui account management. Requirement is  whenever some one search the account details without specifying " ROLE" then result should contain 'ship-to-party' and 'bill-to-party' otherwise if user specify the "ROLE" in search criteria  then it should work normally. Many thanks in advance . Regards Rav Singh

View Entire Topic
Former Member
0 Kudos

HI Ravneet,

The requirement is quite simple.

In the search event handler, you have the logic to create Dynamic query, pass selection parameters & then execute the query.

You would have to just check as a pre-condition if the Role is provided by reading the entity & then if there is no Role provided, add selection parameters Role as Ship-to and sold-to.

If the role is provided then follow the standard path.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi

Thanks for  quick reply.

I worked on your approach and able to get desired result.

Thanks

Ravneet