Function to create Input Dialog for Search Help

Hi Folks,
Is there any function to create the dialog to limit the search help result as the one that appears when you create the Search Help through the SE11.
This is because when I use F4IF_FIELD_VALUE_REQUEST I'm just being able to set one value to restrict and hopefully the functionality of intervales, exclusions, etc that the search help dialog when created through the se11 does have and haven't found it on F4IF_INT_TABLE_VALUE_REQUEST.
If you can share a little example I really appreciate it.
Thanks in advance.
Regards,
Gilberto Li

Hi
You can accomplish by using search help exits..... search the forum by "Search help exit" and check my wiki on search help exit code.

Similar Messages

  • Function Module for search help Exit

    How to create a function Module for search help exits?
    please explain in details with step by step process.

    Hi,
    How to create a function Module for search help exits?
    function module for search help F4IF_SHLP_EXIT_EXAMPLE
    dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'
    please check out the link below it will help you
    A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value.
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
    please explain in details with step by step process.
    create a search help exit:
    1. create an fm with this interface:
    *" TABLES
    *" SHLP_TAB TYPE SHLP_DESCR_TAB_T
    *" RECORD_TAB STRUCTURE SEAHLPRES
    *" CHANGING
    *" VALUE(SHLP) TYPE SHLP_DESCR_T
    *" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
    put this logic in it:
    Delete duplicate filter logic.
    This logic only needs to apply at the 'DISP' event - which is just
    before the hit list is displayed
    if callcontrol-step = 'DISP'.
    delete adjacent duplicates from record_tab.
    endif.
    2. edit your search help in se11 and enter the name of the above search help exit fm
    check this sample code..for dynamic search help
    REPORT  ZTEST_F4HELP                              .
    *---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.
    also check this link it will help you
    /message/3854825#3854825 [original link is broken]
    *********please reward points if the information is helpful to you*************

  • Function for search help

    Normally you relate a search help to a input box and let SAP to handle the F4. So after selecting a value, this value will be returned to the input box.
    But i want to react on the value and don't put it automatically in the box, but process it first.
    So my question is : is there a function module or class-method that simulates the search help for a given input and returns the chosen value ?
    regards
    Hans
    [email protected]

    Hi
    As Sergei told, it needs some further coding. I do not know a way to interfere standart search help functions even there is something like "Search help exit", I think it is just an exit for the search help designer about adjusting column widths etc... interfering standart action.
    So it seems you should code your own POV in this case. There has been two long threads in this forum. You can search it. It is about coding POV and deals with "F4IF_FIELD_VALUE_REQUEST"/"F4IF_INTTAB_VALUE_REQUEST". Here are the URLs:
    1. Re: POV : TableControl Multi-line User selection
    2. Re: POV : SAP User Input F4 Value Help
    Hope this helps...
    *--Serdar

  • Field values are repeating for search help.

    Hello Friends.
    I have a problem. When I create a search help for a field the identical field values are repeating. What should I do to trigger only the first time.
    for example:
    <u>Field-name</u>-                        <u>field-value</u>
    Supplier Nr ---                                 Commodity
    5001 -
                                               casting
    5002 -
                                               casting
    5003 -
                                               casting
    So when I create the search help for commodity it is showing 'casting' 3 times in a pop-up window. It should not repeat. Can you please give me the solution what should I do?

    Hi
    Search helps
    Standard search help
    Types of search helps
    Concept of search help
    Search Help Interface
    Dialog behavior of search helps
    Selection method for search helps
    Performance of search helps
    Attaching search helps
    Hierarchy of search helps
    Standard Search Help
    The input help (F4 help) is a standard function of the R/3 System. It permits the user to display a list of possible values for a screen field. A value can be directly copied to an input field by list selection.
    The fields having an input help are shown in the R/3 System by the input help key to the right of the field. This key appears as soon as the cursor is positioned on the corresponding screen field. The help can be started either by clicking on this screen element or with function key F4.
    If the number of possible entries for a field is very large, you can limit the set of displayed values by entering further restrictions.
    Further meaningful information about the displayed values is included in the display of possible entries, especially if the field requires that a formal key be entered.
    TYPES OF SEARCH HELPS
    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).
    Collective search help
    Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    Search Help Interface
    Search help interface determines how the exchange of values between the screen template and the selection method is implemented.
    The search help interface defines the context data that can be used in the input help and the data that can be returned to the input mask. Analogously to the interface of a function module, the search help interface comprises interface parameters.
    When you define an interface parameter of a search help, you must also define whether it should be used to copy data to the input help (IMPORT parameter) or whether it should be used to return data from the input help (EXPORT parameter). A parameter of a search help can also have both attributes at the same time.
    The location from which the IMPORT parameters of a search help get their values and the screen fields in which the contents of the EXPORT parameters of the search help are returned are defined in the search help attachment. The search help itself should always be attached to an EXPORT parameter of the search help. If this parameter is also the IMPORT parameter, its contents are only used in the input help if it is a search string (that is, if it contains a ´*´ or a ´+´).
    You must define the parameter types of a search help. You can do this by assigning them data elements.
    Value Transport for Input Helps
    NOTE:In the above example, screen fields A, B and C are linked with parameters of the search help. As a result, values can only be transported between the screen and the search help for these three fields. Existing contents of screen fields A and B can be used for selecting the hit list since they are linked with an import parameter of the search help. The values of parameters A and C can be returned to the screen from the hit list since these parameters are declared as export parameters of the search help.
    Description of dialog behavior
    A hit list might contain plentiful number of entries. A
    dialog provides the user with an option to restrict the
    entries displayed on the hit list.
    In an input help process, the set of possible entries is presented in the dialog box as a list for displaying the hit list. The user selects the required value from this list by double clicking. Since the possible entries are often formal keys, you must be able to display further explanatory information about the possible entries in the list.
    If the set of possible entries is very large, the user should be able to define additional conditions for the attributes of the selected entry. Restricting the set of data in this way both increases the clarity of the list and reduces the system load. Additional conditions can be entered in a further dialog window, the dialog box for restricting values.
    Specifying the dialog type of a search help defines whether the dialog box for restricting values should be offered and if so under what conditions.
    The attributes in the dialog box for displaying the hit list or in the dialog box for restricting values must be defined as internal parameters of the search help. An internal parameter can also be used in only one of the two dialog boxes. It can also belong to the search help interface.
    The internal parameter types are also defined with data elements. These data elements define how the parameters are displayed in the two dialog boxes.
    Reward if usefull

  • How to do program for search help

    Hi,
    Please tell me how to do the program for search help in Dialog programming.
    Thanks,
    Sriram.

    Step 1:
    Create a function module (ZZ_TEST_FUNCTION).
    Step 2:
    --> Create a search help(ZSEARCH)
    --> Enter the above function Module(ZZ_TEST_FUNCTION) in search help exit field.
    STEP 3:
    Attach the search help with any field of table.
    Function module Sample Code:
    FUNCTION ZZ_TEST_FUNCTION.               
    ""Local interface:                    
    *"       IMPORTING                 
    *"             VALUE(MCONAME) DEFAULT SPACE *"             VALUE(SELSTR) DEFAULT SPACE
    *"       TABLES                      
    *"              SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"              RECORD_TAB STRUCTURE  SEAHLPRES
    *"       CHANGING                   
    *"             VALUE(SHLP) TYPE  SHLP_DESCR_T *"             VALUE(CALLCONTROL) LIKE  DDSHF4CTRL 
    *"                             STRUCTURE  DDSHF4CTRL
    CALL SCREEN 100.
    Return from application back to SAP                   
      CASE save_ok_0100.                                    
        WHEN 'RSTR'.                                        
          callcontrol-step = 'SELONE2'.                     
        WHEN 'CANCEL' OR 'BACK' OR 'EXIT'.                  
          callcontrol-step = 'EXIT'.                        
        WHEN 'SEL'.                                         
            READ TABLE itab.                 
            record_tab = itab-filed1.           
            APPEND record_tab.                              
            callcontrol-step     = 'RETURN'.                
           EXIT.                                           
          ENDIF.                                            
      ENDCASE.                                              
    ENDFUNCTION.

  • Problem creating a hybrid collective search help for werks,bukrs and ekorg

    Hi All,
    I have to create a collective search help for Org_key field of a custom table.
    This org_key field is a char4 field and can hold the value for plant , bukrs and ekorg.
    I need to create a collective search help which includes
    C_T001                          Collective Search Help for BUKRS (Company Code)
    H_T001W_NEW     Possible Entries for Plants
    H_T024E                         Input Help for Purchasing Organization
    I have added org_key field in the field description , how can i do the parameter assigment ( or declare the field description ) so that if the user press F4 for org_key field ,he is able to see all the search paths corresponding to C_T001,H_T001W_NEW, and H_T024E simultaneously, and corresponding to value chosen ( for plant , werks or ekorg ) the value is passed back to the org_key field.
    Thanks in Advance
    Regards
    Anurag

    Problem resolved. You can hard code values, like the domain name within the search help.
    Although I have found that if you don't use a search help and you have domain values then your drop-down list values will be automatically populated from the domain values for the field. At least in my dynpro it does.
    Jas

  • Create or modify a Search Help for a field in ByDesign

    Good morning,
    I need some help for know how we can create or modify search help in ByDesign Cloud Applications Studio.
    All idea are welcome.
    Thanks in Advance,
    Javier Gómez

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • Creating dialog screen search help

    Hi,
    In my screen, i have 2 fields, object_id and load_id. I need to get the load_id base on the object_id. For example, if object_id: 001 is selected,  A01, A02, A03 of load_id will be shown for selection in the search help.
    Will appreciate if codes are provided. Thanks.

    Hi Cheryl,
    As PAI is not being triggered in your case, You can do this by dynamically reading the contents By calling the function module  'Dynp_read_value' and passing the
    'object_id' field.
      So now as you have the the value of objec_id, read internal table which contians the possible values of load_id and delete the entries which does not satisy ur criteria.
    Provide a popup for ur F4 help for load_id.
    Code snippet is give below.
    Write this code in the F4 help for i_load field...
    t_dynp-fielname = 'W_OBJID'.
    T_dynp will have the dynamic field name.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname                     = sy-repid
          dynumb                     = sy-dynnr
        tables
          dynpfields                 = t_dynp
        EXCEPTIONS
          INVALID_ABAPWORKAREA       = 1
          INVALID_DYNPROFIELD        = 2
          INVALID_DYNPRONAME         = 3
          INVALID_DYNPRONUMMER       = 4
          INVALID_REQUEST            = 5
          NO_FIELDDESCRIPTION        = 6
          UNDEFIND_ERROR             = 7
          OTHERS                     = 8
    Then read the table content
    READ TABLE t_dynp INTO fs_dynp WITH KEY fieldname = 'W_OBJID'..
      IF sy-subrc EQ 0.
        w_objid = fs_dynp-fieldvalue.
    suppose the table for popup has 10 entries and of which only two correspond to you need.
    Delete from t_table where objid NE w_objid.
    Now pass this table to function module REUSE_ALV_POPUP_TO_SELECT
    Fill the field catalog  accordingly
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          I_TITLE               = pv_title
          I_SELECTION           = c_x
          I_ZEBRA               = c_x
          I_SCREEN_START_COLUMN = 30
          I_SCREEN_START_LINE   = 5
          I_SCREEN_END_COLUMN   = 110
          I_SCREEN_END_LINE     = 25
          I_SCROLL_TO_SEL_LINE  = ''
          I_TABNAME             = pv_tabname
          IT_FIELDCAT           = t_fcat_popup
        IMPORTING
          ES_SELFIELD           = FS_SEL_FIELD
        TABLES
          T_OUTTAB              = pt_table
        EXCEPTIONS
          PROGRAM_ERROR         = 1
          OTHERS                = 2.
      IF SY-SUBRC NE 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        pv_selrow = fs_sel_field-tabindex.
      ENDIF.                               " IF sy-subrc NE 0.
    NOTE.. all the obove has to be written in On Value request for load_dl
    Hope this solves ur problem
    Thanks and regards
    Satya

  • Transactional Iview passing parameters for search help window

    Hi Experts,
    I have to create a transaction ivew through which i need to pass parameters to search help window (having two entries ). In has to select the particular entry and then go to next step.
    Can somebody give me guide me how to do it as i couldn't fine correct answer in the existing forum answers.
    Regards,
    Suresh

    Hi Suresh,
    Have you read the [documentation|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]?
    >ApplicationParameter
    >
    >You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    >This field is optional.
    >
    >The parameter values are specified with the following syntax:
    >
    ><Screen_field1>=<Parameter1>
    >&<Screen_field2>=<Parameter2>
    >&<...>=<...>,...
    >
    >Process First Screen
    >
    >The possible values are trueand false. By default this field is defined as false. It is a required field.
    >
    >If the value is set to true, this corresponds to the input key function in the transaction. It takes effect if there are no required >fields in the transaction or if all the required values are maintained in the ApplicationParameter property.
    Regards,
    Pierre

  • Help View for Search Help

    Dear Experts,
    I have successfully created a Help View (ZKEYHELP) using SE11 and activated it.  Then when I try create a Search Help using SE11 again and specify the Selection Method as (ZKEYHELP) it prompts me an error when activating saying: "View ZKEYHELP is of type C and therefore not suitable as selection method".
    The Delivery Class of the Help View ZKEYHELP I created is C - Customizing table, maintenance only by cust. 
    Is there any way to solve this problem.  Thanks.  
    Best Regards.

    *Creating Elementary Search Helps *
    Procedure
    In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
    A dialog box appears in which you must select the type of search help.
    Select Elementary search help and choose .
    The maintenance screen for elementary search helps appears.
    Enter an explanatory text in the field Short text.
    You can for example find the search help at a later time using this short text.
    In the Definition tab page enter the selection method of the search help.
    You can enter the name of a table or a view (database view, projection view or help view) here. If you enter a table that has a  text table, the name of the text table is automatically entered in the corresponding field.
    Using the input help (F4 help), select fields of the selection method as parameter in the Search help parameter area. Select the fields that should be used in the dialog box for value selection or in the hit list.
    If the selection method is a table that has a text table, both the fields of the table and the fields of the text table are offered in the input help.
    The data element of the parameter is automatically copied from the selection method. The data element defines the output attributes and the F1 help of the parameter in the hit list and in the dialog box for value selection.
    You can assign the parameter another data element. To do so, select the Mod flag. The Data element field is now ready for input. Then select a data element with the input help (F4 help). Only data elements whose data type, length and number of decimal places is the same as those of the previous data element can be assigned.
    This removes the link between the data element of the search help parameter and the data element of the selection method field having the same name. If you cancel the Mod flag, the data element of the assigned table field is used again.
    Define the attributes of the search help parameters.
    Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
    You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.
    Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.
    Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.
    You can assign the parameter a  default value in the Default value field.
    Select the  dialog type of the search help.
    The dialog type defines how the hit list is displayed in the input help.
    Save your entries.
    A dialog box appears in which you have to assign the search help a development class.
    Choose .
    Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
    Result
    The search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.
    Other Options
    Assign a hot key: If the search help is to be accessed with a  hot key, you must enter a one-place ID in the Hot key field. All the elementary search helps contained in a collective search help should have different short cuts.
    Assign a search help exit: In exceptions, you might have to change the standard flow defined by the search help with a search help exit. In this case enter the name of the search help exit in the corresponding field.
    Test the search help: You can test the flow of an input help defined by the elementary search help with  . A dialog box appears in which you can simulate the behavior of the search help under different conditions. You can obtain information about the options provided in this window with

  • How to create SELECT-OPTION in search help (search) field

    Hi All,
    We have created a search help using Help view as selection method.
    But, we want to have a SELECT-OPTION for one of the search parameters. How do we implement the same ?
    Regards,
    Ashish

    hi
    try  this
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_LOW'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_LOW'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * TABLES
    *   RETURN_TAB                =
    * 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.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_HIGH'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_HIGH'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * TABLES
    *   RETURN_TAB                =
    * 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.
    hope this helps
    Regards
    Ritesh J

  • Creating a tab in Search Help.

    Hi everyone,
    I have created a search help field for 'Vendor by category'.
    How to create this tab/option screen for all search help when they are searching for Vendor number.
    For example when i press the F4. An extra tab has to come for Vendors by Category with some input fields, like vendors by country/company code, vendors by personnel number.
    Help me
    Thanks,
    Mohanraj

    Hi,
    You can get this tab by creating a elementary search help and attach it to the collective search helkp which is already used by your application
    see the below links for creating search help exit
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/implementing%2bsearch%2bhelp%2bexits
    Re: Search Help Exit
    Regards,
    Siva chalasani.
    <b>Reward points if usefull</b>

  • BAPI for Search Help

    Hi Experts!!
    How to create Search help using BAPI ?
    My scenario is: In webdynpro same bapi can be called to find possible f4 value.
    How to do that ? Any Idea pls share ...
    Thanks In Advance.

    This is how u can create "Search Help" for the fields of the ztables that u have created.
    SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
    Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
    SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
    Click on the "Search Help tab" just above the "Data Type " column.
    Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
    U can repeat the process for whatever fields u want to assign a Search Help.
    se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
    Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
    Ok....>Save.........> Activate
    http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    Regards.

  • Some 'Help' for Search help

    Hi all! this time i need a simple thing. I have two parameters p_vblnr and p_chect.The firstone has a Search help that i did with se11 and the second one has a standard search help for chects. I want to create a search help for p_chect that only visualice the values related to p_vblnr parameter and <b>replace the standard search help for that field</b>.
    Ej: if p_vblnr is '10021562' i want the search help to visualice the chects related to that vblnr.
    is this possible??????
    i promise rewards points for help!!!!
    thank in advance!

    Andrew,
    Try following sample code.
      CLEAR: t_dynp_flds,
             t_dynp_flds[].
      t_dynp_flds-fieldname = 'LFA1-STCD1'. " ur first parameter
      APPEND t_dynp_flds.
      CLEAR  t_dynp_flds.
    *---  Read screen field values before PAI field transport
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname               = 'ZFFI'
                dynumb               = '1000'
           TABLES
                dynpfields           = t_dynp_flds
           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.
      IF sy-subrc EQ 0.
        READ TABLE t_dynp_flds WITH KEY fieldname = 'LFA1-STCD1'.
        IF sy-subrc EQ 0.
          MOVE t_dynp_flds-fieldvalue TO lfa1-stcd1.
        ENDIF.
      ENDIF.
      IF NOT lfa1-stcd1 IS INITIAL.
        g_stcd = lfa1-stcd1.
    Clear fields
        CLEAR : t_taxid1,
                t_taxid1[].
        t_taxid1-gap2 = space.
    Select vendor and taxids from Vendor Master table
        SELECT lifnr
               name1
          FROM lfa1
          INTO (t_taxid1-lifnr, t_taxid1-name1)
          WHERE stcd1 <> g_stcd AND
                stcd2 <> g_stcd AND
                stcd3 <> g_stcd.
          APPEND t_taxid1.
          CLEAR  t_taxid1.
        ENDSELECT.
        IF sy-subrc NE 0.
      No table entries found
          MESSAGE s001(zffi).
          EXIT.
        ENDIF.
        SORT t_taxid1 BY lifnr.
        DELETE ADJACENT DUPLICATES FROM t_taxid1 COMPARING lifnr.
        CLEAR : g_pop_idx.
    Function module to get Tax code values
        CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
             EXPORTING
                  endpos_col   = 85
                  endpos_row   = 20
                  startpos_col = 20
                  startpos_row = 10
                  titletext    = 'List of Assign Vendors'(t11)
             IMPORTING
                  choise       = g_pop_idx
             TABLES
                  valuetab     = t_taxid1
             EXCEPTIONS
                  break_off    = 1
                  OTHERS       = 2.
        IF sy-subrc EQ 0.
          READ TABLE t_taxid1 INDEX g_pop_idx.
          IF sy-subrc EQ 0.
            CLEAR : t_dynp_flds,
                    t_dynp_flds[].
        Append screen values
            t_dynp_flds-fieldname = 'G_LIFNR'.
            t_dynp_flds-fieldvalue = t_taxid1-lifnr.
            APPEND t_dynp_flds.
            CLEAR  t_dynp_flds.
        Change screen field contents w/o PBO
            CALL FUNCTION 'DYNP_VALUES_UPDATE'
                 EXPORTING
                      dyname               = 'ZFFI'
                      dynumb               = '1000'
                 TABLES
                      dynpfields           = t_dynp_flds
                 EXCEPTIONS
                      invalid_abapworkarea = 1
                      invalid_dynprofield  = 2
                      invalid_dynproname   = 3
                      invalid_dynpronummer = 4
                      invalid_request      = 5
                      no_fielddescription  = 6
                      undefind_error       = 7
                      OTHERS               = 8.
            IF sy-subrc NE 0.
              CLEAR : t_dynp_flds,
                      t_dynp_flds[],
                      lfa1-lifnr,
                      lfa1-stcd1,
                      lfa1-name1.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    -Anu

  • With input disabled field search help is not working.

    Hi Web dynpro abap Gurus
    Please help me on below requirement.
    If i make a input field disable then the attach search help is not working. Is there is any way by which
    I can make input field disabled and search help will also work for this field.
    I really need help on this, Please help me.
    Many thanks in advance.
    Sandeep Sharma
    09971995045

    Hi
    I dont think that a field can be disabled and allows to choose data using f4 simultaneously. you can enable the field and allow the user to select whatever he/she wants.
    Then in any action like on press of save or submit button which the user will trigger after entering the values, get the value entered by the user in that perticular field and fire a query on the table/view, which you have used as selection method of your search help, it help is coming from data element then look for check table in domain. if sy-subrc comes 0 than go ahead else give error that value selected is modified.
    Thanks
    Vishal

