Skip to Content
author's profile photo Former Member
Former Member

Search

Hello Experts ,

I have a requirement in Search page.

If the User is entering some search criteria, and clicking on search :- If the search result is returning only one result then i should directly navigate to its detailed page (Without clicking on the Search entry as it is working now).

Please suggest some standard component where this is been done. as i remember this is a standard functionality and as my Search is completely custom, need to implement this aswell.

THnaks in advance,

Best Regards,

Nikhil Kulkarni

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Mar 09, 2013 at 07:42 AM

    Hi Nikhil,

    One hit direct navigation is a standard functionality implemented in standard components. You can refer any standard search component - > search view -> search event for that.

    eg. the component BP_HEAD_SEARCH - BP_HEAD_SEARCH/MainSearch.

    Check the event EH_ONSEARCH, where you can find the method

    cl_crm_uiu_one_hit_direct_nav=>navigate_if_result_is_unique( ).

    Thanks & Best Regards,

    Leon

    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.