Search Help for Infotype Custom Field

Hi,
I have created a search help for a custom field in an infotype. What would be the best way of filtering the help selection based on infotype values such as molga, begda, endda?
Thanks in advance.
/Elvez

Hi Nishanth,
thanks for your reply, perhaps I should clarify my question:
1) I have a custom field in an infotype
2) I have a table containing the search help information
3) I assigned a search help to the custom field
4) I have activated a search help exit
The problem is that the information that I get from the custom field is not sufficient for making the selection. Therefore, I would like to somehow get hold of the addition information, such as BEGDA, ENNDA, MOLGA, to do a proper selection in the search help exit. How can I achieve that?
I read something about function module DYNP_VALUES_READ -would it be possible to call this function module from my search help exit and thereby reach my goal?
/Elvez
Message was edited by: Elvez

Similar Messages

  • SRM Portal - Search help for a custom field

    Hi,
    I have added a custom field to the SRM Portal (5.0) shopping cart, by adding the field to structures INCL_EEW_PD_ITEM_CSF INCL_EEW_PD_ITEM_CSF_SC.
    However, I need to filter the search help for that custom field, based on values & relationships stored in a Z table.
    Is this possible? How? Please help.
    Thank You.

    Currently, my idea would be to create a search help for the custom field & filter the values in a search help exit. However, would I be able to get other field values (standard) from SRM into my search help exit?

  • Custom search help for a custom field in SRM 7

    EDIT: I'm gonna clarify on this thread since my first post wasn't explicative enough... thanks for the patience
    Hi all gurus,
    the question is about a search help in SRM7 but since the task is about abap development, I guess this is the right section to ask for.
    Shortly; every purchase doc in our SRM7 has a custom header table which contains data which are retrieved from the connected backends. In this custom table, the user has the opportunity to add manually a line, and for a specific input field in table, we have to define a search help which should retrieve the appropriate possible values w.r.t. the "target" backend for the document.
    A bit of technical data: say the field is called ZZ_R3_ROLE; it's included in a custom structure ZR7_HEADER_CST_GEN which is itself an append for BBP_PDHCF.
    I defined a Search Help for that field and the corresponding exit FM to manage our task.
    Unfortunately, to retrieve the possible values for the specific backend I need some informations like:
    - the backend on which the document will be distributed;
    - the process type of the document.
    This means that my search help should take into account additional informations that comes from the document I'm processing; I don't know what's the "clean" solution to do this.
    I've seen on an old system (a SAP SRM 3.0) a workaround based on IMPORT/EXPORT ... TO MEMORY ID has been used. Actually, I'd like to find a more elegant solution, if any.
    So... as you can see, I'm absolutely a newbie on the argument, but since I can trigger the search help only from a purchase document (PO, contract) process, I should need at least the GUID of the document to retrieve, for example, what's the target backend for that document in order to provide proper values.
    Any hint/suggestion and in particular, a sketch of code as example is welcome.
    Edited by: Matteo Montalto on Oct 22, 2010 3:01 PM

    Hi,
    into your modify view,
    extract data you need in your search help in an itab (do it into a class do not perform select directly into modify view) and then bind it as value help to your WD element.
    Regards,
    Ivan

  • BSP: F4 Help For a custom field...

    Hi All,
    I need to display search help for a custom field in one of my custom view.
    Search Help for the custom field is already implemented.. but how can i use it in BSP View!.
    In the standard CRM_IC application i couldn't find any similar search help scenario, coz it is calling some standard methods like ShowF4KeyAndValueHelp3,
    ICWCShowF4HelpExtern by passing the structure and field name!.
    I think these standard methods will work only with the fields which have value help table at the data element level. As the custom field that i m using does not have any value help i cant go for this method i guess!.
    Any Help/Hint?..
    Thank You,
    sudeep v d.

    Hello Sudeep,
    Here are some more helpful links .Please refer them .
    Re: Inputfield value for a tableView from a help window
    /people/thomas.jung3/blog/2005/08/22/bsp-value-input-help-popups-version-30
    F4 help using javascript
    Please let me know the feedback.
    Warm Regards,
    Rakesh Kumar Verma

  • Change Search Help for Payment Terms Field

    Hi,
    I would like to change the Search Help for Payment Terms Field, in Customer Master (KNVV-ZTERM). and in Sales Document. I believe it is the same.
    Default is From Table T052 / T052U
    ZTERM  and TEXT1  Fields
    I would like to have
    From Table TVZBT
    ZTERM and VTEXT
    PayT    Own Explanation Field.
    Can we change the Search Help.

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Assign search help for a screen field in standard program?

    Hi All,
    Is there any other way to assign search help to a standard SAP screen field? (to be precise i want to assign search help to Recipient field in table control of components tab in transaction IW32/IW31)
    I know we can do this by assigning search help through screen painter (by changing standard program, which is my last option).
    Any advice/help will be greatly appreciated.

    Hi,
    I think you will find solution in below <b>threads</b>:
    Re: Search Help for standard field
    How to assign a search help
    Search help for Standard SAP field
    <b>Reward if helpful</b>
    Rgds,

  • Search help for selection screen field

    Hi ,
    steps for creating search help for a key field in selection screen..
    tables is a userdefined from which the field is taken..
    thxs,
    vind

    hi,
    c this.
    REPORT ZXYZ_0002 .
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    selection-screen begin of block b1 with frame title text-001 .
    selection-screen begin of line.
    PARAMETERS: P_BUKRS type T001-BUKRS.
    selection-screen comment 30(20) BUTXT for field p_bukrs.
    selection-screen end of line.
    selection-screen end of block b1.
    at selection-screen output.
    if butxt is initial.
       select single butxt into butxt
             from t001
            where bukrs = p_bukrs.
    endif.
    at selection-screen on value-request for p_bukrs.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'T001'
                fieldname         = 'BUKRS'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_BUKRS'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
    Get the company code from db and add to dynpro
      data: xt001 type t001.
      clear xt001.
      select single * into xt001
             from t001
            where bukrs = return-fieldval.
      dynfields-fieldname = 'BUTXT'.
      dynfields-fieldvalue = xt001-butxt.
      append dynfields.
    Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.
    rgsds
    anver
    if hlped mark points

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

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • Search help for a Input Field........

    Hi,
      I'm fairly new to BSP and I would like to know how to attach Search Help to the Input Field in BSP application.
    Thanks
    NP.

    Hi nagendra
                        Search Help for input field Provide using attribute of input field is showHelp and onvaluehelp
                      This is providing the search help .

  • How to assign search help for an input field by fetchign values from an int

    i have an input field ,
    i want to assign search help for the same by fetching values from a table.
    how to achieve this ?

    Using the below ways you can assign search help to a field.
    1) [OVS Search Help|http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp]
    2) [Freely Programmed Search Help|http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help]
    3) Dictonary Help - Use the Data element for that purpose.

  • How to put search help for shopping cart fields.

    Hello Gurus,
    I need to put search help for some of the fields in shopping cart. Pls let me know do we have any standard way with out abap work. pls suggest me how to proceed.
    Thanks,
    kamal

    Check out the field and do a mapping od the same in se11, ie field and the table from which you want to search

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

  • Search help for Standard SAP field

    Hi,
    I need to add a search help to Group key (KONZS) field in XK01 transaction. How can i add our own search help to a field in standard transaction?? This is some what urgent, please give me the solution .
    Thanks in Adavance,
    Moghani.

    You can APPEND your own search help to an SAP field that has search help defined.  This is similar to APPENDing fields to an SAP table.  But since field KONZS does NOT have any search help assigned, this option is not available to you. 
    You can also attach the search help to a field on a screen, i.e. limit the scope to that single screen, but this would still require a modification to the system, and hence, an access key.  If you want to follow that route, the program name is SAPMF02K, screen 120, element list tab, references tab, search help column.
    If you find another way to do this without an access key, please let us know.

Maybe you are looking for