Maybe you are looking for

  • Office 2013 (Word, Outlook, Excel, Power point) are not responding after live update

    I had problems all last week with my Office applications not responding. I tried to uninstall and reinstall the software which did not solve the problem. I then did a samsung 5 recovery to factory state and installed office all over again which tempo

  • ISE 1.2.5 - Exporting Custom Reports

    Hi guys, Having some troubles exporting reports from ISE when they have a custom time period. Trying to export the past 5 months, but even a custom period of the last 4 days for example will not export. I can view the report in the browser, but when

  • Best practice for exporting a dps folio so a third party can work on it?

    Hi All, Keen for some thoughts on the best practice for exporting a dps folio, indd files, links and all, so a third party can carry on the work. Is their a better alternative to packaging each individual indd file and sharing the folio through adobe

  • Is it possible to use dependent parameters in discoverer

    Dear All, Is it possible to use dependent parameters in discoverer... Like in RDF's(concurrent program) Reddy.

  • Memory issues with K8N Sli

    I run this mostly as a high end gaming rig and am not really into OCing.  I currently have: Corsair CMX512-2700LLPT 512MB DDR333 XMS2700 64Mx64 184 DIMM CAS2 32Mx8 DRAMs Low Latency SPD Memory w/Platinum Heat Spreader Retail Is this fine? But it seem