Eventing on dictionary search help on date field

Hi Experts,
In my WDABAP application I have a Date input field. I have used dictionary search help into this field to display calender searc help.
Now on select of the date from the calender I want to trigger one event which will enable some other fields in the application.
Can you please tell me how to implement this on select event of the date.
Thanks
Sonia.

Hi,
  Since you are using an Input Field , only event possible is "On Enter" event.This event is triggered when  "enter" key is pressed by the user after selecting a value in the input field.So may be you can use this and proceed further.
Although it may not serve you the actual requirement that you have to achieve , because input field does not have any event for "On select".
[On Enter|http://help.sap.com/erp2005_ehp_04/helpdata/EN/14/0ce74114a1da6fe10000000a1550b0/frameset.htm] this link might help
Cheers,
Aditya.

Similar Messages

  • Search help for DATE field

    HI all,
    I want to attach search help for a DATE field created in screen painter.
    For PERNR, PREM is attached. Similarly what is the statndard search help name for DATE field?
    Thanks,
    Shanthi.

    Hi ,
    Declare the date field as sy-datum ,
    parameters : date type sy-datum .
    This shud bring the standard search help for date .
    Thanks ..Get back for any issues.
    Anil

  • F4 ( Search Help ) for date field  on the selection screen

    Hi Freinds,
    i have used WDR_SELECT_OPTIONS In my component, i have one date field on selection screen(BUDAT), for this date field i want seach help 
    this is my code
    create a range table for Posting Date
    lt_range_table = wd_this->m_handler->create_range_table(
                                                              i_typename = 'BUDAT' ).
    add Posting Date  to the selection
    wd_this->m_handler->add_selection_field( i_id = 'BUDAT'
         i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
                                               I_VALUE_HELP_ID = '??????'
                                               I_DESCRIPTION = 'Posting Date'
                                               it_result = lt_range_table ).
    can any one help me
    Thanks
    Srini

    hi sarbjeet 
    i created search help in dictionary and i used that search help in my program, but still its now working , any other ideas
    Thnx
    srini

  • Problem  with search help and date fields

    Dear experts,
    I have two text fields and to each i assigned cacs_calendar search help.
    It works well normally but if i make text box output only then i cannot select date.
    I want that text box in its disabled form can be used to select date from cacs_calendar search help
    that i assigned.User should not provide manual input which means fiedls should be otherwise listed in grey.

    Hi Aditya
    If a I/P output field is provided an attribute as output only and though search help is provided , the values in the search help list will also be in read-only mode and u cannot select them at all, may be you can solve ur problem thru different approach.
    when a manual entry is done with wrong value which is not present in F4 help/search help list and
    execution is done SAP will by default throw error saying invalid value

  • Search help for date field in Editable ALV

    Hello Friends,
    I am using editable alv using 'reuse_* '.
    I have used date as input field. While creating fieldcatlog also i have  declared dat as a mkpf-budat.
    But i am not getting serach help for date in output.
    Is it possible with reuse or i have to go by object oriented ?

    Hi,
    Just pass the Edit option of the fieldcatalog for those specific fields...
    fcat-edit = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-cprog
          i_callback_pf_status_set = 'PF_STATUS_SET'
          i_callback_user_command  = 'USER_COMMAND'    "<----  pass this
          i_callback_top_of_page   = 'TOP'
          is_layout                = it_layout
          it_fieldcat              = it_fcat
          i_default                = 'X'
          i_save                   = 'A'
          it_events                = it_event
        TABLES
          t_outtab                 = it_final
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    *&      Form  USER_COMMAND
    *       text
    *      -->R_UCOMM      text
    *      -->RS_SELFIELD  text
    FORM user_command USING r_ucomm LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&DATA_SAVE'.                "<-------check this
          PERFORM save_data.
      ENDCASE.
    ENDFORM.                    "USER_COMMAND

  • Search help for date in VC

    Hi, 
    I have created an iview in Visual Composer for a query. it contains date field on selection variable fomr. i tried entering date in various format, but it gives an error : variable expects interval value ; enter an interval".
    can we provide search help for date field in VC?
    Regards,
    Sonali.

    Hi,
    You have to create search help it avoid inconsistency.
    Thanks & Regards,
    Venkat.

  • Search help for a field with no dictionary reference

    Hi!
    I have created a serchhelp (see se11)
    there  are two included search helps nested. Each one
    has it own serch help exit. First search help has two
    fields and one of them is a character field (CHAR030).
    It hasn't a reference dictionary table in that case.
    How can I assign a search help esspecially for this field.
    Its values are stored inside a internal table.
    Regards
    ertas

    Hi,
    I think you need to attach a search help to a field programitically .
    Below is one sample code.
    REPORT  ZMSTR0022.
    CONSTANTS: C_FORM_NAME TYPE TDSFNAME VALUE 'ZMST_PER_APPL'.
    TABLES :ZMST_PERMIT.
    TYPE-POOLS: SLIS.
    TYPE-POOLS :VRM.                           "Value Request Manager
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.
    SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,
                   S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,
                   S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,
                   S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,
                   S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,
                   S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.
    PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.
      W_NAME2 = 'S_PIDNUM-LOW'.
      W_NAME1 = 'ZPIDNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.
      W_NAME2 = 'S_PIDNUM-HIGH'.
      W_NAME1 = 'ZPIDNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.
      W_NAME2 = 'S_ENGDSC'.
      W_NAME1 = 'ZENGDSC'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.
      W_NAME2 = 'S_ARBDSC'.
      W_NAME1 = 'ZARBDSC'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.
      W_NAME2 = 'S_TARIFF'.
      W_NAME1 = 'ZTARIFF'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.
      W_NAME2 = 'S_PERNUM'.
      W_NAME1 = 'ZPERNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    *&      Form  F4_HELP
          text
    -->  p1        text
    <--  p2        text
    FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
                        W_VAR1 TYPE HELP_INFO-DYNPROFLD .
    Fetching data from zmst_permit for F4 help on PERMIT ID No.--
      IF IT_PERMIT[] IS INITIAL.
        SELECT ZPIDNUM
               ZENGDSC
               ZARBDSC
               ZTARIFF
               ZPERNUM
               ZARRPRT
               ZEFFDT
               ZEXPDT
               FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.
      ENDIF.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = W_NAME1 " 'ZPIDNUM'
          DYNPPROG        = 'ZMSTR0022'
          DYNPNR          = SY-DYNNR
          DYNPROFIELD     = W_NAME2 "'S_PIDNUM'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = IT_PERMIT
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                                                    " F4_HELP
    I hope this will help you.
    Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.

  • A ALV with some editable fields which have dictionary search help

    Hi all:
           There is a requirement to implement an ALV with some editable fields which have dictionary search help, do you have any idea?
    thank you very much

    Hi - yes it can be done.
    1st in your object select the component SALV_WD_TABLE (ALV component) * do all the bindings of your component to your VIEW, Component usage interface, etc.
    When you are declaring your context node attributes if you add a TYPE Data element that has a search help bind to the data element it will be accessible in your ALV or in the Attribute there's a INPUT HELP that option that you can add the search help there but you need to have your ALV input enable
    for example:
    data: lr_input_field  Type Ref To cl_salv_wd_uie_input_field,
    lt_column Type salv_wd_t_column_ref,
    ls_colum Type salv_wd_s_column_ref,
    lv_value Type Ref To cl_salv_wd_config_table,
    l_col_name type string,
    lr_cmp_usage Type Ref To if_wd_component_usage,
    lo_interfacecontroller Type Ref To iwci_salv_wd_table.
    lr_cmp_usage = wd_this->wd_cpuse_alv( ).  *ALV is the name you enter for your component usage when declaring component SALV_WD_TABLE at the beginning.
    if lr_cmp_usage->has_active_component( ) IS INITIAL.
    lr_cmp_usage->create_component( ).
    endif.
    lo_interfacecontroller = wd_this->wd_cpifc_alv( ). *once again your ALV name
    lv_value = lo_interfacecontroller->get_model( ).
    lt_columns = lv_value->if_salv_wd_column_settings~get_columns( ).
    Loop at lt_columns into ls_column.
    l_col_name = ls_column-r_column->get_id( ).
    create object lr_input_field
    exporting
    value_fieldname = l_col_name.
    ls_column-r_column->set_cell_editor( value = lr_input_field ). *this will made all your columns input fields
    endloop.
    hope this help!
    Jason PV

  • Dictionary Search Help - how to trigger an event after F4 help

    Hi,
    I been searching the web lately to find a way to trigger an event after using the F4 input help.
    Here is an example of what I would like to do:
    - I have a WD form with a inputfield in it.
    - The input field is bound to datalement "LIFNR".
    - In my context I have specified the Input Help Mode to "Dictionary Search Help"
    - And the Dictionay Search Help is set to "KRED"
    A user will the click on F4 to start the Search help, then pick a LIFNR and the WD inputfield wil be filled.
    What I want is to trigger an event when this is happening.
    Does anyone have som tips or guides for me regarding this problem?
    Thanks in advance! =)

    Hi Mathias Hagen
    Actually there is no straight way of doing this , but still you can trigger a event in F4 search help ...  below is very informative blog to trigger the F4 search help by chris
    Firing a WDA event on using a Search Help - how to do it, without an NDA
    regards
    Chinnaiya P

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • To implement search help for date and time fields details

    how can i implement search help for date and time fields in screen painter

    Hi
    Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
    Aditya

  • SEARCH HELP FOR DATE

    Hi Gurus,
    I have a screen containing fields from an internal table. As I cannot use the 'from dictionary' option in the screen painter attributes, (since internal table field is not in ABAP dictionary), I'm not able to display the search help for a field of type DATS. How can i access the stabdard date search help for my type DATS internal table screen fields?
    assistance will be rewarded.
    thanx in advance.

    Hi,
    Try this:
    On your customizing screen flow,
    PROCESS ON VALUE-REQUEST.
    Field T_ZT-SDATE " your date field
    module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
    EXPORTING
    holiday_calendar_id = 'CN'
    display = ' '
    IMPORTING
    select_date = p_date
    EXCEPTIONS
    OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • Adding Search help to a field of standard transction

    hi experts,
    i m new to abap.
    my pp consultant wants that in transaction MM03, for the field on selection screen (Material) one more search help should be added. and on pressing f4 it should be displayed there with other search options.
    The search field is "(Document)-Number of the drawing that exists for this object".
    Note: To see this field run transaction MM03, enter a material and press enter then we get a screen to choose a view. choose basic data2. In the block "design drawing" there is a field for "Document".
    is it possible? if yes how much time it would take and to do it.
    how should i go about it.
    plz help.

    Hi ANNIE,
    Go through the following Procedure to add a Search help to a field of standard Transaction
    The Matchcode is replaced by search help from the version 4.6C.
    I will tell u how create the search help.
    Name of a search help
    A search help is an object of the ABAP Dictionary with which input helps
    (F4 helps) can be defined.
    There are the following types of search helps:
    o Elementary search helps implement a search path for determining the
    possible entries.
    o Collective search helps contain several elementary search helps. A
    collective search help therefore provides several alternative search
    paths for possible entries.
    o Append search helps can be used to enhance collective search helps
    delivered by SAP with customer-specific search paths without
    requiring a modification.
    The three components of the input help process described by a search
    help are the outer interface, the online behavior and the method of data
    Go to Tcode SE11. Select the search help radio button.
    Give name as ztest and click create
    There are two types of search help.
    Once is elementary search help
    & collective search help
    Choose one.
    Add the data element.
    MatchCode is replaced by search helps.
    To attach a search help to a field.
    Use this code.
    at selection-screen on value-request for source.
    progname = sy-repid.
    dynnum = sy-dynnr.
    clear value_tab.
    refresh value_tab.
    Filling the Value_tab internal table by itab2 internal table.
    loop at itab_desc.
    write itab_desc-description to value_tab.
    append value_tab.
    endloop.
    prog = sy-repid.
    no = 1000.
    clear tab.
    refresh tab.
    Building the Structure of the Seach Help.
    tab-tabname = 'FMFCTRT'.
    tab-fieldname = 'BESCHR'.
    collect tab.
    Function Used to provide Search Help.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BESCHR'
    dynpprog = prog
    dynpnr = no
    dynprofield = 'SOURCE'
    window_title = 'Function'
    TABLES
    value_tab = value_tab
    field_tab = tab.
    Regards
    Sreeni

  • Dictionary Search Help

    I am using Dictionary Search Help to search and display employee nam. Just wondering how can I exclude all withdrawn employees from the list displayed.
    Thanks

    Hi,
    You may refer this Search help exit.
    In this I have filtered the records based on Company code by writing a select query.
    I have another field in selection criteria( doctor id ).
    Code for your reference :
    DATA : lw_selopt TYPE ddshselopt,
             l_org TYPE z3af_hcp-org.
    DATA: r_doctorid TYPE RANGE OF z3af_hcp-doctor_id,
          w_doctorid LIKE LINE OF r_doctorid.
      CASE callcontrol-step.
        WHEN 'SELECT'.
          CLEAR : gt_select_list[].
          IMPORT l_bukrs TO ls_bukrs FROM MEMORY ID 'Z3AF_BUKRS'.
           SET LOCALE LANGUAGE sy-langu.
    *Convert the Search help fields
          LOOP AT shlp-selopt INTO lw_selopt.
            CASE lw_selopt-shlpfield.
              WHEN 'DOCTOR_ID'.
                w_doctorid-sign = lw_selopt-sign.
                w_doctorid-option = lw_selopt-option.
                w_doctorid-low = lw_selopt-low.
                w_doctorid-high = lw_selopt-high.
                APPEND w_doctorid TO r_doctorid.
                      ENDCASE.
          ENDLOOP.
    *-----Selecting data from HCP table based on Criteria in Range table and company code--------*
          SELECT  doctor_id
                  lname
                  fname
                  city
                  state
                  post_code
                  degree
                FROM z3af_hcp INTO TABLE gt_select_list
                   WHERE  bukrs EQ ls_bukrs
                      AND doctor_id IN r_doctorid.
    *-------FM to Map Values in table--------------------------------------------
          CALL FUNCTION 'F4UT_RESULTS_MAP'
            TABLES
              shlp_tab          = shlp_tab
              record_tab        = record_tab
              source_tab        = gt_select_list
            CHANGING
              shlp              = shlp
              callcontrol       = callcontrol
            EXCEPTIONS
              illegal_structure = 1
              OTHERS            = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          callcontrol-step =  'DISP'.
          CLEAR l_lname.
        WHEN 'DISP'.
    *------Loop the table to append it to the record Structure-------------------
          LOOP AT gt_select_list INTO lw_select_list.
            APPEND lw_select_list TO record_tab.
          ENDLOOP.
      ENDCASE.
    I hope it helps you in some aspect.

  • 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

