Skip to Content

Service request search filtration based on authorization

Hi all,

I have a requirement to filter service request search based on authorization provided for particular user.

Suppose we have 2 types of service requests say A and B.

There are 3 agents X, Y and Z.

X has authorization for A so he should able to search only A type service requests. Similarly Y should be able to search B type and Z should be able to search both A and B types.

When i click on search button CL_CRM_SRQM_COMMON_SR_CNTRL->perform_search( ) method is getting called. How do i use to achieve my requirement? Please give some hints or if you any better approach please suggest.

CL_CRM_SRQM_COMMON_SR_CNTRL is an abstract class.

Component : SRQM_INCIDENT_S

Thanks and Regards,

Pallavi

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 18, 2013 at 07:44 AM

    hi,

    you can filter the search result according to authorization like:-

    check authorization for user.

    filter search result(with filter method) with passing that type of service request parameter to filter method.

    Regards,

    @Harish Kumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.