Search Help for employee and contact person

Dear expert,
I'm a BSP fresher. We are using CRM 7.0 now. I'm facing a BP search help pop-up window issue, please help on it.
We need a search help pop-up window to search employee and contact person at the same time.
Our user want to search both employee and cantact person (don't include custoemr ->sold-to-party) for activity responsible person. I know the sap standard search help components are different employee, contact person, account.
For example: employee -> BP_EMPL_SEARCH (component); contact person -> BP_CONT_SEARCH; account -> BP_ACC_SEARCH_E. And the component BP_HEAD_SEARCH is for all BP.
It seem that there is no search help component for employee and customer contact person combination. I think maybe we can do a filter by BP role. But I don't how to implement it on WebUI.
Thanks and Best Regards
Michelle

Hi Michelle,
You can create a search help using trx. SE11 and use it in the METHOD GET_V* of your componen/attribute.
in the get_v* method, * means attribute name put this custom code.
DATA:
  w_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
  t_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
  t_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
  w_map-context_attr = 'STRUCT.ZRESP_FASE'. " Attr name
  w_map-f4_attr      = 'PARTNER'.                     "import/export parameter to search help - search help attr name
  APPEND w_map TO: t_inmap, t_outmap.
  CREATE OBJECT rv_valuehelp_descriptor
    TYPE
      cl_bsp_wd_valuehelp_f4descr
    EXPORTING
      iv_help_id                  = 'PRP_BUPA_EMPLOYEE'   "search help name in your case Zname
      iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
      iv_input_mapping            = t_inmap
      iv_output_mapping           = t_outmap
      iv_trigger_submit           = abap_true.
Hope this helps!
Best regards,
Caíque Escaler

Similar Messages

  • To implement search help for date and time fields details

    how can i implement search help for date and time fields in screen painter

    Hi
    Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
    Aditya

  • Email notfication for Customer and Contact person Created In CRM to the User

    Hi All,
    In one of my requirement, when a customer and Contact person is created in ECC or CRM a Mail should send to the user who created. There is
    middleware setting between ECC and CRM. Mail Should trigger in CRM system only.
    I know to trigger email for transaction data using Action Profile.
    Could any One guide me to trigger email notification for Master data (Business Partner).
    Thanks in Advance.
    Regards
    RR Pradhan

    Good afternoon Pradhan
    1.I think it would normally be done through a mini wf which should start on event "partner created".
    Your wf should have another step with a custom method to determine the email address and feed it to a container. You would then use this container in a subsequent  email step with recipient type "email address".  
    2.In the case of actions I think you should use as processing time the option : Processing using the Selection Report (Action Monitor)  (tnx sppfp)
    As processing type you should probably have a method that sends an email.
    Most likely the recipient email address should be determined in the same method by reading the attribute BusinessPartnerERM.CreatedBy. 
    In the scheduling conditions you could use the standard attribute BusinessPartnerERM.CreatedOn, in a combination like BusinessPartnerERM.CreatedOn = Today () ;
    Hope this helps.
    Regards
    Razvan Zainea

  • Creating search help for AFNAM, and display the hit list with values only

    Hi guys,
    I have created a search help for AFNAM, but the hit list displays all even if it is blank.
    I want to display in the hit list the AFNAM with values and do not diplay the blank values...
    Is it possible? How am i going to do it?
    Thanks!
    Mark

    Hi Mark,
    After selecting data use this statement.
    DELETE it_table WHERE AFNAM is initial.
    Regards,
    Suneel G

  • PCUI - Different Text type for Accounts and Contact Persons

    Hi All,
    While configuring the Text Determination, how can we have different determination procedures for Accounts and Contacts. On the CRM back end side there is no distinction on the objtect type for account & contacts. Instead there is one for BP.
    We defined a Text Det Proc for Object BUT000 (Business Partners) which gives us the same text types in both accounts and contact person screens in PCUI. But we want different text types. Can any one please advise.
    Thanks in advance,
    Raj K

    Hello All,
    Any suggestions in this matter would be greatly appreciated. Thanks,
    Raj Kasa

  • Search help for employee ID

    Hi
    I need find employee ID by search help via employee first name. I found if employee first name was delimited in IT0002. i will not get employee ID any more. Is there any way to configure so that searching by delimited employee first or last name can get corresponding employee ID also?
    Regards,
    Jim

    Hi
    I'm using PA20 or PA30. The problem is when I search employee ID by the first name, but the name has been delimited in IT0002, I could not get result. For example, employee change first name after marriage. If I still search employee with the first name before marriage, I will not get result.
    How to configure to ask SAP to get result even I use delimited first name? 
    Regards,
    Jim

  • Search Help for Account ID and Employee

    Hi,
    I have a requirement like this:
    I have a custom field: Escalation To. For this, I need to provide F4 help which shows Employees and Account ID (ex: Sold to Party/Bill to etc).
    So, I used the component - BP_HEAD_SEARCH. However the problem is : In this, I have chosen the filed role - as Employee and clicked on search. But it is not showing all the employees.
    And when I used the component - BP_EMPL_SEARCH, it is showing all the employees. I don't know, what is wrong with this.
    Could you please help me out for this? How can I provide F4 help which works for both Employees and all other BP's
    Thanks,
    Sandeep

    Hello Glenn,
    Thanks for the reply.
    Let me rephrase my question.
    Account ID is already there as a search field. But I want to add F4 search help for this field.
    So when the user hits F4 key, the system should display the 'BUPA' search help so that user can search for the BP number by name, zip code etc.
    So I want to attach the search help 'BUPA' to the 'Account ID' field in the screen.
    Can you please let me know how to do that?

  • Searching in business partner master data (properties and contact persons)

    Hello,
    concerning the need of a customer i am asking for a optimizing of the search in business partner master data.
    It should be possible by a soon coming patch to have the tabs properties and contact persons available in the search modus.
    I hope this is a functionality which SAP looks on like a nice and essential function, too, and can integrate this in a soon coming patch.
    The customer is running SAP B1 2005A PL39
    The same funktion concerning the properties would be great at the item master data.
    This post is concerning the sap support message 842328 / 2008.
    Thank for assistence in solving this nessaccary issue.
    Michael Hubenschmid
    MTF Schaffhausen AG
    Edited by: Michael Hubenschmid on Oct 8, 2008 4:18 PM

    Hi Susana,
    The current system maximum properties are 64. You cannot define more.
    However, as an alternate you can check the "Group" in the Business Partner Master Data and then can define different Properties for different Group of Business Partners.
    Check this if any help in your case.
    Regards,
    Jitin
    SAP Business One Forum Team

  • How to add a search help for a field in Screen Personas?

       I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
       I found a property in the help document named "IsLookupSupported". Is it the key?  But I saw it was gray in the field I created, and its value is "false". I could not change it.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • Problem creating a hybrid collective search help for werks,bukrs and ekorg

    Hi All,
    I have to create a collective search help for Org_key field of a custom table.
    This org_key field is a char4 field and can hold the value for plant , bukrs and ekorg.
    I need to create a collective search help which includes
    C_T001                          Collective Search Help for BUKRS (Company Code)
    H_T001W_NEW     Possible Entries for Plants
    H_T024E                         Input Help for Purchasing Organization
    I have added org_key field in the field description , how can i do the parameter assigment ( or declare the field description ) so that if the user press F4 for org_key field ,he is able to see all the search paths corresponding to C_T001,H_T001W_NEW, and H_T024E simultaneously, and corresponding to value chosen ( for plant , werks or ekorg ) the value is passed back to the org_key field.
    Thanks in Advance
    Regards
    Anurag

    Problem resolved. You can hard code values, like the domain name within the search help.
    Although I have found that if you don't use a search help and you have domain values then your drop-down list values will be automatically populated from the domain values for the field. At least in my dynpro it does.
    Jas

  • Relation Ship between User,Employee and Sales Person

    Hi All,
                 I am unable to find out the relation between User,Employee and
    Sales Person in Business One.I need to know what is the exact relation
    between User,Employee and Sales Person.I can't go further without knowing
    this relation in Business One.
                 I searched a lot regarding this relation in forums but i can't get a
    relevant answer.Please help me regarding this,<b>its an urgent requirement for
    me</b>.
    Regards,
    saleem

    1. check the forum - this question has already been answered several times
    2. read the guidelines for this forum

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • Find collective Search Help for partner function at runtime

    Hi experts,
    I have a screen very similar to VF05. When I enter the partner function, the corresponding field for the partner function, I want a collective search help to open.
    If I enter the partner function - Employee responsible, then the search help PERM has to be called or for partner function Payer, I want the search help DEBI to be called. Can anyone let me know how can I get the related partner functions, without hardcoding for every partner function. Something similar to the VF05 report.
    Warm Regards,
    Abdullah

    Hi,
    Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteriau2019s. More than one tables are Selection from multiple tables
    Steps for creating collective search help.
    1) Enter the search help name and click on create.
    2) Choose Collective search help radio button option as the search help type.
    3) Enter the search help parameters.
    Note that there is no selection method to be entered for a collective search help.
    4) Instead of the selection method, we enter the included search helps for the collective search help.
    5)We need to assign parameters for each of the included search helps.
    6) Complete the parameter assignment by clicking on the push button.
    7) Collective search help offers the user to obtain F4 help using any of the included search helps.
    Hope this helps u.
    thanks

  • FM to fill activity partner and Contact person inside a BADI

    Hi,
    When i create an activity i need to check for a condition and process the activity accordingly. The condition is that when an contact person is entered mistakenly on the activity partner field then i need to move to the contact person field and also find out the corresponding activity partner and fill it.
    For example, if i enter 123( assuming this to be a contact person) on the activity partner field, then i need to find what is the corresponding activity partner for this contact person(Assuming ABC to be the activity partner). I need to fill ABC on the acitivity partner field and 123 on the contact person field. I tried using ORDER_SAVE Badi for the same. The badi gets called and  i am able to read the curent value from ORDER_READ FM. I just don't get as to how to fill the activity partner and contact person inside this BADI. I am not able to find any FM for the same. Can i request some help pls?
    Thanks,
    Venkat

    Hi,
    maintain the partner change on document manually and debug this FM to see what should be the inputs.
    Maybe you are missing sth.
    Other way, better, would be using crmv_event tcode. there you can register your FM that will change partner on document.
    you can assign this FM for eg. to event AFTER_CHANGE and object PARTNER, and transaction category like Service Process.
    you can read /people/radoslaw.stefaniak/blog/2009/12/16/crmvevent--what-is-it for more information.
    Regards

Maybe you are looking for

  • Add & use custom jars in "Java embedding" component

    I need to generate pdf file in process. So I included "Java embedding" component, and write my code. For clarity example: com.itextpdf.text.Document document = new com.itextpdf.text.Document(                      com.itextpdf.text.PageSize.A4, 50, 50

  • Access denied error when not using Administrator Role

    Hi, I configured a simple Transaction Iview, calling a CRM transaction but the information is only been displayed when the user has Administrator permisions but when the user has just the Role where the iview  is located this error appears: iView : p

  • Help in XIRR() function

    Hi any body having Idea about the XIRR(values, dates, guess) calculation. here Values This is a series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs a

  • How do I launch free trial of CS6?

    I have downloaded a free version of CS6 and I can't figure out how to launch the program. I have a serial number through school but I don't know how or where to enter it. Mostly I just need to open the programs. Thanks!

  • Standard adobe form workflow error

    Hey Expert, I am using the standard workflow template WS17900260 for any adobe form. In this task there is a task which is TS17900108. I have some workflow that end in error because of this task raising an exception "Exception CX_SY_NO_HANDLER trigge