Account search filter

Dear all,
Iam looking for an appropriate technique or filter where I would like to restrict or filter the Account search functionality in CRM by ensuring that the Accounts/Business Partners of only those Sales Organization the Employee is assigned to,  are displayed and not all by default.
Any tips would be highly appreciated.
Perhaps there exists some BADI for this?.
Thanks,
Praveen

It is possible to filter BT by ACE. Perhaps you can go a similar way as described Filter business transactions by employee responsible.
There exists a BAdI for enhancing the BP search as well: BADI_CRM_BUPA_IL_SEARCH_EXT
Implement it to filter the search result. search_criteria_initial() has to return false in your case then method search_partners() is called where you can execute your filter.
cheers Carsten

Similar Messages

  • LDAP Search filter Jabber for Android

    Hi,
    I have this LDAP Filter which only shows me active users:
    <BaseFilter>(&amp;(objectclass=user)(objectcategory=person)(!UserAccountControl:1.2.840.113556.1.4.803:=2))</BaseFilter>
    I have the same line for Jabber for Android, but it doesn't work.
    <BDIBaseFilter>(&amp;(objectclass=user)(objectcategory=person)(!UserAccountControl:1.2.840.113556.1.4.803:=2))</BDIBaseFilter>
    I get 0 results for any search on Jabber Andorid. When I delete the "BDI" Line for the filter all together, then I get correct results - with photos and everything.
    I also tried a simple filter e.g:
    <BDIBaseFilter>(!UserAccountControl:1.2.840.113556.1.4.803:=2))</BDIBaseFilter>
    No search results either.
    Any ideas how to get Filter for Android working?
    Versions:
    Jabber for Android: 10.6
    CUCM: 9.1.2

    I think I found the coresponding messages in the log:
    csf.person.ldap: [LdapSearchQueryHandler.cpp(51)] [start] - reqId = 2
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1482)] [sendSearchQuery] -
    02-26 09:18:59.851 15477 15477 I csf.person.xmpp: [XMPPPersonRecordSource.cpp(268)] [fetchContacts] - Entering.
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1531)] [sendSearchQuery] -  filter  = (&(objectclass=user)(objectcategory=person)(!UserAccountControl:1.2.840.113556.1.4.803:=2)(|(sAMAccountName=at1sath))), baseDN=OU=Organization,DC=at,DC=customer,DC=net
    02-26 09:18:59.851 15477 15477 D services-dispatcher: [ServicesDispatcher.cpp(147)] [pumpNext] -  pumpNext.executed (ContactsAdapter::LoadContactsFromSource)
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1576)] [sendSearchQuery] - ldap search error. rc= -7 ,msg=Bad search filter
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1675)] [notifyListenersSearchRequestCompleted] - errorCode=-7
    02-26 09:18:59.851 15477 15477 D services-dispatcher: [ServicesDispatcher.cpp(145)] [pumpNext] -  pumpNext.executing (ContactsAdapter::LoadContactsFromSource)
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1258)] [mapErrorNo] - Code = -7, Msg=Bad search filter
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapSearchQueryHandler.cpp(84)] [onSearchRequestCompleted] - reqId = 1, errcode = 9
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1531)] [sendSearchQuery] -  filter  = (&(objectclass=user)(objectcategory=person)(!UserAccountControl:1.2.840.113556.1.4.803:=2)(|(sAMAccountName=at1hafr))), baseDN=OU=Organization,DC=at,DC=customer,DC=net
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1576)] [sendSearchQuery] - ldap search error. rc= -7 ,msg=Bad search filter
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1675)] [notifyListenersSearchRequestCompleted] - errorCode=-7
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapDirectoryImpl.cpp(1258)] [mapErrorNo] - Code = -7, Msg=Bad search filter
    02-26 09:18:59.851 15477 15645 D csf.person.ldap: [LdapSearchQueryHandler.cpp(84)] [onSearchRequestCompleted] - reqId = 2, errcode = 9
    The next question is now: Why is it a bad search filter? And what is the correct one? The same filter works on jabber for windows...
    BR, Dave

  • How can I create a search filter on my muse project?

    How can I create a search filter on my muse project like the 'sort by' function of this website? http://trufcreative.com/work
    By that I mean be able to narrow down the content displayed on a single page (preferably with an animation) without having the switch pages or reload the browser.
    I'm assuming this isn't something Muse can do natively, but if anyone knows the code, and how to make it work with Muse, that would be awesome.
    Cheers!

    yes i have same problem. i couldnt create one. please help me

  • Account search functinality is not working for one user in portal

    Hi friends,
    We have configured E.P 7.0 with CRM 5.0 and configured CRM PCUI business package.
    We have a role called <b>accounts and products</b> in portal. So accounts can be searched in this role.
    Now our severity issue is for one of the super user,for ex su1, accounts search is not working in portal but the same is working in CRM GUI.
    for example if we search for an account 233445(or any other account) in portal its showing no data found but if we search with the same criteria data is displaying CRM GUI.
    We have checked with other 2 super ids. Both ends portal and gui search is working fine.
    Am unable to figure out whats the cause of the issue as search is not working only for one user su1 .
    we have checked by restarting the server also to clear the memory cache.But still search is not working in portal.
    Could anyone of u please advice ASAP as this is severity issue.
    Thanks & Regards
    Sireesha.

    Hi srinivas,
      I have checked both the users credentials,permissions,groups in the GUI and also in the portal.
      Both of the users profiles are assigned as same.
       Could you please advice is there any other way to check it out?
      Regards
      Sireesha.

  • Issues with Search Filter Criteria Button in Search Help

    Hi ,
    I have applied an elementary search help to a select option and this help is having four fields. The search help works fne and all the four fields are visible when i do a F4. Now , if i want to restrict the number of entries shown (the number of entries are huge) by clicking the "Search Filter Criteria" button , i dont see any of the four fields using which i can restrict the data . Do we need to do any configuration for this ??
    Regards
    Mayank

    Hi,
    in that search help itself you have a option called maximum number of hits, there is a impact if you restricted also.
    Thanks & Regards,
    Srinivasan.R

  • G/L Accounts Search

    Hi SAP gurus,
    I have a little problem with the G/L accounts search.  After creating G/L accounts for a particular company code, while testing for document entry using FB50, when I click on the drop down menu to search for the GL accounts i get a message "no views for this selection" and the system requests if i want to create the accounts. However, when i run the program S_ALR_87012333, i can see all the accounts have been created and are present in the company code level( I created them using FS00 in case you are wondering). Has anyone ever experienced this problem before or i'm I missing something here?
    The SAP version is ECC 5.0. Any input would be very much appreciated.
    Also, i'm able to do FI document entry without any problem if i entr the account number directly; I just can't search usint the drop down menu.

    Hi Ankur,
    I managed to solve the problem by having the BASIS people apply a higher level patch for the SAP GUI 6.40. Apparently we were using a lower version/patch level. The patch that was applied was patch 22. I hope this helps.

  • Sun idm LDAP Search Filter, logical operations.

    Hi
    Can any body please give me the solution on LDAP Search Filter
    I need to get all the users from a LDAP
    Whose attribute1 contains any of the values like (abc, bbc)
    OR
    Whose attribute2 contains any of the values like (xyz, yxz)

    we got the solution
    (|(|(attr1=abc)(attr1=bbc))(|(attr2=xyz)(attr2=yxz)))
    finally this worked.

  • May i know how can i include a search filter box in Muse?

    Hi, i'm going to set up a website which contain a lot of list and I would like to include a search filter box where user get to filter their search result in the list that I inserted. Is there any good tutorials or pre-post that i can refer? Thank you very much. =D

    Buddy hope this page will help you, I've done this using muse... http://chillbakes.com/specialities.html
    I've tried to sort all the products within a menu. Using triggers you can control the position area of a product.
    If it sorts your problem then mark your problem as solved so that it can help others.
    Cheers..!!

  • An exception occurred during account Search

    Hi Experts,
    On Account Search , I am getting the below exception.
    Cannot display view BP_HEAD_SEARCH/MainSearchResult of UI Component BP_HEAD_SEARCH
    An exception has occurred Exception Class  CX_BOL_EXCEPTION - Access Previously Deleted Entity
    Method:  CL_CRM_BOL_CORE=>REREAD_ENTITY 
    Source Text Row:  137
    Any help would be appreciated.
    Thanks,
    Priya.

    Hi Raj,
    It didn't work for me. Since the same code is in Quality Server , its working fine there.
    Its not able to display " view BP_HEAD_SEARCH/MainSearchResult "  in the configuration i found out one field which is being added by AET
    but when i tried to see it in Enhancements its not there so i think might be this field was created and deleted but it is not deleted completely.
    this field is available only in Context node of Search Result list.
    Perhaps if this field is completely deleted it might help, but don't know how to delete it Since its not in Enhancements where we can delete the fields added by AET.
    do you have any idea?
    Pls Help.
    Priya.

  • Apply OID search filter for Active Directory Export Sync Profile

    - currenlty we have active directory export profile working successfully
    - the filter we apply at OID side is SynchronizeToAD!=OID
    that means synchronize all ldap data that has a attribute value other than "OID"
    - This works very well
    Problem:
    - We now need to make the export sync work based on a different condition. The condition being....
    SynchronizeToAD=AD3 ( Note the equality condition here, the previous one was not equal to )
    - The moment we set it to the above conditions it seems to invalidate the filter. Now it behaves as if there is no filter. All changes are synchronized regardless of the attribute value
    Question:
    1) Need a way to control synchronization based on attribute value.
    2) So far tried the below filter value with out success
    2a) (&(!(SynchronizeToAD=OID))(!(SynchronizeToAD=AD)))
    2b) SynchronizeToAD=AD3
    - In the directory we have 3 values for this attribute(SynchronizeToAD) - AD , AD3 and OID
    Please provide us with valid search filter to accomplish the above.
    The OID profile attribute that we are trying to set is odip.profile.oidfilter

    - currenlty we have active directory export profile working successfully
    - the filter we apply at OID side is SynchronizeToAD!=OID
    that means synchronize all ldap data that has a attribute value other than "OID"
    - This works very well
    Problem:
    - We now need to make the export sync work based on a different condition. The condition being....
    SynchronizeToAD=AD3 ( Note the equality condition here, the previous one was not equal to )
    - The moment we set it to the above conditions it seems to invalidate the filter. Now it behaves as if there is no filter. All changes are synchronized regardless of the attribute value
    Question:
    1) Need a way to control synchronization based on attribute value.
    2) So far tried the below filter value with out success
    2a) (&(!(SynchronizeToAD=OID))(!(SynchronizeToAD=AD)))
    2b) SynchronizeToAD=AD3
    - In the directory we have 3 values for this attribute(SynchronizeToAD) - AD , AD3 and OID
    Please provide us with valid search filter to accomplish the above.
    The OID profile attribute that we are trying to set is odip.profile.oidfilter

  • Enchancement Request: IR arrow button in Search Filter uses applied Filters

    Hello,
    I'd like to request an Enhancement.
    I'd like the IR arrow button in IR Search Filter, when performs the DISTINCT to provide choices in list for the user to select, that would take into consideration any other Filters that have already been applied to the IR Report in.
    Currently it seems that it ignores any of these already applied filters and provides the DISTINCT list of the default report settings row set.
    Referencing thread:
    How to display values in arrow in Filter in IR for joined table columns ?
    TIA
    Dionyssis

    Ah ha! I figured out a solution. It took one of those "ah ha" moments to do it.
    Peter.... thanx for the suggestion, but I am using the built-in Interactive Report settings to hide the Actions button and other things. I am also attempting to hide the section on the page which displays the current filtering, control breaks, etc. that are applied to the report. This is because the page is a public page and needs to be as simple as possible and I do not want the end users to have the ability to turn pre-built filtering and control breaks on and off. The problem is that the user-entered filtering is displayed in the same place as the pre-built filtering and I want to display the former, but not the latter.
    I created a display-only item on the page containing the text that should show when the user has entered some search criteria in the search box. I then created a dynamic action which is triggered by the refresh of the interactive report and runs some javascript which first checks if there is "custom search criteria" applied and then hides or shows the display item accordingly. My javascript code is below for those interested.
    if ( $('#apexir_CONTROL_PANEL_COMPLETE .fielddata:contains("Row text contains")').text() )
    { $x_Show('P1510_FILTER_ENABLED') } else { $x_Hide ('P1510_FILTER_ENABLED') }Shane.

  • Removing "Standard" options from the WebUI search filter

    Hi Experts,
    I have configured the YMCR and Y**** transaction types for RFC, Urgent, Normal and other Changes.
    I have removed the SMCR transaction type for standard from dno_cust/04 and I do not see the standard transaction type anywhere now except for all of them showing up in the drop down Menu of the Search filter.
    Can you please advise how to remove these?

    Hi Ranjith,
    Can you make sure via SUIM that this object is not assigned via some other role to the user.
    there are other ways but if something can be achieved easily why you need to put extra efforts for the same.
    Unless someone authorized for SMCR should only see ZMCR for example and if this is not working then there is something definitely wrong because from business point of view if I have multiple customer and multiple transaction type I can view all which is not correct.
    I have done this for single and VAR scenario so know that this works.
    Or alternative
    Create a test user assign only few roles(relevant one's) to this user check it &  it must work
    e.g. I have logged on using the standard user CH_CM_SID of the system which is created via standard solman_setup and output is shown below for searching change request...........it shows only Z*
    Regards
    Prakhar

  • Would like to see a language option added to the app search filter.

    Who would like to see a language option added to the app search filter?

    You can provide feedback here
    http://www.apple.com/feedback/

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

  • Search Filter on Forms in 11.1.2.1.0

    Anyone have the issue on Forms where you enter click on the dimension in page and choose the search filter. When you enter the first letter of your search string. It returns something else
    So when enter S, it doesn't return a list of members that starts with S. It's case it returns a list that starts with R
    Has anyone else seen this behavior?

    You are using a bounded task flow?
    A bounded task flow can't run of it's own, it needs a page which holds the task flow as region.
    Timo

Maybe you are looking for

  • PI 7.11 migrate to PI 7.31

    Hi forum members Apologies in advance if this question has already been asked / answered..... We are migrating from PI 7.11 to PI 7.31 (both systems are dual ABAP+JAVA stack). We are installing a new 7.31 three system landscape (DEV/TEST/LIVE) alongs

  • Is it possible to archive a website?  I don't want the website to be current/active anymore but I also don't want to erase it.  Is there an archive option?

    I have a website through iweb that I don't want to keep active anymore, but I also don't want to erase it completely.  Is there an "archive" option, or  some way to save it?

  • Macbook pro c2d whine?

    hi i recently got a new macbook pro c2d the 2.16 ghz version. anyway it ben about a week now and iv noticed a slight whine coming from one side of the machine (right side) and the other is normal. is this ok or should i take it to be serviced i also

  • Audio book chapters mixed up

    On my iTouch my current audio book shows 9 chapters with really odd track times like 23 min 17 min etc The book is many hours long. On iTunes it says 5 chapters To top that the book has many chapters as I'm on 51 now. nothing matches at all. If I for

  • Getting my music

    Hello, I recently had to reformat my hd. Because of that, I had to reinstall everything including Itunes. How do I get Itunes to import or consolidate (or whatever you call it) all my music I backed up on another hd. I tried going to file/library/org