Attach search help to standard table field

Hi,
I need to attach search help to standard table field VBKD-EMPST.
I have create a z search help and taken acess key from SAP.
But unable to attach this to standard table field.
Kindly help.
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on Oct 27, 2010 6:11 PM

Hi,
just go throw this link
Re: Attaching Search Help to a field
I hope this will help u
Thanks
Regards
Akhilesh Singh

Similar Messages

  • 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

  • Attach search help to standard screen

    Hi Gurus,
    I have to populate order quantity KWMENG in screen subscreen 4900 of VA01 ( Create Sales Order) from a ztable based on customer and date.
    I have tried customer-exits ..<b>There exists none</b> satisfying this req. Could anyone pls tell how I can go about this now?
    I believe , one way is to create a search help attaching to the screen-field . Can anyone help what is the process ? Has anyone done this earlier -<b>attaching search help to standard screen</b>
    Rewards for helpful answers are sure!!
    Regards,
    Shweta

    Hi Shweta,
    Check this matter.
    There are 3 ways:
    1)In the PAI of the screen, add a module Process on value request.For example:
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_100.
    PROCESS ON VALUE-REQUEST.
    FIELD field_name MODULE value_request_for_field_name.
    *field_name is the field for which you require search help.
    In the Module value_request_for_field_name call this function 'F4IF_INT_TABLE_VALUE_REQUEST'.
    2)The above procedure can be used if the field you have defined doesnt have an existing search help.If it already has search help and the field in the screen is taken from the dictionary,then in the attributes,u can check from from dictionary under the dictionary tab.
    3)A manual search help can also be created in the se11 transaction by clicking on the search help radio button and giving the table and field name for which search help is required.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Attaching Search Help to Standard Field

    Hi,
       In QAPP table, i want to attach customized Search Help to USERN2 field. So i take access key for that data element but still it's not modifiable mode.
      so can you please tell me how to attach search help to that field.
    Regards,
    Pushkar.

    Hi,
    Goto to the table QAPP, goto the entry help/check tab and in that keep the cursor on the field USERN2 and press the search help button below the tab and you can insert the search help only if you have the access key to changes.
    Reward if useful.
    Thanks,
    Muthu.

  • Adding search help to standard SAP field

    Hi Experts,
    I need to add search help to field ZUONR i.e assignment field in various tcode like fb70,fb60,f-02.etc which will select data from
    Z tables . I have found out serach help exit F4IF_SHLP_EXIT_EXAMPLE but as per my knowledge that is to change existing standard search help.But to field ZUONR there is no search help attached.How can new Z search help be added to field ZUONR without use of access key.
    Please suggest.
    Regards,
    Kaustubh Kabre.

    Hi,
    I don't know how to change "Value table" field on domain without access key, but if nothing else work, you can add new fixed values. From menu Goto->fixed value append.
    Other possibility is to use GuiXT -> write script that will call your FM that will get data from your table and show them.
    Best regards
    Marcin Cholewczuk

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

  • How to attach search help in a particular field in se80 screen

    Hi All,
    Can any one tell me how to attach a search help in a particular field in a screen.
    Wat search help is used to display material no and description
    Thanks in Advance
    Regards,
    Priya

    Hi Priya,
    In the Screen Layout, Double click on the field on which you wish to attach the search help.
    In the properties window you can specify the search help for that field.
    Search help for Material No. is MAT1.
    You can find it in the Table structure (SE11) , "Entry help/check" tab.
    Regards,
    Himanshu

  • Attaching search help to a screen field

    Hi all,
    I've created a search help (zhlp) and want to attach it to the screen field in the selection screen of my report.
    SELECT-OPTIONS KSCHL FOR VAKE-KSCHL
    MEMORY ID VKS.
    I've attached zhlp to the screen by defining it on the element list of the screen 1000.
    And the original db table T685 already got a search help H_T685, when I run my report and press F4 in the field, it calls the default search help H_T685 but not mine.
    Could anyone help me? Thanks.

    here is the syntax for assiging search help to selection screen field.
    SELECT-OPTIONS KSCHL FOR VAKE-KSCHL MATCHCODE OBJECT ZHLP.
    Regards
    Raja

  • Search help to a table field

    Hello Folks,
    I have an immediate requirement to assign a search help to a specific field in a Table.Requirement is as follows:
    requirement:
    I want the search help to be populated for the field HRP1000-SHORT when HRP1000-OTYPE='O'.
    Values of search help are to be populated from another Custom table field1 where field2 = 'x'.
    Please help me out in fixing this.

    *---Report with selection screen and to display the list of
    possible entries for field 'B' as per the value in field 'A'.
    parameters: p_vbeln type vbak-vbeln,
                p_posnr type vbap-posnr.
    at selection-screen on value-request for p_posnr.
      data: begin of help_item occurs 0,
              posnr type vbap-posnr,
              matnr type vbap-matnr,
              arktx type vbap-arktx,
            end of help_item.
      data: dynfields type table of dynpread with header line.
      dynfields-fieldname = 'P_VBELN'.
      append dynfields.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname               = sy-cprog
                dynumb               = sy-dynnr
                translate_to_upper   = 'X'
           tables
                dynpfields           = dynfields
           exceptions
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                others               = 11.
      read table dynfields with key fieldname = 'P_VBELN'.
      p_vbeln = dynfields-fieldvalue.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = p_vbeln
           importing
                output = p_vbeln.
      select posnr matnr arktx into table help_item
                     from vbap
                          where vbeln = p_vbeln.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'POSNR'
                dynprofield = 'P_POSNR'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = help_item.

  • FM to find Search help for a table field

    Hello Colleagues,
    is there any function module which would return the search help associated with a table field ?
    I tried with the FM F4IF_DETERMINE_SEARCHHELP but it returns search help that is associated with either to table field DE or search helps associated with the value table fields. I need to find only
    the search helps that are associated with a table field but not the value tables or fixed values.
    For ex. If i pass table_name = 'SFLIGHT' and field_name='CARRID' then it should return me S_CARRIER_ID. but if i pass field_name='CONNID'  then it should return nothing..
    Best Regards, JVR

    Hi Kishore,
    Use the Function Modulein the F4 help associated with a table field ...
    CALL FUNCTION ' HELP_VALUE_GET"
    EXPORTING
      fieldname =  'CARRID'  "field name in the table you refer
      tabname = 'SFLIGHT'   "Table name
    IMPORTING
    select_value = S_CARRIER_ID.  "Selected field
    Regards,
    Prabhudas

  • Connect search help to standard table

    hi!
    i want to connect search help to structure P0001-MSTBR, without a repair.
    is it possible? and if so how?
    regards
    yifat

    Hi,
    If you want to add a search help to a structure or a table, it would eb a modification. No other way.
    However, you could decide to program the F4 in your transaction. You could then make use of the FM F4IF_INT_TABLE_VALUE_REQUEST. Just pass to this FM, an internal table of values. Ofcourse you would have to populate some other fields like field name, etc.
    Remember to reward points.
    Rgds,
    Prashanth.
    SAP.

  • Attaching search help to a field in table control

    Hi,
    Please suggest a way to attach search help functionality to a field in table control.
    My requirement os based on matnr the f4 help for the next field shud come.
    I gave the func mod dunp_values_read, but the internal table i pass does not return with the fieldvalue of matnr field.
    is there any func mod to read values of screen fields in table control so that based on that I can go to func mod f4_init_....
    Will be rewarded.

    Check the FM: HELP_VALUES_GET_WITH_TABLE_EXT
    Check the documentation for example code.
    regards,
    Ravi

  • Hi how to attach search help to a field

    hi all,
    how to attach search help to a field.

    hi
    <b>Attaching a search help to a field</b>
    A search help can influence the behavior of a field when the input help is called. The search help must be assigned to the field in order to do this. You have the following options for this assignment:
    Attach search help to a data element / table or structure field / screen field / check table.
    Conventionally search helps are attached to table fields or data elements. We shall see the same.
    <b>Attaching a search help to a table field</b>
    Choose the field name, click on search help tab and
    provide the name of the search help.
    A search help is attached to a field of a table or structure in the maintenance transaction for this table/structure, analogously to attaching to a table. You must assign the interface parameters of the search help to any fields of the table/structure. The search field must be assigned to an EXPORT parameter of the search help at this time.
    Attach the search help to the table field
    The search help ZSTRAVELAG_NAME is therefore directly attached to the field AGENCYNUM of table ZSTRAVELAG.
    <b>Attaching a search help to a data element</b>
    Provide the search help name and the parameter name
    under the further characteristics tab of the data element.
    If the input help of a field is defined by its data element, no further screen fields can be used in the input help.
    Also note that the input F4 help would be available wherever the data element is used.
    <b>Attaching a search help to a screen element</b>
    A search help can be directly assigned to a screen field in two ways.
    The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
    The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
    However, input help is only available for this particular screen.
    In this case, the search help is only available for this screen.
    <b>IF YOU WANT TO ATTCH A SERACH HELP TO THE SCREEN FILED THIS IS THE CODE</b>
    TYPES : BEGIN OF ST_OBJID_SH,
    OTYPE TYPE HRP1000-OTYPE,
    OBJID TYPE HRP1000-OBJID,
    END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    ************SELECTION SCREEN DESIGN************************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    ***********END OF SELECTION SCREEN DESIGN******************
    **********VALIDATION FOR SCREEN FIELDS*********************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    * IF S_OBJID IS NOT INITIAL.
    SELECT OTYPE OBJID FROM HRP1000
    INTO TABLE IT_OBJID_SH
    WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    * SEARCH HELP FOR QUALIFICATION.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    * DDIC_STRUCTURE = ' '
    RETFIELD = 'OBJID'
    * PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'S_OBJID'
    * STEPL = 0
    * WINDOW_TITLE =
    * VALUE = ' '
    VALUE_ORG = 'S'
    * MULTIPLE_CHOICE = ' '
    * DISPLAY = ' '
    * CALLBACK_PROGRAM = ' '
    * CALLBACK_FORM = ' '
    * MARK_TAB =
    * IMPORTING
    * USER_RESET =
    TABLES
    VALUE_TAB = IT_OBJID_SH
    * FIELD_TAB =
    * RETURN_TAB = RETURN_TAB
    * DYNPFLD_MAPPING =
    * EXCEPTIONS
    * PARAMETER_ERROR = 1
    * NO_VALUES_FOUND = 2
    * OTHERS = 3
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    <b>REWARD IF USEFULL</b>

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

  • Attaching Search Help to a field

    HI All,
    Can anybody please tell me how to attach search help to a particular field??
    Thanks.

    hi
    good
    Attaching to a Table Field or Structure Field
    The search help can be used by all screen fields that refer to the table field or structure field. The search help parameters and the fields of the table or structure must be assigned to one other in this type of attachment.
    If an export parameter of the search help is assigned to a table field, the contents of this parameter are returned to the corresponding screen field as soon as the user has selected a line of the hit list in the input help. If an import parameter of the search help is assigned to a table field, the field contents are used for the value selection (see Value Transport for the Input Help).
    Normally some parameters of the search help cannot be assigned to a table field. The assignment is thus left open for some search help parameters. A constant or any other field that is searched for in the module pool when the input help is called can also be assigned to a search help parameter.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/63/1b70c2c32111d1950600a0c929b3c3/content.htm
    thanks
    mrutyun^

Maybe you are looking for