Skip to Content
avatar image
Former Member

How to set default value to advanced search filter

Hi All,

I have a requirement.I have created advanced search filter to my owl.And it works well.

Then I want to set a dynamic default value to the search field before list loading.How can i do this.

Could anyone give me some guidelines please.

Thanks and Regards.

Qiang

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 30, 2017 at 07:31 PM

    Hello Qiang

    I have checked your request, and based on your last information provided, I could find that this feature is not available at the moment for SAP Hybris C4C. Maybe you can customize it via PDI solution by creating a new field and setting this value based on the logged user.

    You can also post your request in the collaboration forum; there you can request the new features for the new releases of the system

    https://ideas.sap.com/ct/ct_list.bix?c=SAPCloudforCustomer

    If you need this functionality urgently you may contact your implementation manager to help with such request or approach directly the SAP Cloud Service Center via e-mail to SAP Service Center: servicecenter@sap.com


    The benefits of using the above roll-in channels:

    •You make your voice heard when it comes to adding new features to future releases of SAP Cloud for Customer.

    •You have full transparency about what happens to all submitted ideas.

    •You can engage and connect with a network of other customers, partners and SAP experts

    Best Regards

    Gabriel Brage

    Support Consultant, SAP Product Support

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Gabriel.

      I have tried the first method you mentioned before. I created a transient field in my BO ,and I also set a test value in After-Loading event . Like this:

      the field i created:

      the logic i writed:

      also the result in web :

      Now the question is :

      How can I get the value in the list and set it to the search field?

      Please suggest how this can be achieved.

      Anyway , I will have a try on the second method you have mentioned.

      Thanks and Regards.

      Qiang

      screen2.png (1.0 kB)
      screen1.png (850 B)
      screen4.png (12.6 kB)
      screen3.png (22.5 kB)
  • Aug 29, 2017 at 01:33 PM

    Hello Qiang,

    Let say you want to set it for Lead ,please follow below step.

    1.Logon in HTML5 and go to Sales work center->Lead view ->Go to Advance search.

    2.Click on button 'Organize Query'.

    3.Select the require query from drop-down and 'set it as default' and click 'Apply'.

    Do set this post as answered if it helps..

    Best Regards,

    Ankush Pashine.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Ankush.

      Thanks for responding . I don't want to set a default query . I just want to set a dynamic default value to a search field .

      For example , before the list loading I want to set the current user's name to the "user" field . Like this:

      Do you know how to do this?

      Thanks and Best Regards.

      Qiang

      screenshot.png (9.9 kB)