Maybe you are looking for

  • How do I sync my Itunes acct to my Iphone

    Hi, I bought my I phone off of a friend, and I am unable to sync my ITunes to my IPhone. I already have an established ITunes account because of my IPOD touch, but everytime I plug in my IPhone to my desktop, it will not read in Itunes. Can anyone he

  • Font in qt 4.5 cause eye-strain.

    Hello, I noticed that the font in QT applications look very different. They seem to ignore the hinting set in the GNOME Appearance utility. Here is a screenshot to compare the the two. Notice how the fonts in the QT4 application look very green/red.

  • Itunes Issues, Please Help

    Hi I've got an iphone 5c and am running windows 8.1 on a lenovo laptop When im trying to sync my tunes across from itunes,  its really slow.  I have to sync several times to get all my songs on, as it keeps coming up saying it can't convert some of t

  • How Often Should a Server be upgraded?

    They might be getting at the tail end of the life of that box or it could run for 5 more years. It is all about risk management. Do they have good backup? Is this a low-end box or something like and HP or Dell that is still being warrantied? How long

  • ITunes crashes with BlueTooth audio - JAMBOX

    iTunes freezes and crashes with error code 13014 when trying to launch while a BlueTooth audio device is tuned on - in this case, a Jawbone JAMBOX.  It can pair successfully, but connection can be intermittant and often a reboot is needed for the con