Add search criteria field to ERPQOrder

I would like to add additional search criteria fields to the Dynamic Query Object ERPQOrder. I want to enhance the class CL_CRM_QORDER_RUN_ERPIL for the purpose. Is there a way to accomplish this requirement?

Following steps:
In the Append the structure CRMST_QORDER_ERPIL add the new fields.
Update the design layer by adding the new fields to the UI object type ERP and reference design object ERPQORDER in view cluster CRMVC_SDESIGN_G.
In the view cluster CRMVC_DQ update if the new fields have wild card allowed or not.
Using the BSP component workbench, enhance the component view ERP_S/ErpOrdSQ
Using the UI configuration tool add the new search criteria fields.
Enhance the class method CL_CRM_QORDER_RUN_ERPIL~PREPARE_SELECTION_PARAMETERS to include additional filter criteria.

Similar Messages

  • How to Dynamically add Search Criteria in Advance Search Region.

    Hi All,
    I want to understand how can we add Search Criteria dynamically in the Advance Search Region.
    The Requirement is to add 4 additional search criteria for an org_id in a multi org structure. For other business those fields should not be visible.
    I did try this with the form personalization but could not Show/hide the additional search criteria programatically for the business as we can only see 4 search criteria at the time of page load and other criteria comes in the drop down list to add which can not be show/hide after page load.
    I thought of a solution to add search criterias dynamically for my org through extending controller.
    I found the OAAdvanceSearchBean (advance search Region in controller) object for my Advance Search but could you tell me how can I add the Criteria Row in that Advance Search (createWebBean function) and then add the item in criteria Row dynamically.
    Also please tell me how we can increase the showed criteria from default 4 to more, setDisplayedCriteriaCount(int) is not allowed and it is not working also.
    Thanks.
    Regards,
    Ashish Bansal

    Hi,
    As Lars said The "Search Option Set" and the "Search Component Set" offer you quite some flexibility.
    You can configure both of these component to customize your search.
    Once you did it, you can create a new basic search iview and set these components.
    On the other hand, you also customize the layout use to show result of search.
    Dont'f forget that you need to configure Trex and create an index.
    For instance, I configured the search criteria, the system only asked me some metadatas (created by us,whose value are dependents). Each time that you upload a document you set these attributes.
    Then when you want to search, appear a screen with these values
    Country :
    City:
    search field:
    Patricio.

  • Add (+) search criteria grayed out

    When searching in a finder window, the normal ( +) button to add search criteria is disabled. I thought maybe I had a corrupt preference file, so I trashed all the .plist files that seemed to relate to the finder. Whe I restarted, the button was back, but only for a few minutes. After that, it went back to being disabled.
    It looks like this attached image, with the button grayed out, and a ( - ) instead of a ( + ).
    The problem is isolated to my primary user account. Others on the same machine are unaffected.
    I looked over the discussion boards, and can't find anyone else with this problem, but maybe I don't know the right terminology. Any help would be appreciated.
    What am I missing?

    I narrowed it down further. This finder bug only appears when I use Command-N or click the Finder icon in the dock to create a new window.
    If I double click any folder icon or drive on the desktop, the finder window that pops up has the ( + ) icon enabled, exactly as it should. What is going on?

  • Clearing only a few search criteria fields

    Hi,
    I am defaulting the business partner and start date fields of the search criteria of the dealer portal lead search..
    But when I click on clear button , now it clears the result set and not the search criteria because I commented the below code in EH_ONCLEAR method
    * clear search criteria
    *  lt_adjustments = me->get_adjustments( ).
    *  lr_qs->clear_selection_param_values( lt_adjustments ).
    But now I want all the search criteria fields to be cleared when I click clear button except for business partner...
    If I am able to manipulate the code of clear_selection_param_values( lt_adjustments ) method, I will be able to achieve it..
    But the clear_selection_params_values is a standard method...How do I manipulate to not clear the business partner??
    What is the procedure to achieve it?
    Thanks
    Madhukar

    Hi,
    Check this code.
      data: lv_viewname type string,
            lr_view_ctrl type ref to cl_crm_srqm_common_sr_cntrl,
            lr_search_cn type ref to CL_BSP_WD_CONTEXT_NODE_ASP.
    lv_viewname = me->get_viewarea_content( if_crm_srqm_uiu_const=>gc_viewarea_search ).
      ASSERT lv_viewname IS NOT INITIAL.
      lr_view_ctrl ?= me->get_subcontroller_by_viewname( lv_viewname ).
      lr_search_cn ?= lr_view_ctrl->get_search_context_node( ).
      lr_query_service ?= lr_search_cn->collection_wrapper->get_current( ).
      lr_coll ?=  lr_query_service->get_selection_params( ).
      CHECK lr_coll IS BOUND.
      lr_iterator ?= lr_coll->get_iterator( ).
      CHECK lr_iterator IS BOUND.
      lr_entity ?= lr_iterator->get_first( ).
      WHILE  lr_entity IS BOUND.
        lr_entity->get_property_as_value( EXPORTING iv_attr_name = 'ATTR_NAME'
                                          IMPORTING ev_result = lv_attr_name ).
        CASE lv_attr_name.
          WHEN 'PARTNER'.
            lr_entity->get_property_as_value( EXPORTING iv_attr_name = 'LOW'
                                             IMPORTING ev_result = lv_partner ).
    EXIT.
       ENDCASE.
        lr_entity ?= lr_iterator->get_next( ).
      ENDWHILE.
    lr_search_cn->if_bsp_model~reset_errors( ).
      lr_view_ctrl->clear_search( ).
    lr_query_service-->ADD_SELECTION_PARAM( iv_attr_name = 'PARTNER'
                                                     iv_sign      = 'I'
                                                     iv_option    = 'EQ'
                                                     iv_low       = LV_PARTNER ).
    Regards,
    Deepika

  • ESS Who is Who - Add search criteria

    Hi all,
    I have tried searching the forums, but can't find an answer for my problem. I want to add an additional field to the search criteria for the who is who iview.
    I am able to change the advanced search, but I want to add a search criteria on the first screen. Changing the service for the adress book (Employee Self-Service -> Service-Specific Settings -> Address Book -> Who's Who -> Who's Who (ESS): Selection and Output) does not change this first screen.
    Anyone know how I can make this change?
    Thanks in advance.
    Kind regards,
    Marlies

    If by selecting fields you mean in the Who's Who (ESS): Selection and Output, then yes.
    I have there available 3 tabs, none have the default settings.
    First tab I can set the selectionfields, but when changing/adding a field here, my "simple search" does not change. The changes here are reflected under the advanced search, which is nice, but not what I want.
    I simply want to add 1 additional field to the first search screen, so the user does not have to always use the advanced search option.

  • How to add search criteria to Query Reqion (11i RUP6)

    I'd like to get some directions on how to add a field that would be used in the search criteria when Go button is submitted.
    Thanks in advance

    Hello Thomas,
    Maybe this link can help.
    add new field to search criteria and result.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0747ac2-ffd9-2910-de9a-8a3dc44da8b4?QuickLink=index&overridelayout=true&12966506314316
    Search Options - Knowledge Management - SAP Library
    regards,
    Grace

  • Issue with clearing a grayed out search criteria field

    Hi,
    I have grayed out a field ABC for its default  value XYZ in the search criteria of lead search...
    But when I click the CLEAR button, it clears the XYZ value of field ABC..
    I don't want the value of ABC to be cleared...
    Do I need to redefine the CLEAR method?
    How do I achieve this purpose?
    Thanks
    Madhukar

    Hi Madhukar,
    go to your eh_onclear event place the break point check the code where exactly parameters values are clearing. copy the standard code redefine the method eh_onclear past the code in your redefine method and change the logic where exactly the parameters are clearing as a standard.
    ex as the above code:
    WHILE lr_param IS BOUND.
         lr_param->get_properties( IMPORTING es_attributes = ls_param ).
    in ls_param you will get ATTR_NAME as ur field and low,high sign option values
    check this ls_param-ATTR_NAME ne 'urfield'. clear the content else check the low and high value of the remaining field values.
         IF ( ls_param-low  IS NOT INITIAL ) OR
            ( ls_param-high IS NOT INITIAL ).
           CLEAR: ls_param-low, ls_param-high.
           lr_param->set_properties( EXPORTING is_attributes = ls_param ).
         ENDIF.
         lr_param = lr_iterator->get_next( ).
       ENDWHILE.
    if you want more info share me your component and view name.
    Thanks & Regards,
    Srinivas.

  • How to add search criteria options in CRM UI?

    Dear all,
    we`ve recently updated to SolMan 7.1 SPS10 (source was SPS04). Now I`m struggling a bit with adding
    an additional search criteria to the Incident Management Search View.
    I already considered OSS Note 1918128 (same Title as this thread) and I was able to check this in our - not yet updated - Productive System
    where this has been implemented already.
    Adding the Object /AICRM/PROJECT_ID to the customizing table BTQSRVREQ in SPRO with some Operators didn`t make the trick
    See attached Screenshot.
    Can you please assist me how I can add an additional Search Criteria to the Icident Management Search context (selectable/Operators etc.?).
    Reason behind is - we`d like search for open / closed incident for certain Projects as filter criteria.
    In Addition it would be also great to know - How the Incident Management Standard View / Table can be extended
    by the column "Project ID".
    The Project ID itsself is already linked a new created Icident - hence I`m able check the Project assignment by opening
    a specific Icident and personalize the view.
    regards and many thx in advance
    Benjamin

    Hi Benjamin,
    Enhancing the one order framework search is a common topic available on a lot of threads and blogs, hence I will add a link here :
    SAP CRM Technical Tutorials by Naval Bhatt.: How to enhance Opportunity search for a custom date type
    You can refer to this blog for help but lastly it's all debugging and trying that will help you achieve this in your scenario
    /Hasan

  • Add search criteria

    Hi,
    I need to add an attribute in the context node BTQACT sight BT126S_APPT component ApptSQ.
    The attribute is PROFILE_TYPE BOL BOL Entity BTSubjectSet.
    I need it for a search and I can not see it from the configuration.
    Thank you very much.

    Hi,
    I added once three search fields to the activity search so i you have trouble please contact me.
    To get a good start please use the following link:
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component
    This link explains how to add new fields to the account search but it was very useful for me because many things are the same.
    This are the most important steps:
    1. Open structure CRMST_QUERY_ACT_BTIL and scroll down to its bottom. There is an include called
        CI_EEW_BUS2000126_SEARCH. Double click on the include and create it, if needed. Now add the Fields with the data
        elements you want to add.
    2. Adjust Design Layer
    3. Add the new field to the Activity Search Page in Web Client (Note: Still the fields are without life because search Logic is
        missing).
    4. Enhance the Activity Search with BAdI: CRM_BADI_RF_Q1O_SEARCH
    I hope i could help you.
    Best Regards
    Oliver

  • WEB-UI  -  How can we add search criteria "Activity ID" to archive search?

    Hi,
    When searching for an activity via the WEB-UI (Component BT126S_APPT / View ApptSQ) , it is not possible to search by activity ID (Search criteria is not available). Moreover, activity ID is not shown in the result list .
    Is there any way to add the activity ID to the search criteria / result list of the WEB-UI?
    Thank you in advance for your assistance.
    Melanie

    Hi Stephen,
    I am faced with the same situation in Territory Management, where in I need to add an additional Search Criteria for the Product Search.
    What are the steps one would need to follow in order to do such a custom development.
    Any pointers would be helpful.
    Thanks and Regards,
    Puja.

  • Database search criteria: field empty / not empty

    Greetings,
    How can I define a search that says "Find all records where field X is empty," or "where field X is NOT empty." I have tried using these arithmetic operators:
    "=''"
    (quote equal single-quote single-quote quote)
    (quote less-than greater-than single-quote single-quote quote)
    but they don't work.
    Somehow I was able to do this in AW5 (in OS9), but when I go to edit those searches in AW6, all the fields are empty.
    Thanks!
    DM
    iBook G3 Dual USB (white)   Mac OS X (10.3.9)  

    Hello
    Yvan says thank you !
    My response was for those trying to use the "Layout > Find" tool.
    I made an error because the US operator is not "isempty" but "isblank".
    For those wishing to use "Organize > Match Records", they may use the condition defined by the formula:
    isblank('field_X')
    Yvan KOENIG (from FRANCE mercredi 14 décembre 2005 9:53:12)

  • Not render any field search criteria initially in Advanced Search Panel

    Hi Everyone!
    It's possible to hide or remove all field search criterias initially in Advanced search panel. We need that initially doesn't exist any field search and the user use the 'Add another' option when him need add search criterias.
    Thanks,
    Carlos C.

    Your solution to the indexing issue with the LIKE operator is taking a small issue and making a big issue out of it.
    Why not just fix the initial problem with basic tuning techniques ... for example a hint would force index usage.
    So might having accurate statistics. So might tuning one or more optimizer parameters a small amount.
    You have chosen the wrong solution for a very small problem thus you are where you are.

  • OVS - how to change the position of the fields in the OVS search criteria

    Hi,
    I have an OVS search screen where 4 search criterias are  there.Based on the search criteria , the values will be papulated in the OVS screen.
    Now I have to change the position of the fields in the search criteria.Means if the Maximum field (one of the search criteria) is in the first position,I need to put it in the last position.I have ro change the position of the search criteria field and not the result fields.
    Please suggest me how to do that.
    Regards
    -Sandip

    Hi Sandeep,
                      please go through this article for customizing Value Help:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
    Thanks and Regards

  • Create several search filters fields in SOCO SRM 7.0

    Hello
    I would like add several search criterial fields in SOCO but i not find where do it. (in the first step)
    Someone can help me? Someone know the class-method where do it?
    Thank very much
    Alfie

    Maria
    EDIT Action in POWL is disabled for performance reasons. It is possible to activate that button there.
    Regarding EDIT button in SC Detail, this function is a standard behaviour where SRM allows the creator/requestor to pull the cart back from approval by using EDIT button.
    If you do not want the users to use this button, Go ahead and Disable the button by Class and Method. Make sure you disable the action EDIT only when USER = (CREATOR or REQUESTOR) AND Status of Cart = Awaiting Approval. If you disable it for all users, Approvers will have tough time apprving the carts
    Regards
    Virender Singh

  • Search criteria drop down not working in CRM 7.0 Web UI for few users.

    Hi Gurus,
    i have come across problem in sap CRM 7.0 web ui,
    it goes here....
    when a user opens a webui page and goes to "account management" work center page under "search" work center link group... he selects "accounts"(or contacts or account plan)... there in search criteria fields..(account id,role,country etc ) drop down list is not working for him...he can only see only which is maintained as default but if wants to change it by drop down list selection it is not possible...for me it is working ..can u please suggest what is missing in his case..?
    if it is authorization issue please tell which object should i check..?
    Thanks,
    gaurav

    Hi,
    Please check if the user is assigned to a Business Partner.If not then assign the User to a Business Partner and check.
    Regards.
    Deepak Ramchandran.

Maybe you are looking for