How can I replace a standard search help in SRM 7.0 as enhancement?

Hi experts.
In SRM 7.0, Shopping Cart, Account tab - when using search help for the Cost Center field, a search help 'KOST' is called in the backend system.
I need to replace this functionality with a call to a local search help.
Being newbie in WebDynpro, I expected to be able to make this change in the Context field, search help attribute as an enhancement, but that was not possible.
Thanks in advance!
Per

Hi again.
I tried the proposed solution with no luck.
The problem is, that the standard program is dynamically accessing the attributes of the field I deleted and then I got a short-dump
The solution was however quite simple, when I first had the idea.
If SAP can access a screen field dynamically adding a search help, then I probably could do the same.
So I created a enhancement post exit in view method "WDDOMODIFYVIEW" with this code:
DATA lo_nd_account_detail TYPE REF TO if_wd_context_node.
* navigate from <CONTEXT> to <ACCOUNT_DETAIL> via lead selection
  lo_nd_account_detail = wd_context->path_get_node( path = `COMP_CONTEXT.ACCOUNT_DETAIL` ).
  DATA lr_node_info TYPE REF TO if_wd_context_node_info.
  lr_node_info = lo_nd_account_detail->get_node_info( ).
  CALL METHOD lr_node_info->set_attribute_value_help
    EXPORTING
      name            = `COST_CTR`
      value_help_mode = lr_node_info->C_VALUE_HELP_MODE-DDIC
      value_help      = 'BBP_COSTCENT_VALUE'
  CALL METHOD lr_node_info->set_attribute_value_help
    EXPORTING
      name            = `G_L_ACCT`
      value_help_mode = lr_node_info->C_VALUE_HELP_MODE-DDIC
      value_help      = 'Z_GL_ACCOUNT'
The above code sets the search help for two fields in the Context.
Hope this helps someone out there!
Best regards
Per

