PCUI - Restrict Accounts Search by Partner Group

Hi,
   Is there a way to restrict the BP Search Results by Account Group in PCUI. We want the Users to access all accounts except those belonging to 1 Partner Group.
Thanks,
Ranjan.

Guys,
  Here is how i have implemented the above requirement. Let me summarize the feature. Customers coming from R/3 should not be modified in CRM, where as CRM Prospects could be created / maintained in PCUI. In order to achieve this,
Step 1:
I created two blview
1. ZPROSPECT - Will List in the Search Result only Prospects. (Filtered on Classification field)
2. ZR3ACCOUNT - - Will List in the Search Result Customers only called as R/3 Customers in the Portal.
Step 2:
Inherited SAP Standard model Access Class in se24.
CL_BSP_ACC_ACCMOD as ZCL_BSP_ACC_ACCMOD.
(Consult an ABAPer) on how to do this.
Step 3:
In IMG -> CRM -> PCUI -> Application Set -> For COMM_BUPA   application, replaced the
CRMT_BSP_SEARES_ACCOUNT CL_BSP_ACC_ACCMOD Root Structure
CRMT_BSP_SEAREQ_ACCOUNT CL_BSP_ACC_ACCMOD Search Structure
as 
CRMT_BSP_SEARES_ACCOUNT ZCL_BSP_ACC_ACCMOD Root Structure
CRMT_BSP_SEAREQ_ACCOUNT ZCL_BSP_ACC_ACCMOD SearchStructure
Step 4:
In ZCL_BSP_ACC_ACCMOD Class defined a New attribute
GV_BLVIEW_ROLE Static Attribute Public CRMT_BSP_BLVIEW BLVIEW
Step 5:
Implemented the interface
IF_CRM_BSP_MODEL_ACCESS_IL~CHECK_ACTIVE_TOOLBAR
METHOD if_crm_bsp_model_access_il~check_active_toolbar .
DATA:  cs_toolbar TYPE crmc_toolbargr.
  CALL METHOD super->if_crm_bsp_model_access_il~check_active_toolbar
    EXPORTING
      iv_object_key            = iv_object_key
      iv_screen_structure_name = iv_screen_structure_name
      it_object_key            = it_object_key
    CHANGING
      ct_toolbar               = ct_toolbar.
  READ TABLE ct_toolbar INTO cs_toolbar INDEX 1.
  IF sy-subrc = 0.
    gv_blview_role = cs_toolbar-blview.
  ENDIF.
ENDMETHOD.
By this method, the blview parameter is stored in the application.
Step 6:
IF_CRM_BSP_MODEL_ACCESS_IL~QUERY
METHOD if_crm_bsp_model_access_il~query .
  DATA: ls_bsp_search_account    TYPE         crmt_bsp_seareq_account.
  ls_bsp_search_account = is_screen_structure.
  IF NOT gv_blview_role IS INITIAL.
    IF gv_blview_role = 'ZPROSPECTS'.
      ls_bsp_search_account-is_prospect = 'X'.
    ENDIF.
    IF gv_blview_role = 'ZR3ACCOUNT'.
      ls_bsp_search_account-is_customer = 'X'.
    ENDIF.
  ENDIF.
  CALL METHOD super->if_crm_bsp_model_access_il~query
    EXPORTING
      iv_screen_structure_name = iv_screen_structure_name
      is_screen_structure      = ls_bsp_search_account
      iv_search_id             = iv_search_id
      iv_seletected_get_field  = iv_seletected_get_field
    IMPORTING
      et_object_key            = et_object_key.
ENDMETHOD.
Step 7:
Like a typical standard process, for ZR3ACCOUNT View, i went through all the field group structure and made the fields as not changeable for that view.
The advantage of this mechanism is, there is no core modification necessary. Also the coding is made minimum.
If you need more details or issues, send me an email to [email protected]
regards,
Sathish

