Dropdown lists or F4 (input help) on custom field

I created a custom field and would like to either add a dropdown or an F4 input help.  I know how to do the input help  or the dropdown, but I would like the user to type in their own data on the field if they don't want to select from the list provided.
Does anyone know how to do this.

Check out this code.... This module does F4 help for a screen field called P_TRFAR.   It gets its values from the data base,  you could easily build this internal table in your program without going to the database.
MODULE HELP_ON_TRFAR.
data: begin of help_trfar occurs 0,
       trfar type t510a-trfar,
       tartx type t510a-tartx,
      end of help_trfar.
  select * into corresponding fields of table help_trfar
              from t510a
                    where molga = '10'.
  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'TRFAR'
            dynprofield = 'P_TRFAR'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = help_trfar.
ENDMODULE.
In you flow logic, you need the following line to trigger the help when the user presses F4.
PROCESS ON VALUE-REQUEST.
  FIELD P_TRFAR MODULE HELP_TRFAR.
That should be all you need.
Please don't forget to award points accordingly for helpful answers.  Thanks.
Regards,
Rich Heilman
Message was edited by: Rich Heilman

Similar Messages

  • Reg : F4 help for custom fields in ALV report

    hi friends..
    in my internal table i have fields including 1 custom field..
    DATA : BEGIN OF i_final OCCURS 0,
      pernr LIKE p0000-pernr,
      begda LIKE p0000-begda,
      plans LIKE ZPOSITION-plans,  (custom)
      werks LIKE pspar-werks,
      end of i_final.
    i want to display this i_final table in alv. for that i genetrate one fieldcatalog
    PERFORM fcat USING:
                      'I_FINAL' 'PERNR' 'P0000' 'PERNR' '15' 'X' '',
                      'I_FINAL' 'BEGDA' 'P0000' 'BEGDA' '10' 'X' '',
                      'I_FINAL' 'PLANS' 'ZPOSITION' 'PLANS' '8' 'X' '',
                      'I_FINAL' 'WERKS' 'PSPAR' 'WERKS' '14' 'X' ''.
    in custom table zposition, i maintain serch help for custom field "PLANS".
    then i used reuse_alv_grid_display.. for all the std fields along wit custom fields
    i got f4 all std fields but for my custom i am not getting the f4 help
    how can i get the F$ help for this custom fields Zposition-plans..
    plz give some idea

    Hi
    In that Ztable against the field
    PLANS give the check table name as  <b>T528B</b>
    then it will automatically give the search help
    or you can create your own search help(elementary) and add to that field
    Reward if useful
    regards
    Anji

  • Search Help for Custom field in Sourcing Cockpit

    Hi SRM Experts,
    I added custom field "rush order" in the Structures as per requirement. I added code in MODIFY_SCREEN function module. Search help is working for "rush order" in Process Purchase Orders (to search PO) and Check Status (Searching Shopping Cart). But it is not working in sourcing cockpit. Please guide or suggest me is there any additional settings or programming is required to have search help for custom fields in Sourcing Cockpit.
    Thanks a lot in advance.
    Thanks,
    Koyya

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

  • Data no getting populated from input help to target field

    Hi ,
    I have made a input help for a field.
    and have used the following code to populte the data into the input help.I am having the data displayed but the data doesnot get populated on selection.
    CASE cs_dropdownlb_data-fieldname.
          WHEN 'ZZSALSPOS'.
            assign cs_dropdownlb_data to <extended_data>.
           lv_display = is_screen_structure-zzdisplay.
           clear ls_fieldcat.
           ls_fieldcat-fieldname = 'ZZSALSPOS'.
           ls_fieldcat-headertitle = 'Broker Id'.
           append ls_fieldcat to et_field_catalog.
           ls_fieldcat-fieldname = 'ZZBROKER'.
           ls_fieldcat-headertitle = 'Broker House Description'.
           append ls_fieldcat to et_field_catalog.
            CALL FUNCTION 'Z_SEARCH_HELP_SALES_ID'
             EXPORTING
               IV_DISPLAYALL        = lv_display
               IV_DIS_CHANNEL        = '11'
               IV_DIVISION           = '00'
             TABLES
               T_COST_CAT_F4        = lt_posid
            fldcat_add 'ZZSALSPOS'.
            fldcat_add 'ZZBROKER'.
            fldcat_add 'ZZREGION'.
            fldcat_add 'ZZDIVISION'.
            fldcat_add 'ZZSUBTEAM'.
            fldcat_add 'ZZTEAM'.
            SORT lt_posid BY zzsalspos zzbroker zzregion zzdivision zzsubteam zzteam.
            CREATE DATA <extended_data>-data TYPE zcrmt_mkt_broker_tab.
            ASSIGN <extended_data>-data->* TO <table>.
            <table> = lt_posid.
    I would sincerely appreciate and rewad if any solution could be suggested ....Thanking in advance...
    Narsingh

    The problem has been resolved

  • How to fill the dropdown list in a input field

    Hi all,
    I have three input fields, Month, Material type and material.
    My requirement is to search material based on material type.  So if i select one material type from the dropdown list, corresponding material should be populate in the material dropdown.
    Pls suggest to this requirement i have
    Regards
    Jeswin

    Hi,
    Refer Below Blog Step By Step For fill data in dropdownlist Getting Data From SAP BI Systems.
    Visual Composer :Get drop down list values  from BI InfoObject master data
    The Below Link is the For getting data from SAP ECC Systems For Both Value Help And DropDown list.
    Visual Composer: Value Help Data Service
    Go Through Above Links
    Points Are Welcome
    tahnks
    SubbaRao Chinta

  • How to implement two dependent dropdown lists in an input  table row?

    Hi all,
    I am new in Jdev 11g. I try to develop an input table with two dependent dropdown list. I can create independent dropdown list in such table. When I try to implement dependent one following some examples do it in a form using bind variable in the view object I get an empty listbox. How can I do this? Is it possible. I cannot find any documents about this.
    Thanks in advance

    Hi,
    it hasn't changed between 10.1.3 and 11. The basic outline of how you do it is
    - use a managed bean to query the data
    - populate the list with f:selectItems that point to the managed bean ArrayList<SelectItem> for the master and the detail
    - obtain the master ID in the managed bean by parsing the #{row} variable when the table renders
    - then bulild the detail list
    - have the detail list referencing the ArrayList<SelectItem> you expose for the details
    Note that without proper caching, the action is quite expensive
    Frank

  • DropDown List issue in saving user entered custom value to dropdown : WDJ

    Hi Experts,
    I have a dropdown list that is say prepopulated with 2 values, by clicking "allow custom entry" I can enable the user to type in a value if he doesnt want to choose from existing options.
    I am trying to add the user entered value to the dropdown list by using the "addItem()" script appropriately.
    Issue is that though the new value is getting saved, once the users saves and closes the form, opens again and adds a new user entered value then this new value overwrites the previously entered custom value.
    I see that the user entered value doesnt get bound to the dropdown.
    I have bound this dropdown field to an appropriate web dynpro java context attribute.
    Please provide any solutions if known!
    I am using NWDS 7.0.14, ALD 7.1 and Reader 8.1
    Thanks,
    Lisha

    Closing the post.

  • "F4" search-help for custom field in PCUI

    Hello all,
    Does anyone know how I can create my own simple F4-help for a custom field I have added to a custom Tab Page in the PCUI? It should show a selection from a custom table.
    I couldn't find an useable example in the PCUI-cookbook.
    Any ideas anyone?
    Kind regards,
    Martijn de Jong.

    Hi Manuel,
    I saw that paragraph but didn't know how to implement it. Maybe you or someone else can explain/translate in steps what I have to do, according to the text underneath, i want to use a combobox:
    "If you want the application to specify the values for selection (within popup or dropdown list box or
    combobox (COBX respectively TIME)) at runtime instead of using predefined domain values, data
    must be provided by the application via the method FILL_DROPDOWN_LISTBOX. That scenario
    works if the field type is "Input Field" and the F4 application is set to "VALUE_TABLE". With these
    customizing settings, the method FILL_DROPDOWN_LISTBOX of the interaction layer is called at
    runtime and the actual field values will be passed to the application via importing parameter
    IT_SCREEN_STRUCTURE. Thus the application can provide context-sensitive help values within a
    popup or a dropdown list box respectively combobox (COBX respectively TIME). Within the popup
    more than one column of values can be displayed."
    How/where do I (re)define method FILL_DROPDOWN_LISTBOX? Do i have to maintain an own class? and how do i ensure that more columns are shown?
    Kind regards,
    Martijn de Jong.

  • Input help for screen fields

    hi all,
    i have two problems.
    1) When i change  input attiribute of input/output field  is required , any user command (like exit or back command etc.) doesn't work.
    2) i have two different field in my screen lifnr and belnr. but i can't use f4 search help for that fields. i have defined search help in my ztable (SE11) and element list-references (SE51) and fm F4IF_FIELD_VALUE_REQUEST and fm F4IF_INT_TABLE_VALUE_REQUEST. i have put process on valeu-request in flow logic. But when program run , skip this event.
    all of them it doesn't work.
    what should i do?
    thaks for your helps.
    Regards.

    Hi,
    try the following code...and change the <.....>  according to your program..Do the same thing for the second screen field also.
    If you face same problem then please let me know.
    module display_f4help input.
      call function 'F4IF_FIELD_VALUE_REQUEST'
        exporting
          tabname           = '<tablename>'
          fieldname         = '<fieldname>'
          dynpprog          = sy-cprog
          dynpnr            = sy-dynnr
          dynprofield       = '<screen-field name>'
        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 'S' number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.                                     " IF sy-subrc <> 0.
    endmodule.                             " DISPLAY_F4HELP  INPUT

  • No search help for Custom field ZZKUKLA in vk11

    Hi,
    I have added the field KUKLA - Customer classification as a pricing field in KOMP. Created an access sequence as follows: Sales Org.-> Customer Classification - material group.
    In the creation of the record in VK11 I'm not getting the search help for the ZZKUKLA field. The thing is that if I'm in change or display, the search help for the field appears and lists the possible values.
    Anyone have a clue?
    Thanks!
    /Patrik

    Dear Pratik,
    Request you to first add Customer classification field (ZZKUKLA) in KOMK structure insted of structure KOMP. Becasue it is header structure filed. After add this new filed in KOMK structure, Add this new filed in your field catelog and than create table and new access sequence. Also request you to select KOMK structure in your access sequence against this new field Customer classification ZZKUKLA.
    Regards,
    Haresh Panara

  • Adding Input Help to a Field in WebClient

    Thanks Tanja for the input but I need to add input help to the u201CValueu201D field in conditions for alert rules to facilitate the input of Sold-To Party values. For example, the user can click the input help icon and that select the desired Sold-To Party from the list.
    I inadvertently deleted my original posting so I am reposting again.
    Thanks,
    bam

    Hi Corwin,
    You can have Process on Value-Request on your screen where the field exist. You can use SE80 to edit the screen of the function group that table maintenance generator created.
    1. Edit the screen using SE80.
    2. Place a 'process on value-request' at the bottom of the flow logic.
    3. Below that, put this line
    field fieldname module get_help.
    4. Double click on GET_HELP and create an input module pool program.
    5. In this module pool, pass the values of the other fields in your screen to the function module that can provide you the list of values
    6. Use function module F4IF_INT_TABLE_VALUE_REQUEST within this module pool to popup the values.
    However, please keep in mind that the values from other fields on the screen are not populated in its field unless you hit enter.

  • Prepopulate dropdown list based on selections made in other fields

    I wonder if anyone can help?
    A form with a radio button group containing two radio buttons "yes" and "no".
    Below the radio buttons is a dropdown list that has three items in the list "option A, option B, & option C.
    Below that, is another dropdown list, with three items, "10000", "15000" & "20000"
    How can I do the following?
    When radio button "yes" is selected, and dropdown list "option A is selected, it prepopulates "10000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option B is  selected, it prepopulates "15000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option C is  selected, it prepopulates "20000" in the bottom dropdown list
    Thanks in advance!

    Hi $Nith$
    Just sent you a PM

  • F4 help for custom field

    Hi Experts,
    we have created custom field in SAles order and try to maintain a F4 help for that.
    we have created Search help with search help exit,when we click on F4 help the values are getting populated currectly in the pop-up in UI.  issue is when we select value from the multiple values the value is not getting replicated in the custom field.
    can you please let me know what the issue will be.
    Thanks in advance.
    Regards,
    Anil

    Hi Sheshagiri,
    Thanks for the reply.
    but the issue i think is not with the search help.
    search help we have created and the values are retrived correctly.
    when we select a value from the populated values the values is not been replicated in the specific field.
    please help me on this.
    Regards,
    Anil

  • Search help for custom fields added through BADI_FDCB_SUBBAS04

    Hi guys
    I have two cutom fields on basic data screen that i have added using an implementation of the BADI
    BADI_FDCB_SUBBAS04
    I want to use the value entered in one of the fields as a import parameter in another fiields search help.  On value request the structure INVFO contains the other data entered on screen in the basic data screen however my custom fields appear empty. 
    However if i press enter and request values again the search help will pop up correctly.  Is there a way i can avoid having to press enter before i can get my values??
    regards
    Isaac Prince

    Hi guys
    I have not found any notes/texts regarding my issue however i think with some user training/re-orientation the small issue will go away.
    regards
    Isaac Prince

  • How to create OVS help for custom field in OIF?

    Hi All,
    I have a requirement where i need to add custom field and display F4 help. I have added the custom field but how to add OVS search help to field as i need to pull data from db tables based on certain creteria.
    Please explain with steps.
    Thanks,
    Vimal

    Hi James,
    Thanks for reply.
    I checked few things you mentioned and here are the findings:
    1) Following is the code i have written it GET_DEFINITION
      ls_descr_attr-name = 'ZZ_APPOINT_AUTH'.
      ls_descr_attr-label_text = 'Appointing Authority'.
      ls_descr_attr-ovs_name = 'ZCL_INC_BINF_CLAS_UI_FRM'.
      APPEND ls_descr_attr TO et_field_description.
    is this enugh to identify which field  we want to make an OVS help? because suppose if don't implement all other pharses and only provide above code in Get_Defination then will it show me F4 icon atleast on field?
    2) DDIC_SHLP_NAME field is blank. And there are no duplicate records.
    3) I tried putting break point in HANDLE_PHASE0() and all other phases but debugger does not run while starting the application.So do we need to call these methods at some point or they are called automatically ?
    Thanks for your help.And let me know of any other details required.
    Thanks,
    Vimal

Maybe you are looking for

  • My cam link wont open

    I frequent certain web sites that allow me the option to broadcast my cam. Now when I hit broadcast the link flashes for a second , then disappears . This happens on multiple sites that have always worked fine. until recently

  • Export Calendar to Excel

    Does anyone know if I can do CSV (Report export) from calendar to excel? Thanks. ~Zuraida

  • Flow chart for FPGA application

    This is a general question but important: how should I setup the strategy to develop a LabView FPGA/RT/Windows application? In text-based programming languages flowcharts become useful to sort out where to start and where to end, but when I am develo

  • W530 Windows 8 Intel Rapid Storage Technology

    Hello, I am a brand new W530 owner, and new to Lenovo products. Has anyone here been able to get Rapid Start technology to work on a fresh install of Windows 8 on the W530? I have been trying to solve crashes when my laptop goes to sleep, and believe

  • Rolling totals query ~ please help

    I have been stuck on a query for the last week. It would be amazing if someone could help me with this. nothing I have done has worked so far.  I did post something a few days ago and was helped a bit but it just didnt work out the way I needed. This