CRM IC Search Help

hi expert I've to create a custom search help but there is problem.
I want to pass to search help a parameter so I can filter the result list.
I'm thinking to use a search help created by SE11 but I don't know how to pass the parameter.
Can you explain me step by step what I've to do?
thank you!

For using a search help in IC WC where u can pass some parameter and get a result list in popup u need to do these things:
1.Create a search help in SE 11 (this must be compulsorily an elementary search help, secondary search help will not run on ICWC view.)
2.In the view write the following code:
<crmic:inputField id          = "INPUTFIELDID"
                              width = "100%"
                              maxlength = "3"
                              helpId    = "STRNAME-FIELDNAME"
                              helpOutputFields = "INPUTFIELD=FiELDforresult"
                              helpInputFields = "Outputfield=valuetobepassed"
                              value       = "variablename" />
here the strname is the name of the str which contains field Fieldname and where the searchhelp is attached.
give the input parameters and the result fields in the helpinput and helpoutput fields.
thanks.
ashish.

Similar Messages

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Search Help works in SAP GUI but not in WEB UI - CRM

    Hi,
    I have created a Search Help for creaing Complaints w/ref to Invoice and in the search help i have used standard data elements, so that it brings the standard Search Helps for the fields in the actual Search Help. I get the F4 values in the standard screen (CRMD_ORDER) in the SAP GUI, however i dont see the Searh Help values in WEB UI.
    Is there anything else i need to do for me to get the F4 option in the Web UI as well?
    Thanks
    Sri

    Hi sri tayi ,
    Can you just tell how you solve this problem ? I am also facing same problem . So , please kindly help for same.....
    Thank You ,

  • Search Help functionality for Custom Field in CRM 6.0

    Hi,
    We have added custom field  PRODUCT_ID into component BT120H_CPL.  For this field, I need to provide search help in WebUI.  Can you please give some suggestion on the same.
    Regards,
    Ramki.

    Hi Ram,
                     Here is the sample code.
    Outbound plug:
    Global attribute : GR_CITYCODE_F4     Instance Attribute     Private     Type Ref To     IF_BSP_WD_POPUP
    data declaration
      DATA: LT_COL_DEF       TYPE TABLEVIEWCONTROLTAB,
            LS_COL_DEF       TYPE LINE OF TABLEVIEWCONTROLTAB,
            LV_REGION        TYPE REGIO,
            LV_COUNTRY       TYPE LAND1,
            LR_ENTITY_HEADER TYPE REF TO CL_CRM_BOL_ENTITY,
            LR_ENTITY_ADDR   TYPE REF TO CL_CRM_BOL_ENTITY.
      TRY.
          LR_ENTITY_HEADER ?= TYPED_CONTEXT->header->COLLECTION_WRAPPER->GET_CURRENT( ).
        CATCH CX_SY_MOVE_CAST_ERROR.
      ENDTRY.
      CHECK LR_ENTITY_HEADER IS BOUND.
      LR_ENTITY_ADDR ?= LR_ENTITY_HEADER->GET_RELATED_ENTITY( IV_RELATION_NAME = 'BuilStandardAddressRel' ).
        CHECK LR_ENTITY_ADDR IS BOUND.
    getting region and country
      CALL METHOD LR_ENTITY_ADDR->GET_PROPERTY_AS_VALUE
        EXPORTING
          IV_ATTR_NAME = 'REGION'
        IMPORTING
          EV_RESULT    = LV_REGION.
      CALL METHOD LR_ENTITY_ADDR->GET_PROPERTY_AS_VALUE
        EXPORTING
          IV_ATTR_NAME = 'COUNTRY'
        IMPORTING
          EV_RESULT    = LV_COUNTRY.
    appending citycode and description to internal table
      LS_COL_DEF-COLUMNNAME = 'ZZCITYCODE'.
      LS_COL_DEF-TITLE      = 'City Code'.
      APPEND LS_COL_DEF TO LT_COL_DEF.
      LS_COL_DEF-COLUMNNAME = 'TEXT'.
      LS_COL_DEF-TITLE      = 'Description'.
      APPEND LS_COL_DEF TO LT_COL_DEF.
      CLEAR: GT_CITYCODE[].
    fill the internal table  GT_CITYCODE whcih must appear in popup.
      FREE GR_CITYCODE_F4.
      GR_CITYCODE_F4 = COMP_CONTROLLER->WINDOW_MANAGER->CREATE_DECISION_POPUP( IV_TITLE             = 'City Code'
                                                                               IV_DESCRIPTION       = 'City Code'
                                                                               IV_VISIBLE_ROW_COUNT = 10
                                                                               IV_DISPLAY_TABLE     = GT_CITYCODE
                                                                               IV_VISIBLE_COLUMNS   = LT_COL_DEF ).
      GR_CITYCODE_F4->SET_ON_CLOSE_EVENT( IV_EVENT_NAME = 'CITYCODE_F4_SELECTED'
                                          IV_VIEW       = ME  ).
      GR_CITYCODE_F4->OPEN( ).
    on close event ****************************************************************
    where you can set the value of the  field *********************************
    METHOD EH_ONCITYCODE_F4_SELECTED.
    Added by wizard: Handler for event 'CITYCODE_F4_SELECTED'
    data declaration
      DATA: LR_OUTPUTNODE  TYPE REF TO CL_BSPWDCMP_BSPWDCOMPONEN_CN01,
            LR_ENTITY      TYPE REF TO IF_BOL_BO_PROPERTY_ACCESS,
            LR_HEADER      TYPE REF TO ZL_BP_HEAD_ACCOUNTDETAILS_CN00,
            LV_ROW_INDEX   TYPE STRING,
            LV_EVENT_NAME  TYPE STRING,
            LV_VALUE       TYPE STRING,
            LS_CITYCODE    TYPE ZTB0000A31PL2T .
      LR_OUTPUTNODE ?= GR_CITYCODE_F4->GET_CONTEXT_NODE( 'OUTPUTNODE' ).
      LV_ROW_INDEX = LR_OUTPUTNODE->GET_SELECTEDROWINDEX( ).
      LV_EVENT_NAME = LR_OUTPUTNODE->GET_EVENT_NAME( ).
      GR_CITYCODE_F4->CLOSE( ).
      IF LV_EVENT_NAME = 'OK'.
        LR_ENTITY ?= ME->TYPED_CONTEXT->HEADER->COLLECTION_WRAPPER->GET_CURRENT( ).
        READ TABLE GT_CITYCODE INTO LS_CITYCODE INDEX LV_ROW_INDEX.
        LR_HEADER ?= ME->TYPED_CONTEXT->HEADER.
        LR_HEADER->GS_CITYCODE_F4 = LS_CITYCODE.
        LV_VALUE = LS_CITYCODE-ZZCITYCODE.
      setting city code
        LR_ENTITY->SET_PROPERTY_AS_STRING( IV_ATTR_NAME = 'ZZCITYCODE'
                                           IV_VALUE     = LV_VALUE ).
      ENDIF.
    ENDMETHOD.
    Hope this helps.
    Regards,
    Ruby.

  • Search help is not working at Transaction Launcher

    Hi gurus,
    I create a transaction launch that calls a ZXXX t.code from same CRM system.
    T.code ZXXX is used to execute a custom report in order to create document from excel file.
    Everything is ok, but search help button is not working on web ui.
    Search help will open "my computer" pop up. I guess this cause problem. Is there anyone who met this problem before?
    Regards
    Sadi

    Hi,
    Is the search help button part of custom report and is it working fine in GUI ?
    What popup will come when we open that search help in GUI
    Regards,
    Shobhit

  • Search Help is not  working in PCUI

    Hi All,
    We are working on CRM 5.0
    we have given Seach help for City depend upon Region
    This search help is working in SAP-GUI System but
    it is not working on PCUI Screen And showing No entry found,
    plz help me...
    i ll give reward points for helpful ans
    Thanks & Regards,
    ganesh

    Hi,
    Is a search help program attached for the field group (to which this PC-UI field belongs) in transaction CRMC_BLUEPRINT?
    Regards,
    Annu

  • Set type attribute search help in Web UI

    Hello,
    I've created a set type attribute in the SAP GUI in CRM 2007 which links to value table BUT000. On the product in the SAP GUI, the F4 search help brings up the standard BP search help (COM_PARTNER).
    I've assigned the attribute to the web UI, and the field displays correctly, however when I click on the F4 help, the system only shows me a list of BP numbers without even a description description, and not the standard search help. The response to my OSS message is that this is "standard".
    Any suggestions as to how to enable the correct search help for this?
    Thanks,
    Alison

    Hello,
    This is an example :
      READ TABLE lt_multivalues WITH KEY fieldname = 'ZOPERATION_ID'
      INTO ls_multivalues.
      IF sy-subrc NE 0.
        READ TABLE lt_multivalues WITH KEY fieldname = 'ZKIT_ID'
        INTO ls_multivalues.
      ENDIF.
      IF sy-subrc EQ 0.
    Z search
        CALL METHOD me->search_by_kit
          EXPORTING
            it_search_tab          = it_search_tab
            it_multivalues         = lt_multivalues
            iv_number              = iv_number
            iv_item                = iv_item
            iv_archive             = iv_archive
            iv_call_authority_badi = iv_call_authority_badi
          IMPORTING
            et_guidlist            = et_guidlist
            et_return              = et_return.
      ELSE.
    Standard search
        CALL METHOD me->search_standard
          EXPORTING
            it_search_tab          = it_search_tab
            it_multivalues         = lt_multivalues
            iv_number              = iv_number
            iv_item                = iv_item
            iv_archive             = iv_archive
            iv_call_authority_badi = iv_call_authority_badi
          IMPORTING
            et_guidlist            = et_guidlist
            et_return              = et_return.
      ENDIF.
    You have to fill et_guidlist with the results.
    Benoî

  • Search help for business partner ID in segmentation applet

    Hello,
    In CRM 2007 I'm using the segmentation toll. When creating filters for Business Partner ID criterium I'm using a search help functionality to find the desired records. However search help for business partners used in this area is very different from the search help used in any other parts of WEB UI (it is restricted to only few fields, that are not enough for our requirements).
    Segmentation applet is written in Java but the search help looks like normal WEB UI screen. I wonder if any of you could help me with replacing this serach help called by segmentation applet (java application) with a standard search help for business partners (BP_HEAD_SEARCH)?
    Kind reagrds
    Marek

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • Custom Search Help for Business Agreement field in transaction BP.

    Dear Experts,
    My requirement is to add Custom search help to Businees Agreement field (BUPA_CRMM31-BUAG_ID) in transaction code BP.
    PLease guide me how to add Custom search help to Businees Agreement field which dont have search help option.
    Regards,
    Bala

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • How to Enhance search help for product groups. Currently no ability to add multiple lines from result list

    Hi All,
    In CRM Web UI,  there is no multi selection option for product group id f4 help for Custmer event creation or edit screen under  “Product” tab=> Product Group ID field.
    Web UI Component Details -
    UI component : TPMOE
    View : TPMOE/ProductEOL 
    Context: PRODUCT  Attribute : -PRODUCT_GRUOP
    Click on Product Group ID field then below F4 Help screen appears.
    In the product group results list, user can select only one row and Then all the product will be queried for selected product group, transferred to product list tab.
    Current technical design for Product Group F4:
    a) SE11 Data Dictionary search help “CRM_MKTPL_PGRP1”  is used and data is fetched displayed based it( Refer method GET_V_PRODUCT_GROUP of context node class CL_TPMOE_PRODUCTEOL_CN00)
    b) In UI, F4 pop up is handled by UI Framework in SAP generic manner so no multi selection is allowed.
    c) A round trip event is triggered after selection of row from results which reload view with queried product result based group selected.
    Requirement :-
    In the product group F4 results list View, user should be able to select multiple row .As SAP GUI has the option of multiple entry selection from search help window with the help of field called MULTISEL.
    System should query for products  with all selected product group, transferred to product list tab.
    Note: - The multi select options works fine for GUI, but for UI standard SAP code ignores this or never is this structure taken into consideration. Standard class to display F4 help on UI is CL_THTMLB_F4HELP.
    Can we enforce same behavior like DDIC search help in Web UI too  Or suggest how we can achieve this requirement?
    Thanks in advance
    Regards,
    Arjun

    Hello All,
    We have achieved this requirement by Custom development and approach followed as  -
    Define UI object model zprgrp & zprgrpquery and object relationship in table ZCRM_OBJTAB
    Query Strcuture : ZCRMST_PRGRP_SEARCH & Result List structure : ZCRMST_PRGRP_RESULT      
    Created Custom component : ZPRGRP with Search /Result view and with GENIL Class, search logic
    Defined custom ComponentUsage “ProductGroup1SearchHelp” for ZPRGRP in Standard Component TPMOE
    e.  Called F4 application for field product _group with help component usage created in step d.
    Regards,
    Arjun

  • Regarding guidance to use standard search help

    I need to add two fields PLANT and STORAGE Location on the item level of the service order.  These fields are not mandatory, and should enable the user to enter a Plant and Storage location.The storage location field editable and using a value help, this field and the plant will be filled in.  The plant field is read-only.  The table which contains the data in SAP is OFIC_PLANT_SRV.  Based upon the search help OFI_SHLP_STORAGE_LOC, I will put both the storage location and plant on the Web UI, when the user uses the search help of field Storage Location.
    I am using SAP CRM 7.0 and new to ABAP and CRM.
    Kindly suggest in detail what should I do step by step ?
    ALready I have done the following :
    1) Enhanced respective components
    2) Added the fields through AET in BTADMINI

    The search help used here is MAT1.
    It is possible to use the same serch help in your custom program. You can either attach with the field in the table by double clicking on the field name in SE11 or in the screen painter. Double click on the field in the screen painter and under the attribute option (Dict tab) you can find option for giving serach help.
    Vinod

  • Search help for 'Account ID' field in 'Identify Account' section

    Hello all,
    We are on CRM 5.0.
    I want to attach the search help 'BUPA' for the 'Account ID' field in 'Identify Account' view of IC Webclient.
    Can you please let me know how I can achieve this.
    Regards,
    Nag

    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?

  • Problem in Customizing Search Help for Business Partners in CRMD_ORDER

    Hi All,
    I am absolutely newbie in CRM. I have a problem here.
    We are using SOLMAN for incident management in our project. We use transaction CRMD_ORDER for creating a support message. Now this creen has 4 kinds of partners namely SLA Partner,Reported By,Support Team,Ticket Owner. Now for all these partners there is a common Search Help being used i.e. COM_PARTNER. We have a requirement that for all these fields we want to take user directly to hit list which should have only 2 fields. These hit lists are different for all these 4 fields. I have right now no idea how am I going to achieve this? I have a hint about Search Help exit being used but not sure which one and how? Please guide on this.
    Thanks in advance,
    Saket.

    Hi,
    you are using icident - i guess you are on CRM 7.0?
    Why won´t you use the webclient UI but CRMD_ORDER?
    In Webclient UI component BT_PARTNER you will find the relevant searchhelps and can influence them with methods GET_V*
    Best regards
    Manfred

  • How to have radio button in search help ?

    Hi,
    I have a requirement in which on pressing F4 the user will input value of a document number on displayed search help screen. I need to provide two radio buttons there based on selection of which i will determine the values in my search help exit.
    To clarify more, i am in CRM system and user runs a transaction crmd_order but he doesn't know the contract document number to open. He knows a sales document reference number so he presses for F4 help where he can input the sales document reference number to get available contracts. Now when he/she enters the dsles document number they need to choose which kind of contract should be displayed ( Two kind of contracts : proposal and schedule ). Based on user input i will search in help exit and display the output.
    Any help would be appreciated.
    Regards
    Apoora

    Hi Apoorva,
    i think you can write below code just to show the Pop-up for details.
    this you can write on POV or at selection screen-output.. when ever the user changes the Radio button the logic will be triggered and pop-up is triggered..
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'           "Pou-up Heading..
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 50
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'                  "Internal Tbale
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_batch                       "Internal Tables with Valuess
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    regards,
    Prabhudas

  • F4-Help without using a table search help

    Hi,
    We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
    There it was always necessary to use an existing table search help in the GET_V-method:
    CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = lv_help_id   "search help name
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
    Structure of the internal table: COML_PROD_CAT_REL_F4
    Thanx for help.
    Greetings,
    Sven
    Edited by: Sven Keller on Aug 13, 2008 4:26 PM

    Hi Sven,
    you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
          CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
            EXPORTING
              iv_help_id        = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
              iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
              iv_input_mapping  = lt_inmap
              iv_output_mapping = lt_outmap.
    As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
    It should not be very hard to implement the single method
    cheers Carsten

