Adding search help (F4) for a screen field in standard screen of VA02

Dear Gurus,
I need to add a Search Help (F4) to a Standard Screen Field VBAK-VSNMR_V in the standard Screen of VA01/Va02.....Can anyone please guide me how it can be done.
Regards
Sajid
Edited by: shaik sajid on Feb 2, 2009 8:38 AM

Hi shaik,
Refer to the following useful link:
Search help enhancement in VA01
Hope this will help you...

Similar Messages

  • Making field mndatory & adding search help in MB21.

    Hi experts...
    I want to make two fields mandatory in tcode MB21 & MB22.
    Also want to add search help to one of the field.
    Can any one tell me?..............
    Regards.
    Sunil.

    You can look for the search help exits to make the changes if already a help is available.
    If nothing is available you can check with the screen exit to add the help.
    refer the link,
    Re: Search help enhancement - VA01

  • PCUI 4.0, Search Help Required for New field

    Hi everyone
    I am working in CRM 4.0 Sales Order application
    We created a new field in CRM sales Order in Header level in SAP GUI through EEWB.
    The search help for the new field is working fine in SAP GUI. We want to add the same field with F4 help functionaliity in PCUI as well.
    The field has been added in structure CRMT_BSP_SLS_OD1_General. It also shows domain value for the field however Origin of input field ie empty
    The field has been added in PCUI and is successfully showing data inputted in SAPGUI
    However we need search help functionality for the field
    i tried these two steps
    1) i checked on domain value checkbox and changed the field from input to dropdown. However the dropdown is empty in PCUI. Whenever i check box domain values for some field then all the possible values in SPA GUI are displayed in PCUI, however this is not working here.
    2) I put Value_table in F4 of the field
    This is also throwing up empty values
    Am i missing something in this case
    Please let me know how to go about it
    TIA
    Asad

    Hi Frederic
    Thanks for your response
    I am not sure what is meant by regenerating the field group in this case
    I added the entries for my view in the field group and generated the layout of the field group (If this is what you mean)
    The field is working fine. I am able to save values to the field and able to see values saved in GUI.
    I haven't linked search help of the field in PCUI
    I am not sure how to go about it.
    I used the data element in the structure for the field.
    The data element has Domain entry in <b>Entry Help/Check</b> of the structure
    If i check the Domain Value checkbox in my field group then the domain values should be available in dropdown if the field is dropdown
    However i am not able to see the possible values of the field (It is present in SAP GUI)
    Does something else needs to be done in this case
    TIA
    Asad

  • Adding search help to existing fields

    hi
    i have created a ZTABLE(structure), i need to add search help to one of the field name1 which is the standard sap field from table lfb1. can i add it into the table which i have created, if yes how can i add a search help to the field.

    Hi,
    TYPES: BEGIN OF t_reques,
           lgnum TYPE lgnum,
           END   OF t_reques.
    DATA:i_reques TYPE STANDARD TABLE OF t_reques.
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
      PARAMETER:        p_ware  TYPE lgnum    OBLIGATORY.
    SELECTION-SCREEN: END   OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ware.
      SELECT lgnum
             FROM T301
             INTO TABLE i_reques.
      PERFORM f4_help USING i_reques CHANGING p_ware.    "SUBROUTINE FOR F4 HELP.
          SUBROUTINE FOR F4 HELP.                                        *
         -->P_I_REQUES  text
         <--P_P_WARE  text
    FORM f4_help  USING    p_i_reques
                  CHANGING p_p_ware.
               CALLING FM F4IF_INT_TABLE_VALUE_REQUEST FOR F4 HELP.      *
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure   = 'LINK'
          retfield         = 'LGNUM'
          dynpprog         = sy-repid
          dynpnr           = sy-dynnr
          dynprofield      = 'P_P_WARE'
          callback_program = 'ZAR_F4HELP'   "Your Program Name
        TABLES
          value_tab        = i_reques
        EXCEPTIONS
          parameter_error  = 1
          no_values_found  = 2
          OTHERS           = 3.
      IF sy-subrc <> 0.
        MESSAGE i006(zmm_ab).
      ENDIF.
    ENDFORM.
    Thanks,
    Arunprasad.P
    Reward if useful.

  • Search help exit for field name: BANKL (bank number)

    Is there any search exit that can be used on field BANKL to display only some bank based on user defined criteria?
    Regards

    we can create the search help ..
    we dont need to use CMOD or SMOD for this .
    The search help exit are implemented as function module (newly created) . 
    The place for exit in search help is blank but we can assing our exit ( FM created ) into that . Take the F1 help of that in change mode of search help .
    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.
    well  which search help you want to change. and what changes are needed .?

  • Search Help to display 2 different fields/values

    Hi Everyone,
    I am going to use a search help for a certain screen transaction using a search help. A certain input field should have an F4 function (using list box). The values to be displayed after F4 input should be the Business Object type and BP number. This input field is can display either of the two fields.
    How can I do this? Do I need to create a new search help for this? Business Object is from table SWOTIP field OBJTYPE and BP Number is form table BUT000 field PARTNER.
    Kindly help me on this.
    Thanks and regards,
    RE

    Hello Ashish,
    The input help should have two possible values. It may be the Org unit number or the Business Partner number.
    As for my experience in search help, the only thing I know about it is to set a reference db table then the field which is to be displayed during F4. For example, an input help requires a Plant number, the search help will have a reference table (selection method) T001W and a parameter of field WERKS.
    What if the input field can contain either an org unit number OR a business partner number, how should I create the search help? What should be the selection method (table name) to be filled? Is it the BUT000 (for bus partner) or HRP1001 (for org unit)?
    Thank you very much for your attention.
    Regards,
    RE

  • Issue Search Help Exit for Material Group

    Dear Expertsl,
    I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
    1)  I developed custom table to hold the Invalid material groups
    2) Developed search help as same as in the bellow link
    link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
    3) Before the statement
        SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
          WHERE matkl IN t_matkl
    i selected the Invalid materials from the custom table into an internal table
    4)    i am restricting the entries with the following code.
    LOOP AT a_tab.
    only move values that meet the requirements
    after you convert to upper case.
         MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
         TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
            MOVE      a_tab-wgbez        TO a_tab-wgbez_test.
            TRANSLATE a_tab-WGBEZ_test   TO UPPER CASE.
            MOVE      a_tab-wgbez60      TO a_tab-wgbez60_test.
            TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
          IF a_tab-wgbez60_test IN i_wgbez60 AND
             a_tab-wgbez_test   IN i_wgbez   AND   
             a_tab-matkl        IN i_matkl.
            ADD 1 TO findex.
            MOVE a_tab-matkl   TO temp_tab-matkl.
            MOVE a_tab-WGBEZ   TO temp_tab-WGBEZ.   
            MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
            IF findex > callcontrol-maxrecords.
              MOVE 'X' TO callcontrol-maxexceed.
              EXIT.
            ENDIF.
            READ TABLE i_invalid INTO w_invalid
            WITH KEY matkl = a_tab-matkl.
            IF sy-subrc NE 0.
              APPEND temp_tab.
            ENDIF.
            CLEAR temp_tab.
          ENDIF.
        ENDLOOP.
    This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
    But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
    Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials  groups from now onwards.
    I would appropriate if any one can helping this regard.
    Thanks in advance.,
    Regards,
    Venkat

    Hi Venkat,
    You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
    For example, your screen field is MARA-ZXXXX, screen 0100 and search help :  ZSEARCH_HELP
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                  = 'ZXXXX'
          searchhelp               = 'ZSEARCH_HELP '
          dynpnr                      = '0100'
          dynprofield                =  'MARA-ZXXXX'
    TABLES
       return_tab                = lt_returntab.
    This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
    Regards
    Deepa.

  • Search help Enhancement for the Material Number (MAT1 - Search help name)

    Hi ,
    In my Requirement if the user clicks on the Material Number Search help(eg in ME51N - T.code: Material )
    It will shown a additional Search help along with the existing one.
    That search help would have input parameter fields as Material Number , Material Group , Material description , Plant and storage location.
    The output screen has to display the Available Quantity for the input  material, plant and  storage location.
    The available quantity has to calculated from various Tables like mard , mssq etc.
    My question is how to display the available quantity in the search help screen, i tried with search help exit but not successful.
    I am displaying the remaining fields(except available quantity)  using database view from different tables like Mara , Mard ,Makt.
    where to write the Logic for the Available Quantity to display it in search help.
    Thanks and Regards,
    Prakash K

    Hello,
    if this search help is collective then you could delete standard single (SAP allows maintain collective search help with out object key registration) one and insert custom search help which has the same structure plus additional field.
    best regards,

  • Standard search help need for application directories

    Hi All,
    I have a created ztable.I want to assign a search help to this Z table field.
    I need a search help which contains the apllication directories.
    Is there any standarda serch help avliable to assign the application directories to the Z field of ztable.
    Thanks,

    I don't think there is a standard search help available, but there is a function which provides a F4 dialog box to search app server directories... You can try creating your own search help with it.
    PARAMETERS p_file TYPE dxfile-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
    EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname                    = sy-repid
          dynumb                    = sy-dynnr
          filetype                     = 'P'
          location                    = 'A'
          server                       = '  '.
    filetype: 'P' represents Physical file name; 'L' represents Logical file name.
    location: 'A' represents Application Server; 'P' represents Presentation server.
    P_FILE is parameter name (in your case it can be scree field name)
    dyname = report name
    dynumb = scree number

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • Steps for creation of search help exit for a search help

    Hi,
    I have created a search help. I need to create a search help exit for this search help.
    Please let me know how to create a search help exit as well as how to link it to my search help.

    1)Copy the FM F4IF_SHLP_EXIT_EXAMPLE to write your own FM. (check the documentation and coding of FM F4IF_SHLP_EXIT_EXAMPLE).
    2)write your code depending upon the functionality you want.
    3)attach the FM in search help through SE11 in "search help exit" field.
    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.
    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.
    For more detailed information please refer to the documentation describing the concept of the search help exit.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.

  • How we can attach search help directly to the table field / structure field

    Hi All,
       Can you please let me know the step by step procedure of How we can attach search help directly to the table field / structure field.
    Regards,
    jaya

    Hi Jaya,
    1. Create a search help using SE11.
    2. Include this search help in the field of table in SE11. There is a tab in the table defination where you can specify the search help.
    Even you can specify search help at data element level, screen field level.
    Reward points if useul.
    Regards,
    Atish

  • Adding field to standard screen in tr. FPSEC1

    Hi,
    I need to add customer field to standard screen in FPSEC1 transaction (screen 202,second screen in transaction (non cash choice)).
    Has someone did it already?
    (please don't give me general advices as "find screen exit" and so on...)
    Point's will be given.
    Regards.
    Yossi.R.
    *sorry for crossposting

    How you solved this.
    I am facing same problem
    Please reply.

  • Add selection screen field in standard program

    Hi Friends,
    I have a requirement to add a language selection screen field in standard programs (RFSUSA00, RFITEMGL, RFIDPL11, RFBELJ10_NACC, RFIDPL06, RAGITT_ALV01 , RFASLD15 , S_PL0_86000028 , RFCASH00 , RFIDPL18).
    This is such that when I select the appropriate language the output should get printed in that paticular language. Can someone help me with how to do this?
    Regards,
    Dikshitha

    Hi Dixitha,
    Use implicit enhancement option.
    Desplay the report in se38.
    In Menu, go to Edit > Enhancement Operations > Show Implicit Enhancement Options.
    The system will show you lines (in color) where you can add your enhancement.
    This function will allow you to add business rules, substitute fields, do extra calculations, and other unique, non-standard requirements.
    Reddy

  • How to display negative values in a screen field of a screen

    Hi All,
    Please let me know how to display negative values in a screen field of a screen.
    thanks

    Hi Kishore,
    You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
    I have created a field of CHAR of name say TEXT.
    In the main program,
    declare a variable of the same name ie. TEXT.
    data: TEXT(5) TYPE C.
    In PBO, just assign the negative values.
    It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
    Regards,
    Sylendra.

Maybe you are looking for

  • How to change the administrator name

    I have tried to change the administrator name on a Macbook pro that I recently sold. I used the following: Rebooted and held the command and s button, pressed enter and ended up with the following at the prompt: bash-3.2#. I was trying to get to the

  • Business partner - how many address ?

    Helo expert, I created a business partner with 2 role ( I mean 2 type - customer and vendor ). I check the number of address created, and I see that the system created one address for each business partner type. Exemple: 1 address ( in the ADRC table

  • Aggregate Device not recognising Built-In Input

    How do I get my Aggregate Device to recognise the 'Built-In Input" in my iMac? In the Audio Devices window, I have set my Aggregate Device to be the sound input master to allow me to choose 'Aggregate Device' as the Input Device in Logic Pro X . This

  • Spam - someone is using a forms central form for phishing - would like to report it for removal.

    I just received a phishing e-mail and someone is using a forms central form to record information.  I would like to report it so that it can be evaluated for removal.

  • Reading mixed characters file

    Hi , I need to read a file (jar file) which contains English as well as Arabic strings . Is it possible to read the files with Special encoding like cp1256 or UTF-8 ? Please give me a solution.