Similar Messages

  • How can we create a Collective search help

    Hi all sap experts,
    How can we create a Collective search help on field “OBJECT” which allows to search tables
    o   ARCH_OBJ
    o   TOJTB (Search help: H_TOJTB)
    on 2 tabs.
    Thanks,
    Basu

    Hi
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

  • How can we create a Collective search help  plz tell me with steps

    How can we create a Collective search help  plz tell me with steps
    thanks,
    basu

    Hi
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

  • How can i replace the standard ESS iview with my own iview

    I want to replace standard ESS addr iview with my own WD developed by ABAP
    I added the iview(my WDA) into standard ESS addr page.
    (pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.cn/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr)
    And make it visible.
    But I got this error in ESS PA addr :
    WebDynpro Exception: Application PER_ADDRESS_CN Does Not Exist
    Here is the error code :
    Error code&#65306;ICF-IE-http-c:100-u:AC_WANGFZ-l:1-s:CE1-i:SAPCE101_CE1_01-w:0-d:20070514-t:172301-v:RABAX_STATE-e:UNCAUGHT_EXCEPTION
    So , how can i replace the standard ESS iview with my own iview?
    Thanks

    Can you see any Javascript EPCF code in the old iView  ?  You are surely just going to have to find it  (if our hunch is correct) and analyse it and copy it into your new iView so that it functions in some way that at least does not error

  • How can I call a specific search help from and still get all the tabs

    hello
    I use F4IF_FIELD_VALUE_REQUEST to display a specific search help from my program. This search help is included in a collective search help, but only the one specified search help is displayed.
    Is it possible to call the collective search help and display one specific search help ?
    Example: in CRM i have a collective search help BUPA. When F4 is issued from a customer field the search help "Search customer" should be displayed, and not the last search help which was activated - i.e.. "Search employee".
    best regards
    Peter Christiansen

    Hi,
    you can try some thing like this..
          CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
            EXPORTING
              TABNAME           = 'KNA1'
              FIELDNAME         = 'KUNNR'
              SEARCHHELP        = 'DEBI'
            TABLES
              RETURN_TAB        = LT_RETURN
            EXCEPTIONS
              FIELD_NOT_FOUND   = 1
              NO_HELP_FOR_FIELD = 2
              INCONSISTENT_HELP = 3
              NO_VALUES_FOUND   = 4
              OTHERS            = 5.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Regards
    vijay

  • How can i replace the default search engine (Yahoo...) with Google, when I write a word at the address line?

    I recently installed FireFox on my new pc. Whenever I type a word, for example a name of a website, I get the yahoo search resault, instead of what I had before - to enter directly to the site, or in some cases - get the Google search results.
    I would like to be able to type the website name (for example - "filefactory"), and become directed to the site itself, as it was with the previous version that I had in my former pc.
    Thanks...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Hello,
    this topic is still a problem for me, does anybody have an idea.
    Just to show what's my problem:
    Collective Search help KRED does include a SAP append-search help ASH_KRED which holds the elementary search helps KREDC, KREDE, KREDM, KREDW.
    The search helps KREDE, KREDM, KREDW should not be displayed, so I added another Serach-Help-Append ZKRED_CUST at the end of CSH KRED which holds these 3 SH's with the hidden flag.
    That works, the SH's are not shown anymore.
    I also added some other of the Original SAP SH's (e.g. KREDA) with the hidden flag and added changed copies of these (e.g ZKREDA) there to be shown instead.
    All this can be done modification free by appends.
    The folders of the elementary search helps are shown in the order as they are found included in the KRED SH and the append to this SH.
    This means that the not hidden Sh KREDC from ASH_KRED is shown before all the "custimized" ZKREDx -SH's. But we need this SH not very often, so that I want it to displayed al the right-most position of the folders of SH's or at the most down postition of the drop-down-selection of SH's.
    But I have not found any way to do this modification free.
    The only way to archive this is to modify ASH_KRED by setting the Hidden-Flag for KREDC and add this SH at the end of append-SH ZKRED_CUST again.
    But I want avoid this modification.
    So, is there any way to do this without modifing any of the original SAP SH's ?
    Helmut Fischer

  • How to copy a standard search help to another field

    Hi All,
    I have a BSP screen in that for one input field i need to copy the standard search help for the Business Partner. Could any one guide me how to copy the standard search help for the business partner into the input field in the BSP screen.
    Thanks In advance for the help...
    Thanks,
    SAP SAP

    Hi,
    the BP search is its own web client UI component. For the integration you could check any standard transaction UI component like the BT115H_SLSO, as those contain several partner fields.
    Best Regards,
    Michael

  • HT4972 hi. my iphone 3gs was stuck on apple logo, does not charging. when i replace the battery, it works, my promblem not is, in can't or won't read the simcard. i cant activate my phone. even i put att simcard. how can i activate it? please help me. tha

    hi. my iphone 3gs was stuck on apple logo, does not charging. when i replace the battery, it works, my promblem not is, in can't or won't read the simcard. i cant activate my phone. even i put att simcard. how can i activate it? please help me. thanks.

    Apple recommends backing up the data when you're getting the battery replaced by them. So I assume that you will likely lose the data during this process.
    Will the data on my iPhone be preserved?
    No, during the service process all data on your iPhone will be erased. Before obtaining service, it is important to back up your data using iCloud or iTunes. Apple is not responsible for the loss of information while servicing your iPhone and does not offer any data transfer service. During service, Apple may exchange your iPhone with an iPhone that is new or equivalent to new in performance and reliability.
    Following service, your iPhone may have a newer operating system (iOS) version and you will need torestore your data using the method used to back it up (iCloud or iTunes). As a result, you may also need to update your App Store applications to ensure compatibility with the newer iOS. If you experience a problem with an application purchased from the App Store, check to see if an update is available or contact the application vendor directly.
    copied from Apple - Support - Service Answer Center

  • Clear error message on F4 standard search help in webdynpro abap

    Hi Gurus,
    We have a check on the data entered by the user in our webdynpro producing a error message if the data are not correct. My problem is that this message is also diplayed in the search help afterwards when the user clicks on the search help. I know how to clear an error message but I can't find the event triggered by the F4 search help to put my code. The search help is a standard search help and thus I can't modify it.
    All I want is to find the event triggered when the user clicks on the search help. The field is in an alv but the alv click or alv action are not triggered when the user clicks on the search help.
    Thanks for your help in advance guys.

    Yes.  It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm

  • Modifying standard search help

    Hi All
    We need to modify the standard collective search help for  material and vendor master.
    In  this we need to filter all the material master records for which there is a deletion flag (LVORM = X).
    How can we do this?
    Pls help
    Edited by: Rahul Khandelwal on Sep 18, 2010 2:36 PM

    Search help for Field MATNR is MAT1.
    - Go to SE11 set radio button to  Search help  Enter MAT1 next to it.
    - Go to tab "Included Search helps" and click MAT1_A.
    - in that go to Tab "Included search helps" and click "MAT0M". There are many helps, this is basically the tabs shown when you press F4 in the MATNR field.
    - In the definition Tab - Selection method - M_MAT1M is shown, This is the search help database view.
    So first check in which Tab you do want to show the material that is marked for deletion.
    Here i have taken - M_MAT1M, Material Number/Material Description.
    - Click the M_MAT1M and it goes to Database View.
    - Click Change.
    - In the "View flds" Tab, include LVORM in the "View Field" column
    - In the "Selection Conditions" Tab, Enter the following in the columns:
    - Table - MARA
    - Fieldname - LVORM
    - Operator - EQ
    - Comparative Value - ' '
    - and save it.

  • Some questions about standard search help in WD4A

    Hello all,
    I use the SAP standard search help for a business partner number input field. It works fine, but I need to customize the result popup a bit. I have the following issues:
    1. After the search I get a table with a list of all found business partners. The columns are not sortable. Can I change them to sortable (as in SAP GUI)?
    2. How can I add another field/column to the result list (birth date)?
    3. Per default 10 hits are shown on one page in this result table. Is it possible to show more hits at once?
    Best regards and thanks for all help,
    Matthias

    Hi Matthias,
      first of all let's say that the Search Help has been changed a lot in the different SP level.
      Looking in a NW7.0 SP12 I can see that:
      1. It's not possible
      2. You have to change the Search Help definition in DDIC (/nSE11)
      3. Via the Settings link in the TOP LEFT you can change the value (but in my system it is set to 500)
      Keep in mind that WDA support a freely programmed Search Help where you can do everything you want...but it requires coding...
    Sergio

  • Search Help - Restricting entries in standard search helps

    Hi, is there any way to restrict entries in an SAP supplied search help?  The search help in question is 'SSH_T007A', this search help also has a user exit 'F4_TAXCODE_USER_EXIT'.  I'm not sure if the user exit is of any use or how to use it.  Ideally what I need to do is to restrict the list of applicable tax codes to only those that we want our users to select.  Does anyone have an idea of how to do this with a minimum of customization?
    Thanks in advance,
    Kevin May

    Hi Seshatal,
         Thanks for the input, but this field does NOT  have any ON VALUE REQUEST event associated with it ....
       as soon as F4 is hit, it goes to Function help_start ,so I don't think we can make any changes here as it is standard .
       I think including a standard search help will help....how to achieve this ?
    Thanks,

  • My ipod is out of warranty how can i replace my screen

    my ipod touch has broken pixels on its screen and sadly my warranty ended a month before it appeared how can i replace my ipod screen.... : ( please help me my dad gave this to me as a gift...

    Replace broken screen on i-device - https://discussions.apple.com/thread/3869709 - lllaass post.  Similar one at https://discussions.apple.com/thread/3925666
    Apple - Support - iPod - Repair pricing - http://www.apple.com/support/ipod/service/prices/
    If out of warranty and you don't ever want Apple to repair it again, search for third party repair services, e.g., http://www.iresq.com

  • How can we use the standard LDB in custom program.

    Dear all,
    can you please tell me the way , how can we use the standard LDB in custom program.
    Thanks & Regards,
    Jyothi.

    Hi
    You can use the Function module LDB_PROCESS to use the Standard LDB in your Z custome program for further details about using the Standard LDB and accessing the LDB in to the program search SDN
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/97/b3edb8163111d2953c0000e8353423/frameset.htm

Maybe you are looking for