Maybe you are looking for

  • Bulk Project Site option isn't working in project server 2010 migrated from PS 2007.

    Hi, I am doing a test migration from epm 2007 to epm 2013.  So first, i need to migrate the project server 2007 to project server 2010. i have 2 separate environments for EPM 2007 and EPM 2010). there is no problem in migration process and i successf

  • Question about .scr file while running jcwde ???

    I have a tutorial about java card. it has some information about that tutorial. AID: 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x1 Package ID : 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07 in .scr file I found this part of script: 0x80 0xB8 0x00 0x00 0

  • Will Actionscript 2.0 remain supported?

    I know Actionscript 3.0 is the new standard for Flash CS5. However, my work is largely concentrated in Photography and 3D Modeling. However I also must use Flash for a lot of my work, but do not really have the time to learn AS 3.0. Will I be able to

  • OGG and firing triggers

    Hi, I am designing and implementing OGG to replicate a set of about 200 tables from a master system to two target systems. Updates to these tables only occur on the master system so this is a 1:n uni-directional situation. The master and target syste

  • Gather stats on every table in a schema

    Hi, i have an CRM application running on 10g R2 db. it has 5000 tbls on which less than 10% of tables are dynamic. gather stats job runs every day at 2am successfully. i was monitoring the statistics(dba_tables, dba_tab_modifications, dba_tab_statist