Search help entry

Hi All,
I am working on module pool programming, here user need to key in two fields, type and description. I have created a search help for this two field and assigned the search help to the screen fields. But user wants it to be only be picked from the search help not by the user entry, can any one tell me how to avoid user from manual entry?
Thanks,
Fed

Algorithm for this would be :
1. Make the field in question "output only".
2. At the POV event, call the FM F4IF_FIELD_VALUE_REQUEST. It will call the search help explicitly.
3. Once the user selects the values use DYNP_VALUES_UPDATE to update the screen values.
You can refer to this thread for a similar requirement : Using F4 help for a selection-screen field which is not input enabled
BR,
Suhas

Similar Messages

  • Search Help Entries

    Hi, 
      When i try to manipulate the entries in a search help created in a customized field on MM01 screen, the search box is not showing the values.
      well, i have created a search help exit by F4IF_SHLP_EXIT_EXAMPLE function, but when a try to manipulate the record_tab on step 'DISP'  and input or delete new entries after runs the functions the search help is claering itself ..!!!
    i took a look in this forum, but i didn´t find a cleary answer.  Has someone faced this issue ?
    i will apreciated a help..!
    thanks a lot.

    Hi there,
    Thanks for some input. But as already mentioned above, I have tried using all possible types of dialog box (hit list), but the search help on the portal remains the same. I was wondering if there are any settings in the system level or portal content management which would restrict the entries to 150.
    Any clue????
    -M

  • Search help entries restriction

    Hi Friends,
    I have created an elementary search help. In which I want to display all the possible values with out resticting the entries. I tries with all the dialogue types(A, C, D). But it allways restricting with 500 entries.
    Could somebody help please.
    regards,
    Giri

    Hi J@Y,
    Thanks for your reply. But, when the control comes to search help exit, already the selected entries were restricting to 500. So, even I am changing the value to zero or space here, it is not solving the issue. So, could you please tell me how to skip the restriction before control comes to the search help exit.
    Many thanks
    Regards

  • Issue With Search Help in Module Pool

    Dear All,
    I have an Issue with Search help. I have created a Module Pool Program. In this module pool, User requires the search helps for the fields.
    Imagine there are 3 fields on a screen. Field1, field2 and field3.
    Field2 entries depends on field1 and field3 entries depends on field1 and field2.
    I have created a collective search help. and created the corresponding Ztables to maintain the search help entries.
    Now I assigned the same collective search help to both the fields . i.e. field2 and field3. But when i execute the module pool program, and press F4 on these fields , the data shown is write. BUT for the 3rd field, when I select F4, The second field values are transfered to the screen, instead of third field value.
    Any Idea will be appreciated .
    Help me , Its very Urgent.
    Regards,

    Did you check the screen field names & search help name? is it identical & unique?
    Raja T

  • T-code PA30(SAP HR) search help exit problem.

    Hi Experts ,
    I have a requirement to restrict/show particluar Wage Types in PA30 t-code on basis a  company code of a given the employee (PERNR).
    The field PERNR/Company code are not there in the parameters or selection method of the elementary search help H_T5W3A(PA0151-LGART field) .
    I have managed to add the field pernr to the parameters of this elementary serach help H_T5W3A and also given it as a importing parameter in the custom search help exit FM.
    When i debug the PERNR/Company code don't get populated in the FM parameters.
    I need this PERNR/Comp code to be poulated in order for the search help entries to be restricted as this is the requirement.
    Please tell me what step i am missing here.
    Any other workarounds for this requirement.

    Hi,
    Adding an importing parameter just provides the user to restrict the search by entering the field value. For this you need not write a search help exit. You only need to join the tables with the fields properly in the search help. However if the Wage types need to be populated as per the company code and if you have included the company code as an importing parametr, then everytime the user clicks on the F4 help for Wage type, he "has" to enter the company code in the pop up that appears for selection criteria, otherwise how would the search help know the value that you have entered for company code.
    Without entering the company code in the pop up that would appear to restrict the search, the search help won't work as there won't be any other way to make it aware of the value entered.

  • Search help import parameter

    Hi,
    I have 2 columns in my ALV table. COL_A and COL_B.
    My requirement is to populate the search help entries of COL_B based on COL_A. but if COL_A is left blank then search help of COL_B should display all values based on user access.
    Can I access value of import parameter (COL_A) of dictionary search help in search help exit so that i would know whether COL_A is empty or not.
    Please let me know how can I access value of import parameter of dictionary search help in search help exit .
    Thanks,
    Feroz

    Hi Feroz,
    It is easy..
    Just mention both column A and column B as importing paramenter.
    and use this code skeleton..
    use it in the "select" call control step
    CALL FUNCTION 'F4UT_RESULTS_MAP'
        EXPORTING
          source_structure   =  'XXXXXXXXX'
          apply_restrictions = ' '
        TABLES
          shlp_tab           = shlp_tab
          record_tab         = record_tab
          source_tab         = 'XXXXXXXX'
        CHANGING
          shlp               = shlp
          callcontrol        = callcontrol
        EXCEPTIONS
          OTHERS             = 0.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          PARAMETER   = 'XXXXXXX'    "this can be your column A   
          fieldname   = 'XXXXXXXXX'
        TABLES
          shlp_tab    = shlp_tab
          record_tab  = record_tab[]
          source_tab  = lt_time_range
        CHANGING
          shlp        = shlp
          callcontrol = callcontrol.
    callcontrol-step = 'DISP'.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          PARAMETER   = 'XXXXXXX'    "this can be your column B 
          fieldname   = 'XXXXXXXXX'
        TABLES
          shlp_tab    = shlp_tab
          record_tab  = record_tab[]
          source_tab  = lt_time_range
        CHANGING
          shlp        = shlp
          callcontrol = callcontrol.
    callcontrol-step = 'DISP'.
    here, source_structure is the structure of the table where the data is available which is the "source_tab".
    Parameter field is the name of parameter specified in search help. and fieldname is the field corresponding to the paramer in the table "source_tab".

  • Add search help to IT0006-PSTLZ field

    Hi gurus,
    what is the procedure of creating a search help for a standard field IT0006-PSTLZ?
    Where should I do code implementation?
    Possible search help selections should display Z table entries of local postal codes.
    Selection of search help entry for PSTLZ should automatically fill P0006-ORT01 that is part of search help (Z table).
    Please help.
    cheers, Tom

    I've already created Z table and  search help, but have no ideas on how to linki it with IT0006.
    Is there any way to avoid changing standard?
    I'm new to enhancements and BAdi, so i'm not sure how to proceed on this one...
    Where should this functionality be implemented?
    Of course  the change to the infotype should only be done in our country specific screen.
    Since SAP does not provide this customer requirement by standard, we have to manually speed
    up customer data entry and avoid input errors.
    thnx, Tom

  • How to delete entries from search help for a field

    hi guys
    how r u all doing.
    i have some questions for u.
    1. How can i delete some entries(from a list of many) from search help of a field with out (writing)going to a program.
    2.in PA10 (Personnel File),when i try to display data for a pernr,i am getting an error saying that infotype 122 doesnot exist.
    3.Again in Pa20,when i try to display data for a custom infotype,it leads me to short dump saying that load program does not exist.
    any help in this regard,wud be appreciated.
    thanks

    Follow this
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support

  • Search help for custom entries in selection screen

    Hi Gurus,
    I have a requirement of adding four entries as a search help to a selection screen field P_TABLE.I tried using the function module F4IF_INT_ TABLE_VALUE_REQUEST as below.I want to add four entries Revenue,Cost,RIH and Summarised WBS Actual Data for the selection screen field P_TABLE but the problem is the function module is not getting triggered.
    See the code below.
    REPORT  Z_DEL_OHTABLE.
    DATA: V_RESPONSES(6),
          V_TEXTS LIKE ALDBOUT,
          V_PROG TYPE SY-REPID,
          V_DYNNR TYPE SY-DYNNR.
    DATA: begin of it_openhubs occurs 0,
          v_tabname type c length 30,
          end of it_openhubs.
    DATA:
           it_return type STANDARD TABLE OF DDSHRETVAL,
           wa_return like line of it_return,
          l_i_field_tab TYPE STANDARD TABLE OF dfies INITIAL SIZE 0,
          l_i_dynpfld_mapping TYPE STANDARD TABLE OF dselc INITIAL SIZE 0.
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE title.
      parameters:P_TABLE(30) type c.  " USER-COMMAND UPD,
    SELECTION-SCREEN END OF BLOCK B0.
    V_PROG = SY-REPID.
    V_DYNNR = SY-DYNNR.
      it_openhubs-v_tabname = 'Cost and Expense'.
          append it_openhubs.
      it_openhubs-v_tabname = 'Revenue'.
      append it_openhubs.
       it_openhubs-v_tabname = 'Revenue in Hand'.
       append it_openhubs.
        it_openhubs-v_tabname = 'Summarised WBS Actual Data'.
        append it_openhubs.
        CLEAR IT_OPENHUBS.
    INITIALIZATION.
      title = 'OH TABLE DELETION- DELETE CAREFULLY'.
    START-OF-SELECTION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_TABLE.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          RETFIELD               = 'v_tabname'
        PVALKEY                = ' '
         DYNPPROG               = V_PROG
         DYNPNR                 = V_DYNNR
         DYNPROFIELD            = 'P_TABLE'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         VALUE_ORG              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          VALUE_TAB              = it_openhubs
        FIELD_TAB              = l_i_field_tab
        RETURN_TAB             = it_return
        DYNPFLD_MAPPING        = l_i_dynpfld_mapping
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3
      IF SY-SUBRC <> 0.
        READ TABLE it_return INTO wa_return INDEX 1.
         IF sy-subrc EQ 0.     
    p_table = wa_return-fieldval.
         endif.
    Please help me out.
    Thanks,
    Srini.
    Edited by: Srinivasan Ganapathy on Jan 28, 2010 6:05 AM

    Hi ,
    Change your code as below:
    1. Fill the internal table it_openhubs inside the event "at selection screen on value request".
    2.  Always follow the below sequence:
        Initialisation
       At selection screen
       Start of selection.
    3. The declaration of variable v_tabname is changed from type c length 30 to type char30.
    I tried the below code , its working fine.
    DATA: V_RESPONSES(6),
          V_TEXTS LIKE ALDBOUT,
          V_PROG TYPE SY-REPID,
          V_DYNNR TYPE SY-DYNNR.
    DATA: begin of it_openhubs occurs 0,
          v_tabname type char30,  " length 30,
          end of it_openhubs.
    DATA:
           it_return type STANDARD TABLE OF DDSHRETVAL,
           wa_return like line of it_return,
          l_i_field_tab TYPE STANDARD TABLE OF dfies INITIAL SIZE 0,
          l_i_dynpfld_mapping TYPE STANDARD TABLE OF dselc INITIAL SIZE 0.
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE title.
      parameters:P_TABLE(30) type c.  " USER-COMMAND UPD,
    SELECTION-SCREEN END OF BLOCK B0.
    INITIALIZATION.
      title = 'OH TABLE DELETION- DELETE CAREFULLY'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_TABLE.
      V_PROG = SY-REPID.
    V_DYNNR = SY-DYNNR.
    clear  IT_OPENHUBS.
      it_openhubs-v_tabname = 'Cost and Expense'.
          append it_openhubs.
      it_openhubs-v_tabname = 'Revenue'.
      append it_openhubs.
       it_openhubs-v_tabname = 'Revenue in Hand'.
       append it_openhubs.
        it_openhubs-v_tabname = 'Summarised WBS Actual Data'.
        append it_openhubs.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'v_tabname'
          dynpprog        = v_prog
          dynpnr          = v_dynnr
          dynprofield     = 'P_TABLE'
          value_org       = 'S'
        TABLES
          value_tab       = it_openhubs
          return_tab      = it_return
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
        READ TABLE it_return INTO wa_return INDEX 1.
        IF sy-subrc EQ 0.
          p_table = wa_return-fieldval.
        ENDIF.
      ENDIF

  • Help view to get two table entries in search help

    Hi,
    I have created the help view for join two tables and that help view was  called in the selection method for creating search help of the custom table field. since it has show inthe selection screen , it is fetching only one table entries. and the shown entries are displaying but not passing.
    Please provide the steps to get the two table entries and the displayed entries should pass.
    Thanks in Advance,
    siva

    Hi sivanag,
    1. Try your view with SE16/SE16N to see if it really finds what you expect
    2. Use the same data elements in help view as on selection screen
    3. read documentation and F1 help on all fields you see in the search help definition - especially only field marked as EXPORT parameter will be put back on screen.
    But, sincerely, I don't know what your selection-screen looks like.
    Regards,
    Clemens

  • Note 1681589: Missing entry in search help of RPUTMSE0 report

    Hola Buena tardes,
    Estamos aplicando la Note 1681589: Missing entry in search help of RPUTMSE0 report; En la version 4.7 hace referencia a un valor que no existe.
    Table: T52B5
    TMS1 RPUTMSE004  TOA C111E0
    Puede ser que el valor correcto es: sobra un número "1"
    Table: T52B5
    TMS1 RPUTMSE004  TOA C11E0
    Saludos,
    Jorogape

    Hola,
    En la vista V_T52B4 la encuentro como:
    TOA     C111E0     Modelo 111 - Impuesto sobre la renta PF
    Saludos,
    Carlos.

  • How to add a value/entry in a exisiting search help

    Hello,
    I want to insert bank name and account number in a search help of a SAP field, how can i make an entry in the exisiting search help ?
    Thanks
    Shehryar

    That is a search help exit, u cannot use that if it is a standard search help (unless ofcourse u have the access key)
    Search help exits are coded to define own path to retrieve the values.. suppose u need to have some logical retrieval ..say data is in some other system..or simply if u want to restrict the output programatically in a search help, then we use search help exits.
    bad luck ..in your case u cannot

  • Search help dialog when there is only one entry

    Hi experts,
    I am developing a Webdynpro app and I can't find the way of skiping the search help dialog when there is only one entry on the result, just like in SE37 when you put the function name with * and it automatically puts the only ocurrence in the field with no dialog for selection. Right now my application is working correctly but it alwas show the dialog even when there is only one entry on the result.
    Thanks in advance!
    Daniel
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on May 4, 2011 2:35 PM

    Hi,,
    Use OVS to  achieve this., when u press start search select the values from table into internal table (lt_object_list)
    n = lines( lt_object_list ).  " this gives the number of records in internal table..
    if n = 1.
    set_attribute(  ) .. to the input field.
    else.
    co phase 3.
    call popup window to display objects
    endif.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Search Help User Exit (if "one" entry in hit list, skip hit list and export)

    Hi everyone,
    I hope you can help me. I spent many hours on this one but I just could not find a solution (by myself and by searching google and searching the SCN).
    Problem like thread subject.
    I have the requirement to create a search help using search help exit. Done so far. My search help works fine. There´s a Sel Opt and I get the hit list with several entries. "But" I have one problem. If there is only one entry I have to skip the hit list and just export the value straight to the caller.
    I just don´t get it to work. I used the function module F4UT_PARAMETER_RESULTS_PUT but there was no value in shlp-interface-value. Record Tab was written, but value is not exported.
    Maybe you got some hints for me?`
    Best regards
    Dominik

    Hi Raymond,
    I passed as followed:
    ***CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
    ***  EXPORTING
    ***       PARAMETER         = 'DOC_ID'
    ***       VALUE             = ls_disp_data-doc_id
    ***       fieldname         = 'DOC_ID'
    ***  TABLES
    ***       SHLP_TAB          = SHLP_TAB
    ***       RECORD_TAB        = RECORD_TAB
    ***        SOURCE_TAB       = lt_disp_data
    ***  CHANGING
    ***       SHLP              = SHLP
    ***       CALLCONTROL       = CALLCONTROL
    ***  EXCEPTIONS
    ***       PARAMETER_UNKNOWN = 1
    ***       OTHERS            = 2.
    LT_DISP_DATA is filled with one entry only. DOC_ID is the name of the field I want the value to be set.
    Update: It´s fixed. I reset the whole thing. I did set callcontrol-step = 'RETURN' after function call, "but" at the end of the coding there was a leftover from previous tries (an empty if callcontrol-step = 'RETURN' -shell). By setting this condition explicitly the "standard flow" was interrupted.
    So, in short: I had to delete the empty if-condition for callcontrol-step = RETURN and then it worked.
    Thank you all for your feedback, hints and suggestions!
    Best regards,
    Dominik

  • Search Help - Restricting entries in standard search helps

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

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

Maybe you are looking for

  • Html content download as text file

    In PL/SQL region, i get the result set like this <shesh> <deepak> <date> venkat sekar shanmuga when i try to export it as txt format, I get value like this "venkat" "sekar" "shanmuga" I get the values for <shesh>,<deepak>,<date> as double quotes only

  • Flash CS5 format to Flash CS3 Format

    Hi. I'm using Flash CS5 and i need to save the animations i am making on Flash CS3 format. How can i do it?

  • Is Apple working on a fix for ios6 that will stop it from using huge data in the iphone 4s?

    When I upgraded my iPhone 4s to ios6, it started using huge amounts of data.  My provider refuses to reimburse me.  Today they told me that Apple has acknowledged the problem and has fixed it in ois6.3.  However, ois6.3 is unavailable for the 4s, and

  • Troubles with system preferences

    in the last days I have been trying to change my wallpaper, but when I access to desktop and screensaver window it closes and a message appears, it says that the aplication system preferences has unexpectedly been closed. it only happens with that op

  • Change of settlement control (not binding) from 2 to 3

    Dear expert we want to change in plant xxxx settlement control (not binding) from 2 to 3. How can be do that. transaction has already been made in the plant.