Similar Messages

  • Restrict Account search to corporate accounts

    We would like to restrict the accounts search to corpoarate accounts only or at least set the default value for the search instead "All Accounts" to "Corporate Accounts".
    Thanks
    Bernd

    Hello Bernd!
    I guess there is an option only to use the configuration for the Search for Corp. Accounts.
    However, it should also be possible to remove entries of the Shuffler and to have one default.
    Perhaps [Note 1308330 - CRM WebUI Account Search gives no result|https://service.sap.com/sap/support/notes/1308330]
    Is helpful in this context.
    Best regards
    Arno

  • Account search F4 Help from BP Relationship page restricts the search

    Hi ,
    Account search F4 Help from BP Relationship page restricts the search to corporate accounts.
    The business partner category maintained for the relationship type in Tcode buba is organization and person.But the search is restricted to corporate accounts only.
    Thanks & Regards,
    Sanila

    Hi Shobhi,
    Can you provide some more details about the system ?
    Are you using transaction BP or CRM Web UI ? Also, which BBPCRM SP are you on ?
    This problem does not exist in higer SPs of CRM, and a related problem existed in Web UI that the F4 search did not consider the role based customizing. This has been corrected in SAP note 1297760.
    My guess is that everything is working fine in your system. Probably, you have also maintained some role based restrictions in BUBA customizing. Now, possibly, the allowed roles are only valid for corporate accounts, that's why you only see organizations in the search.
    E.g : say u have a relationship category ZBUP03 - Employee rel
    Now, you have a role restriction that partner 2 must be only role BUP003 = employee.
    Now, according to role customizing, employee can only be person.
    Thus, when you search for BP's to assign to rel category ZBUP03, you will only see persons.
    Probably, this is the scenario in your system.
    Hope this helps.
    Cheers,
    Rishu.

  • How do we search by partner function and authorization group?

    1. In CRM Web UI, we are not able to search by "partner function" and by "auth group."
    2.  When viewing the Account, we can see the "Contact Person" and the "Function" tab is visible but we cannot see the "Partner Function"

    Hi Vishal,
    Can you please help me look Partner Function and Relationship type search capability in WebUi
    you mentioned that partner function search is standard functionality.
    Thanks
    Amish

  • 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.

  • Search by partner function for purchasing documents?

    Hello,
    Please could someone advise the steps required to allow me to search via partner function for purchasing documents? The functionality is present in IH08 for PM.

    Hi dear,
    During defining the partner Schema, please follow the process:
    a.Create partner Schema
    b.After creation of partner Schema, select your partner Schema and click u201Cpartner roles in schemau201D and you will have next screen
    Now for Partner function like VN,OA,PI and GS as you required and select the check box of mandatory
    and save.
    Now try creating Vendor and you will have Partner function like VN,OA,PI and GS in vendor master.
    Note: The following configuration steps for Vendor master are:
    1. Create Vendor Account Group.OBD3
    2. Maintain Number Ranges from Vendor account Group:XKN1,
    3.Assignment of Number ranges to Account Group,OBAS
    4.Partner Function: SPRO->MM->Purcahsing->Partner Determination-> partner roles->Permissible partner role sper account group
    5.Partner Schema:
    SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Define partner Schema
    6.Assgin partner schema to accont Group
    SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Assgin partner schema to account Group.

  • How to restrict accounting doc generation while excise invoice creation

    Hi,
    i have to restrict accounting document generation while excise invoice creation through J1IIN.
    i can't use statistical in my pricing proceedure since this is excise group and plant specific requirement.
    same priicing proceedure is being used across all other excise groups and plants.
    requirement is that one plant is having excemption from duties. my client wants excise duties to be calculated but should not be posted to accounting for that excise group.
    can you suggest me how to map this scenario.
    Thaks in advance.
    Regards
    Satya

    Hi
    If it's a Deemed Export scenario  then you can map this as a standard process.
    Click the utilization button in the left corner, this will give you a next screen , Now here there is a pencil button .
    Now click over this - this will change the color of the description and activate it. Now here if you select Deemed and save the document - There will NOT be any accounting entries for the excise document .
    Try this , hopefully this will help you.
    Thanks
    RB

  • Restrict BP search result based on BP role

    Hi experts,
    Is it possible to restrict BP search result list based on the BP role i.e. users should not be able to see BP's with prospect role in the search result list.
    I am able to control create,change,display using auth.objects CRM_BPROLE / B_BUPA_RLT but unable to restrict the search list. Any hints would be really helpful.
    Regards.

    Hi Anup,
    Thanks for the reply. For the time being we are using authorization groups instead as a workaround solution. Haven't tried the BADI though. Thanks again.
    Regards.

  • 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

  • Accounts search not working for only the specific user

    Hi friends,
      We have configured E.P 7.0 with CRM 5.0 and configured  CRM PCUI business package.
    We have role called <b>accounts abd 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.

    Hello,
    Go in debugging in the query method of your MAC to see why the BP is not selected (or deleted) before going to the read method.
    Regards,
    Fred

  • Accounts vs. Security Groups

    Can someone give me a simple explanaition of the deifference between Accounts vs. Security Groups? I read through all the docs that come with the Content Server, but I still dont relly get the difference. Any help is appreciated. :)

    Accounts also provide some other advantages over Security Groups:
    -The are more scalable. Once you get above 50 security groups or so the search performance of the server will degrade due to all the checks against user security.
    -They give more granular control over security. To expand on stellentpmp's point about the security being an intersection of the rights between groups and accounts if a user has Read access to the "Documents" security group but there is a subset of those content items that have the "HR" account specified on them the user cannot view those documents unless they also have Read to the HR account.
    -They allow you to set up an hierarchical structure for your security. To go back to the HR example we can have the accounts HR/Recruiting and HR/Personnel. It may be the case that people from the recruiting group shouldn't see personnel content, so they only get the HR/Recruiting account. However if there is a user that can see all HR content regardless then they could simply have the HR account and see anything under it.
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • Search By Partner type

    Hi,
    We are using BP_HEAD_MAIN component for our WEB-UI. I have put standard field called Partner type on the screen I have enhanced CL_BUPA_HEADER class to search through partner type in the Bol Browser when I enter parameter Partner type '01' I am getting respective result. But when I lunch BP_HEAD_MAIN application
    and enter partner type '01' I am getting message no accounts found.
    Can any please help me in resolving this issue.
    Regards
    GSR

    Hello Satheesh,
    My only suggestion is to put a breakpoint in your BOL application and test your search from Web UI to see if the value propagates from UI to BOL.
    Best Regards,
    Yevgen

  • CRM 2007 vs CRM 52: Account Search - Favorites

    Does the functionality exist in CRM 2007 to save "favorite" accounts in the account search application similar to the accounts application in the PCUI in CRM 40/50?  I know that you can do saved searches with CRM 52/2007, however can we create lists of favorite accounts directly from the UI.
    Our business users heavily use the favorite account feature in the PCUI.  If this not present what alternatives besides setting up relationships between the accounts and their employee bupa record and using a saved search for that criteria would I have to simulate this functionality?
    I will generously reward points for proposed solutions.
    thank you,
    Stephen

    Stephen,
    Actually I'm not aware of limitations around how many search criteria could be save together as the dynamic object queries are stored and the parameters are stored in a xml format.
    The Saved search are stored in tables CRMD_SHORTCUT and CRMT_DYN_QUERY. For the short cut one there also exist a _T table for the texts.
    If you want to look for multiple IDs as a saved search you could do this in case you do not have a "better" common search criteria e.g. country or region.
    I'm not sure what you refer to as a concept with regards to leveraging the relationships.
    Hope this helps,
    Florian

  • Mail wants to use the restricted Service "Search With Google."

    This is the response/error I see when I try to do a Google search from an email message - "Mail wants to use the restricted Service “Search With Google.”"

    Interesting - I just created a new user account I named "Test", and tried "Search With Google" in Notes and it worked fine in this new account.  Without any additional change, I went back into my normal user account, and tried to use "Search with Google" on the highlighted word, and it pulled up the Google search fine as well.  No reason I can think of that these actions would have resolved the problem - e.g., either the creation of the "Test" account, or switching between this "Test" account and my normal account.  Possibly creating new account caused a cleanup of the Safari preferences to point to version 6.0.(essentially reset the default)
    Would be curious if droow007 solution works for others.  Definitely quicker than the route I went :~)

  • What is Buisness partner group hierarchy in sap crm

    Hi,
    what is Buisness partner group hierarchy,what is the importence of this in sap crm
    i wanted to know the detailed documentation for Buisness partner group hierarchy
    Thanks&Regards
    kishore kumar

    hi there
    what you are saying as Business Partner Group hierarchy is actually the account hierarchy inside the BP which can be created using the Bp groups
    here it is what it is and why its important
    Account Hierarchies
    Use
    The account hierarchy allows you to map complex organizational structures of a business partner (for example, buying group, co-operative or chain of retail outlets).
    When you create a hierarchy structure, you form groups of business partners (for example, for purchasing groups). You can use them for statistical purposes and for marketing analyses.
    You can use the hierarchy for pricing. Pricing is carried out using conditions such as pricing arrangements that are stored at a higher level of an organizational structure and can be transferred to the lower levels.
    Integration
    You can transfer a customer hierarchy from SAP ECC to the account hierarchy in SAP CRM.
    For more information, see Replicating ERP Customer Hierarchies to SAP CRM.
    You can also exchange the account hierarchy with CRM Mobile Client.
    Features
    With the help of business partner groups, you can create hierarchy nodes in order to construct a hierarchy structure. For this purpose, the type of hierarchy is first determined based on the hierarchy category.
    Hierarchy structures that are created in CRM Enterprise are sales area-independent.
    The condition maintenance for pricing is integrated in the account hierarchy maintenance function.
    also see this link
    http://help.sap.com/saphelp_crm60/helpdata/en/52/cff837a9aae651e10000009b38f8cf/frameset.htm
    will clear all your doubts
    best regards
    ashish

Maybe you are looking for

  • Crashes while upgrading to OSX Mavericks

    I'm trying to update my mid 2010 MBP from Mountain Lion to Mavericks, but every time I try updating it gets a little ways through the install before crashing. I get an Installer Log with all the errors. I've repaired permissions and verified the disk

  • Function module to calculate quantity of unrestricted stock

    Is there any function module to calculate the quantity of unrestricted stock in alternate units of measure. For example we have a material '123456', its unit of measure is 'EA'(eaches) and we have 172 'EA'. but this material can be issued only in box

  • How to config NACE to print for VA02 ?

    Hello gurus, In the transaction VA02 I need to print a billing request . but I do not know how to add new message type in the transaction NACE . ( document type Deb.MemoReq. f.Ctrct) . And in my system , when I use VA02, header output ...there is not

  • I cannot download a purchased ebooki

    i have purchased an ebook but cannot download it as the book icon vanishes before i can clic on it. I have both a version for ipad and one for kindle, which is also on my ipad, and the same thing happens. I have contacted the publishers who tested te

  • How to traverse in RichTree control

    Hi, I am using JDev 11g,I need to search a value from Richtree Control.