How to enhance Interaction History Search in CRM 2007?

Hi experts,
Is there any BADI available to enhance the existing Interaction History Search in IC Agent Profile?
Thanks and Regards,
Rohit

Dear Rohit,
Using the below steps you can quickly find out the BADIs related to any transaction.
1) Put a breakpoint in the FM SXV_GET_CLIF_BY_NAME
2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above FM.
3) Chekc the value of the Fm parameter name. This will contain the BADI names.
Alternatively you can get the BADI names the following way
1)Go to the method GET_INSTANCE of the class CL_EXITHANDLER and put a break point there.
2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above method.
3) Chekc the value of the filed  exit_name. This will contain the BADI names.
Hope this helps.
Regards
Anupam
Edited by: Anupam Koley on Aug 11, 2008 11:55 AM
Edited by: Anupam Koley on Aug 11, 2008 11:57 AM

Similar Messages

  • Add custom fields to Interaction History Search.

    Hi,
    My requirement is to add two new attributes to the interaction history search screen.
    1) Process Type
    2) Creatyed By
    I have added these two fields to the Search Query Structure through Append Structure.
    Now problem is to do the backend logic.Means two restrict the records based on these values.
    Are there any BADI's available for this?
    Please advice.
    Version : CRM 2007.
    Thanks,
    Adi.

    Hi,
    Go through the following blog may be useful to you
    /people/stephen.johannes/blog/2008/01/25/crm-40-to-52-customerh-fields
    Regards,
    Deepak

  • Interaction history search problems

    Hi Gurus,
    Good day,
    I am having problem when i save a service ticket its getting saved 3 times 2 times as business activity with blank description and one time as customised transaction, and when i search in interaction history its not showing anything but the record exsists in the table.
    Regds
    Jitender

    Please check below thread if it helps:
    http://scn.sap.com/thread/3351726
    Thanks
    Kumar

  • Interaction history search - Business activity - default

    Dear Experts,
          In Intearction history search we need to show the Business activities to be defaulted when the screen is launched. How could we acheive this?
    Thanks & REgards,
    Kanthimath

    Hi Kanthimath,
    Did you manage to find an answer? I have an similar requirement in my project.
    Thanks,
    Angel

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • How to enhance the Opportunities search help in UI

    Hi all
    I have a requirement wherein I need to enhance the Standard Search help of  Opportunities in UI.
    The requirement is, we have few custom fields and few fields from 'Milestone' tab .These fields needs to show it in the initial screen of 'Opportunities' to search the different opportunities.
    Ex:1.We have a custome field called 'Direct  Margin%' and this should appear in the drop down of Opportunity search help in UI
            and if the user enters a value against this then system should filter all the opportunities and should display the oportunities which are having the value entered by the user for ''Direct  Margin%' (similar to standard search).
    2. We have a field called Contract Start Date*' and this should appear in the drop down of Opportunity search help in UI
         and if the user enters a date against this then system should filter all the opportunities and should display the oportunities
         with the date entered.
    Hope!! the requirement is clear to all.
    Can you please let me know the detailed steps to acheive this requirement.
    Regards
    Anil

    Hi,
    Put the break point and check  in GET_DYNAMIC_QUERY_RESULT of CL_CRM_QOPP_RUN_BTIL at line no 133, inside the get_result_values method at line 4 get_result_guids will be called, within this method the above mentioned Enhancement spot will be called.
    following is the sample code:
    **********Reading the Values from the Fields in the UI************************************
      READ TABLE IT_MULTIVALUES INTO LW_MULTI_VAL
                  WITH KEY FIELDNAME = 'ZXXX'.
        LT_BSP_RANGE = LW_MULTI_VAL-SEARCHVALUES.
        READ TABLE LT_BSP_RANGE INTO LW_BSP_RANGE INDEX 1.
        LV_PART = LW_BSP_RANGE-LOW.
    ************Calling standard search for all fields except ZXXX partner function********************
        CALL FUNCTION 'CRM_BSP_OIC_1O_SEARCH_FROM_RF'
               EXPORTING
                 IT_SEARCH_TAB             = IT_SEARCH_TAB
                 IT_MULTIVALUES            = IT_MULTIVALUES
                   IV_NUMBER                 = IV_NUMBER
                 IV_EXTERN_CALL            = 'X'
                 IV_SELECT_FOR_HEADERLEVEL = 'X'
               IMPORTING
                 ET_GUIDLIST               = ET_GUIDLIST
                 ET_RETURN                 = ET_RETURN
               EXCEPTIONS
                 DATE_NOT_CORRECT          = 1
                 NO_CARD_TYPE              = 2
                 NO_CARD_NO                = 3
                 NO_PROGRAM_ID             = 4.
        LV_MAXHITS = IV_NUMBER.
    ******Function called to change partner number in the required format *********
        CALL FUNCTION 'BUPA_SEARCH_2'
          EXPORTING
            IV_PARTNER       = LV_PART
          TABLES
            ET_SEARCH_RESULT = RESULT
            ET_RETURN        = RETURN.
        CLEAR LV_PARTNER.
        READ TABLE RESULT INTO WA_RESULT INDEX 1.
        IF SY-SUBRC EQ 0.
          LV_PARTNER = WA_RESULT-PARTNER.
        ENDIF.
        IF LV_PARTNER IS NOT INITIAL.
    ************Calling Search for field ZXXX partner function**********************************
          SELECT HEADER FROM CRMD_ORDER_INDEX
                    INTO TABLE LI_GUID
                  WHERE PARTNER_NO EQ LV_PARTNER
                  AND  OBJECT_TYPE EQ 'BUS2000111'.
    ********LOOP will filter the guids according to the partner function  **********************
          LOOP AT LI_GUID INTO WA_GUID.
            SELECT SINGLE GUID_HI FROM CRMV_LINKPARTNER
                      INTO LV_GUID
                      WHERE GUID_HI EQ WA_GUID-LV_GUID
                      AND PARTNER_FCT = C_PFT .
            IF SY-SUBRC EQ 0.
              LV_OBJECT_KEY = LV_GUID.
              APPEND LV_OBJECT_KEY TO ET_GUIDLIST_PFT.
            ENDIF.
          ENDLOOP.
    ********Search guids by standard search function called ***************************
          LI_GUID_KEY = ET_GUIDLIST.
    *******Guids on partner number search******************************************************
          LI_GUID_KEY2 = ET_GUIDLIST_PFT.
    **Comparison of the results from the standard field search and the results got from Z field search**
          LOOP AT LI_GUID_KEY INTO WA_GUID_KEY.
            READ TABLE LI_GUID_KEY2 INTO WA_GUID_KEY2
                 WITH KEY LV_KEY2 = WA_GUID_KEY-LV_KEY.
            IF SY-SUBRC EQ 0.
              LV_COUNT = LV_COUNT + 1.
              IF LV_COUNT LE LV_MAXHITS.
                APPEND WA_GUID_KEY2 TO LI_RESULT_ETGUID.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF LV_COUNT GT LV_MAXHITS.
            WA_RETURN-TYPE = C_MESSGTYPE.
            WA_RETURN-ID   = C_MESSGCLASS .
            WA_RETURN-NUMBER = C_NUM.
            WA_RETURN-MESSAGE_V1 = LV_MAXHITS.
            APPEND WA_RETURN TO LT_RETURN.
            ET_RETURN = LT_RETURN.
          ENDIF.
          CLEAR ET_GUIDLIST.
          ET_GUIDLIST = LI_RESULT_ETGUID.
    *****************Partner Number Entered in ZXXX not Found*******************************************
        ELSE.
          CLEAR ET_GUIDLIST.
        ENDIF.
    ENDMETHOD.
    Regards,
    S Reddy

  • How to enhance standard collective Search Help VMVM

    Hey Expert,
    Any pointer to enhance the standard search help VMVM with custom search option will be highly appriciated.
    Thanks in advance,
    Sayak

    Hey Expert,
    Any pointer to enhance the standard search help VMVM with custom search option will be highly appriciated.
    Thanks in advance,
    Sayak

  • How to config SAF for searching in CRM

    Dear Sir,
    I would like to configure SAF for seach the Knowledge search in CRM, Do you have any step or manual ??
    Thank you and best regards,
    Vimol

    i can find the solution

  • Agent Inbox Enhancement with Z fields in CRM 2007

    Hi All,
    I' m working in CRM 2007. i have a requirement to enhance the Agen inbox search criteria with the Z fields. i have enhanced the BOL structure with the z fields and did some design layer customizing to get the drop of this Z fields. now i need to know how will i enhance the Genil layer or class in order to get the results. in 7.0 it uses the Reporting framework. how should i do this? ASAp answers will help...
    Regards,
    Subhashini.T

    Hello,
    We had exactly the same requirement on my project. And here is what we have done:
    1) Copy class CL_CRM_QUERYAUI_RUN_BTIL and change method READ_BUSINESS_TRANSACTIONS to add something like that after line 150 :
    WHEN OTHERS.
                IF   ls_param-name(1) = 'Z'.
                  DATA: lt_range TYPE CRMT_BSP_RANGE_TAB.
                  DATA: ls_range TYPE CRMT_BSP_RANGE.
                  REFRESH lt_range. CLEAR ls_range.
                  ls_range-sign = 'I'.
                  ls_range-option = 'EQ'.
                  ls_range-low = ls_param-value.
                  INSERT ls_range INTO TABLE lt_range.
                  CALL METHOD
                    cl_ex_crm_rf_search_eew=>if_ex_crm_rf_search_eew~extend_rf_query
                    EXPORTING
                      flt_val        = ls_param-name
                      it_range_value = lt_range
                    CHANGING
                      ct_quparts     = lt_query.
                ENDIF.
    ENDCASE.
    2) Assign your knew class to object BTQueryAUI in view CRMV_OBJ_BTIL (via SM30)
    Now your search will take those Z fields into account...
    Kind regards,
    Nicolas.

  • How to get a Custom View in CRM 2007

    Hi,
    I have created a new view (SrvTLocation) and I want to replace Service Level Agreements view with the SrvTLocation.
    In the old version, I followed this approach to get the location view
    1. Add SrvTLocation to the SrvTViewSet under the view area "SrvTActionSLA".
    2. Redefine the method "DO_REPLACE_INITIAL_VIEW" of the controller class of "SrvTViewSet", so that it will replace the "SrvTSLA" with "SrvTLocation"
    I dont know how to do it in the new system.
    Please advice me. I will reward points.
    Sreekanth

    Hi Sreekanth
    Have you checked the new CRM 2007 Cookbook.
    I believe it's available from SAP Marketplace. Haven't checked myself but do believe it's there.
    Regards
    Arden
    Reward with points if helpful

  • How to hide installbase components in SAP CRM 2007 on UI screen

    Hi Experts,
    How to hide Installbase and its Components on UI Screen of SAP CRM 2007.In which BSP component Installbase and its components are there and how to remove it.Advanced thanks for suggestions.
    Regards
    Krish

    Hi Krishna,
    First I would like to know that your scenarios are B2B or B2C. Based on Scenario...in SPRO Master Data->Define Account Identification Profiles.
    Under Object Components remove ICCMP_IBASE.
    Hope this will solve your issue.
    <<text removed>>
    Regards,
    Albert
    Edited by: Matt on Apr 29, 2009 3:23 PM
    Edited by: Matt on Apr 29, 2009 3:24 PM - do not ask for points

  • Offline Adobe Interactive Form Upload options - CRM 2007 sp4

    CRM 2007 sp 4 Adobe Interactive Forms requirement
    We intend to develop an Offline Adobe Interactive form which we are going to pass to Outlook through Groupware Integration to represent a customer visit to enable our sales people to record customer visits whilst in the field 
    Once the visit details have been saved to the offiline form the data in the form needs to be submitted to our system.  From what i can see we have three options for this to take place: by Email / WebServices / WebDynpro-Upload can be used to post the data back to the CRM system.
    What are the pros and cons of the three upload options?
    Which is the easiest to implement?
    Regards
    Eddie

    Hi,
    Thanks for your replies.
    As per your replies, what i understand is : in the form properties, i have mapped the data source to context node (my data node) and pdfsource to (xstring content). And the template source should be mapped to the form name. Is this so?
    If yes, i have tried this and i m able to see the form now.
    But lets say, if they upload any other form, then this will lead to dump, isnt it ? Since the form template is mapped with a form name.
    In wd java examples,. they mapped it as 'View.Form.xdp', i thought that the template soruce is dynamically gets mapped.
    Any pointers on this, this would help.
    Thanks,
    Saujanya

  • How To Modify Interactive Report Search Input?

    Hello All,
    I am running version 3.2 and attempting to modify (validate) the search input value on an interactive report. For example, after a user enters a string in the search textbox, I want to strip any space characters from the string and perform other operations as needed.
    I have attempted to use javascript and PL/SQL page processing, but have been unsuccessful with either. I can not figure out how to modify the javascript function called for submitting the page and the on submit page processes don't fire for interactive report pages.
    How do I modify search values on IR pages?
    Mark
    Edited by: Mark Carpenter on Sep 28, 2009 3:53 PM

    Hello Mark,
    The search item is called "apexir_SEARCH".
    Using jQuery you can add a onblur function to that field:
    $(function(){
      // Add an onblur function to the Search field
      $("#apexir_SEARCH").attr("onblur",'clearField(this)');
    function clearField( pThis ){
    //Do your thing here.
    }Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • How can I add a text( In CRM 2007 called Note) to the current entity?

    Dear Friends,
    I want to add text type 'SU99' with text 'Hello World' to a CRM transaction, how to do this by BOL? Is there any example component for this issue?
    Thanks and best regards,
    Anders

    Hello Anders,
    here a piece of code where we add a text from type S002 to the Servicerequest:
    lr_bt = lr_bt_adminh->get_related_entity( iv_relation_name = 'BTHeaderTextSet' ).
          lr_bt = lr_bt->create_related_entity( iv_relation_name = 'BTTextHAll' ).
          lr_bt->set_property( iv_attr_name = 'TDID'
                                    iv_value = 'S002').
          lv_conc_lines = 'called Tel.'(003).
          CONCATENATE lv_conc_lines lv_phone_no into lv_text.
          lr_bt->set_property_as_string( iv_attr_name = 'CONC_LINES' iv_value = lv_text ).
          lr_core->modify( ).
    I hope this helps.
    Kind regards
    Manfred

  • Interaction history in ICWC not showing dates

    Hi,
    The interaction history in ICWC(CRM 5.0,SP8) is not showing the date of the interactions viz., service ticket, interaction record. Is there any setting to be done for this? Please guide.
    Shridhar

    hi,
    try this
    IMG>CRM>Master data >BP>Accounts and Contact Persons in the Portal-->Specify Display Options for Interaction History/Activities/Opportunities
    Select the area as -
    SAP_CRM_CUST_INTERACT_CENTER or your relevant area
    and make the settings for interaction history. you should be able to se the Fact sheet details with dates
    Cheers!
    Please reward if helpful
    Raj

Maybe you are looking for

  • Mac Pro keep freezing and powering off itself

    I have a Mac Pro 2008. For weeks now, it will start, work for plus minus 4 minutes and freeze or go off itself. There is no authorised maintenance in my country. Has someone experience the same before ? Have tried all reset, etc.. Does it has to do w

  • How to use Sharepoint 2013 img file

    Hi, I downloaded Sharepoint 2013 as an img file. I am trying to install it on VMWare 5.1 which only accepts ISO files. How can I convert the img file to ISO or what other workarounds are available? I already tried renaming the file to ISO, but it did

  • SAP R/3 Data Import to MS SQL 2005

    Hi I am trying to import SAP R/3 Data to MS SQL 2005 with SQL Server Import and Export Wizard (.net framework Data Provider for mySAP Business Suite. ) for ie i have to import data from mara table. but i am getting error at the time i am making conne

  • I accidentally deleted a Photostream folder on my mac, but it still appears on my iPad. Is there anyway I can restore in on my mac?

    I have a Photostream folder of my son, that has 3 other members, where I share photos with my family. Recently I have not been able to add any pictures to it and whilst trying to sort the problem I accidentally deleted it from iPhoto on my mac. It st

  • Error msg - not enough memory available for this task - chm file

    Hi All I am using RoboHelp for HTML 8.0 and creating chm file.  I am using context sensitive help and the F1 key functionality.  I have in the past created some map ID's with F1 and they have worked properly with our company software application.  No