Applying stadard search help to SELECT-OPTIONS

applying stadard search help to SELECT-OPTIONS
i have the below code in the selection screen:
SELECT-OPTIONS : so_stain FOR gv_stai1
                              MATCHCODE OBJECT ZSTA,
                 so_staex FOR gv_stai1
                              MATCHCODE OBJECT ZSTA.
where ZSTA is the search help defined in the data dictionary which is the copy on standard SAP search help..
but this is not working..:(  when i run the program and click on the
F4 help for these two fields i get no out put..
can any one suggest me to search help to select-options..

Hi,
u can see this example code for f4 help on the select-option,
DATA: li_ret_tab TYPE STANDARD TABLE OF ddshretval,
        lws_retfield TYPE dfies-fieldname.
  DATA : wa_ret_tab LIKE LINE OF li_ret_tab.
**- Get the device numbers
  SELECT serge FROM equi
         INTO TABLE i_help1
         WHERE sparte EQ c_51.
  IF sy-subrc EQ 0.
    lws_retfield = text-030.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = s_device
        dynpprog        = sy-repid
        dynpnr          = c_dynpnr
        dynprofield     = s_device
        value_org       = 'S'
      TABLES
        value_tab       = i_help1
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.
    IF sy-subrc <> 0.
    ENDIF.
  ENDIF.
Regards,
kk.

Similar Messages

  • Problem on Search Help  for select-option

    Hi,
    Iam working on a search help for select-option,
    is there a way to incorporate select-all or multiple
    selection on this?
    Thanks!

    Hi catherine,
    1. Just copy paste this program.
      (It will POPULATE the SELECT-OPTION,
       based upon
       MULTIPLE Selection,
       selected by the user,
       in the  help provided thru F4IF_INT_TABLE_VALUE_REQUEST.)
    2. Eg. is for BUKRS (company code)
    3.
    REPORT ABC.
    TABLES : T001.
    DATA : ITAB LIKE TABLE OF T001 WITH HEADER LINE.
    DATA : RETURN LIKE TABLE OF DDSHRETVAL WITH HEADER LINE.
    SELECT-OPTIONS : BUKRS FOR T001-BUKRS.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-LOW.
    PERFORM MYPOPULATE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-HIGH.
    PERFORM MYPOPULATE.
    FORM MYPOPULATE.
      REFRESH ITAB.
      SELECT * FROM T001 INTO TABLE ITAB.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'BUKRS'
          dynprofield     = 'BUKRS'
          dynpprog        = sy-REPID
          dynpnr          = sy-dynnr
          multiple_choice = 'X'
          value_org       = 'S'
        TABLES
          value_tab       = ITAB
          return_tab      = return.
    IF RETURN[] IS NOT INITIAL.
    REFRESH BUKRS.
    CLEAR BUKRS.
      LOOP AT RETURN.
        BUKRS-SIGN = 'I'.
        BUKRS-OPTION = 'EQ'.
        BUKRS-LOW = RETURN-FIELDVAL.
        BUKRS-HIGH = RETURN-FIELDVAL.
        APPEND BUKRS.
      ENDLOOP.
    ENDIF.
    ENDFORM.
    regards,
    amit m.

  • Search help in select option

    Hi,
    I created a select options with a field.The field does't have any search help in it.
    I needs to give an explicit search help for that field , for that i created one serch help and i passed the
    search help name in the parameter i_value_help_id  of method add_selection_field.
    But i didn't get the f4 in my select options.
    please help to solve this issue.
    Thanks.

    hi bala,
    Whether the search help field refers to any dictionary field ( ie any customized table field)..
    if so, thn give ur search help name for that dataelement in furthercharacteristics tab.. b'z u have to
    use DATAELEMENT for defining the select option..

  • Search Help in Select - Options

    Dear experts,
    i use three select options and they work fine.
    In the node of the view i declared the attributes i need and bound a search help (F4 help) to them.
    here is the problem.
    One attribute has the help visible when i start the application, the other two not.
    Can you give me a hint how to solve this ?
    Thanks and best regards
    René

    Hi Rene,
    I had the similar question earlier, later what i have found is like this:
    1. I have a WDC with three Select options to it.
    2. First Select options relates to the first attribute in my context node which takes the Data element as the Data type. For Ex: take BUKRS as the DE. This has pre-defined search help to the DE C_T001.
    3. Second select options relates to the second attribute in my context node which takes the string as the data type. I manually assigned the Search help to that attribute 'C_T001'.
    4. Thirs Select options relate to the third attribute inmy context node which takes the string as the data type. I manually assigned a Search help to it 'H_T002'.
    5. In the WDDOINIT of my view, I have written the code as follows in the bottom of the post.
    6. The observation is the search help assigned to the first attribute will be opened with out any problem or additional code to it.
    7. The search help assigned to the second one at the context level wont be picked in the select-options.
    8. The search help assigned to the third one will be picked if and only if there is manual assignment of the search help at the time of creating a selection field.
    Conclusion: So, the search help assignment assigned to the attribute at context level is ignored. It will be considered only if the DE has that search help in the case of select-options.
    Hope it is clear and appreciate your feebback.
    Regards,
    Shashikanth. D
    First Select option.
    Instantiating the Used component WDR_SELECT_OPTIONS
      DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
    init the select screen
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      wd_this->m_handler->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'BUKRS' ).
    add a new field to the selection
      wd_this->m_handler->add_selection_field( i_id = 'BUKRS'
      it_result = lt_range_table i_read_only = read_only ).
    Second select option.
    Instantiating the Used component WDR_SELECT_OPTIONS
      DATA lo_cmp_usage1 TYPE REF TO if_wd_component_usage.
      lo_cmp_usage1 =   wd_this->wd_cpuse_use_select1( ).
      IF lo_cmp_usage1->has_active_component( ) IS INITIAL.
        lo_cmp_usage1->create_component( ).
      ENDIF.
      wd_this->m_wd_select_options1 = wd_this->wd_cpifc_use_select1( ).
    init the select screen
      wd_this->m_handler1 = wd_this->m_wd_select_options1->init_selection_screen(  ).
      wd_this->m_handler1->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler1->create_range_table( i_typename = 'STRING' ).
    add a new field to the selection
      wd_this->m_handler1->add_selection_field( i_id = 'IF1'
      it_result = lt_range_table i_read_only = read_only ).
    Third Select options:
    Instantiating the Used component WDR_SELECT_OPTIONS
    DATA lo_cmp_usage2 TYPE REF TO if_wd_component_usage.
    lo_cmp_usage2 =   wd_this->wd_cpuse_use_select2( ).
    IF lo_cmp_usage2->has_active_component( ) IS INITIAL.
      lo_cmp_usage2->create_component( ).
    ENDIF.
    wd_this->m_wd_select_options2 = wd_this->wd_cpifc_use_select1( ).
    init the select screen
      wd_this->m_handler2 = wd_this->m_wd_select_options2->init_selection_screen(  ).
      wd_this->m_handler2->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler2->create_range_table( i_typename = 'STRING' ).
    add a new field to the selection
    CALL METHOD wd_this->m_handler2->add_selection_field
      EXPORTING
        i_id                         = 'IF2'
        it_result                    = lt_range_table
        i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP
        i_value_help_id              = 'H_T002'.

  • Search help for select options

    Hi,
    I want to give search help for a field on selection screen based on value in another field in same selection screen. I am using DYNP_VALUES_READ function module to retain the values and F4IF_INT_TABLE_VALUE_REQUEST function module to give search help and it works fine, but when i give multiple selections i am not able to read the values. Please help. Points will be rewarded.

    Hi,
    Check the below code.
    tables: t001k.
    For Identification Number
    DATA: BEGIN OF it_bwkey OCCURS 0,
            bwkey LIKE t001k-bwkey,
          END OF it_bwkey.
    data: v_bukrs(4).
    For Run date
    DATA: BEGIN OF it_bukrs OCCURS 0,
            bukrs LIKE t001k-bukrs,
          END OF it_bukrs.
    DATA it_ret LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS:    p_bukrs(4) TYPE c.
    SELECT-OPTIONS s_bwkey FOR t001k-bwkey NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK main.
    Validation Section
    INITIALIZATION.
      SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'BUKRS'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'P_BUKRS'
          value_org       = 'S'
        TABLES
          value_tab       = it_bukrs
        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.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bwkey-low.
      TABLES: t130r.
      DATA: BEGIN OF dynpfields OCCURS 0. "Hilfsstruktur zum auslesen des
              INCLUDE STRUCTURE dynpread. "Feldwertes vom Dynpro bei >F4<
      DATA: END OF   dynpfields.
      DATA : sy_repid LIKE sy-repid,
             sy_dynnr LIKE sy-dynnr.
      CLEAR dynpfields.
      REFRESH dynpfields.
      dynpfields-fieldname = 'P_BUKRS'.
      APPEND dynpfields.
      Lesen des akt. Wertes von Dynpro
      sy_repid = sy-repid.
      sy_dynnr = sy-dynnr.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = sy_repid
          dynumb     = sy_dynnr
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 01.
      IF sy-subrc = 0.
        READ TABLE dynpfields WITH KEY fieldname = 'P_BUKRS'.
        IF sy-subrc = 0.
          v_bukrs = dynpfields-fieldvalue.
        ENDIF.
      ENDIF.
      SELECT bwkey FROM t001k
      INTO TABLE it_bwkey
      WHERE bukrs = v_bukrs.
      DELETE ADJACENT DUPLICATES FROM it_bwkey.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'BWKEY'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'S_BWKEY'
          value_org       = 'S'
        TABLES
          value_tab       = it_bwkey
        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.

  • Search Help in Select - Options for Time field

    Hi,
    I have a select option which is a  time field.
    For date field the F4 help is automatically generated.
    How to get F4 help for time field.
    Regards,
    Remo

    Selection-Options or normal field - it doesn't matter.  There is no system delivered value help for a time field. This is documented in the online help:
    There is no automatic F4 help for data element TIMS.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    You would have to create your freely programmed value help if you want something like the time value help available in the SAPGUI.

  • WD ABAP - Search help using Selection-options

    Hi Experts
    i am using interface IF_WD_SELECT_OPTIONS method  ADD_SELECTION_FIELD for filling the selection parameters
    add a new field to the selection
      wd_this->m_handler->add_selection_field(
      i_id = '/DMF/EXT_PROD_ID'
      it_result = lt_range_table
      i_read_only = read_only
    *I_HELP_REQUEST_HANDLER = lt
        i_value_help_type = 'SEARCHHELP'
        i_value_help_id   = '/DMF/PROD_SHLP' ).
    I would like to like to pass the importing parameter to '/DMF/PROD_SHLP'
    Is it possible through this interface .
    thnks in advance

    I assume this is a data dictionary based search help.  You can't pass the importing parameter directly into the field creation.  Data Dictionary Search Helps get their importing parameters from their relationship to other attributes in the same context node automatically. 
    This is from the online help:
    If an input help structure is stored in a field in the ABAP Dictionary, and if you want to use the field mapping of search help parameters stored in the ABAP Dictionary as the field name for the structure for your Web Dynpro input help, then map your context nodes to this structure. This ensures that all components of the structure are available dynamically at runtime as attributes of the node.
    If the context node is not mapped to the structure, the data element's input help can be used if there is one.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm

  • Can i assign a collective srch help for select option in list display

    can i assign a collective srch help for select option in list display

    Hi,
    Yes ,u can assign a collective search help for select-option in list display.
    Eg:
    Define your select option like this
    SELECT-OPTIONS: s_vbeln FOR likp-vbeln MATCHCODE OBJECT vmva.
    Regards,
    Shiva.

  • Search help on select optionbased on other select ooption entered

    hi,
    I need to know search help for selection screen based on value entered in another select options
    SELECT-OPTIONS : s_bukrs FOR bkpf-bukrs OBLIGATORY,
                     s_belnr FOR bkpf-belnr,
                     s_gjahr FOR bkpf-gjahr OBLIGATORY,
                     s_budat FOR bkpf-budat OBLIGATORY,
                     s_akont FOR lfb1-akont,
                     s_saknr FOR bseg-saknr.    """"""""""
    *PARAMETERS : p_akont type lfb1-akont.
    here i need to get the vaues of s_akont based on values entered in s_bukrs,
    In event at selection screeen for s_akont i am writing
        SELECT a~bukrs
              a~saknr
              a~mitkz
              b~txt50
                     FROM skb1 AS a
                     INNER JOIN skat AS b
                     ON asaknr = bsaknr
                      INTO CORRESPONDING FIELDS OF TABLE lt_skb1
                      WHERE bukrs IN s_bukrs
                        AND mitkz = 'K'
                        AND b~spras = 'EN'.
    but not getting value of s_bukrs at this point of execution. I requir the fiels in select statement in F4 of s_akont.
    what are the function modules to call and what is the way to do??
    thanks..

    Check the below solution for your issue - The FM "'RS_SELECTIONSCREEN_READ" is used to get the S_BUKRS values. Even though the FM returns single values of the Select options ( Low & High ) it fits the requirement.As the trick part is...If user enters multiple values or even enters sign for select options, S_BUKRS itself will have the value. That's why we have If else S_BUKRS[] is initial and R_BUKRS. Let me know if you have any issues with the solution provided.
    TABLES: bkpf, lfb1.
    DATA lt_fieldvalues TYPE STANDARD TABLE OF rsselread.
    DATA ls_fieldvalue TYPE rsselread.
    DATA r_bukrs TYPE RANGE OF bkpf-bukrs.
    DATA ls_bukrs LIKE LINE OF r_bukrs.
    SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs,
                    s_akont FOR lfb1-akont.
    INITIALIZATION.
      ls_fieldvalue-name = 'S_BUKRS'.
      ls_fieldvalue-kind = 'S'.
      ls_fieldvalue-position = 'LOW'.
      APPEND ls_fieldvalue TO lt_fieldvalues.
      ls_fieldvalue-name = 'S_BUKRS'.
      ls_fieldvalue-kind = 'S'.
      ls_fieldvalue-position = 'HIGH'.
      APPEND ls_fieldvalue TO lt_fieldvalues.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_akont-low.
      refresh r_bukrs.
      clear ls_bukrs.
      IF s_bukrs[] IS INITIAL.
        CALL FUNCTION 'RS_SELECTIONSCREEN_READ'
          EXPORTING
            program     = sy-repid
            dynnr       = '1000'
          TABLES
            fieldvalues = lt_fieldvalues.
        IF NOT lt_fieldvalues[] IS INITIAL.
          ls_bukrs-sign = 'I'.
          READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'LOW'.
          IF sy-subrc EQ 0.
            ls_bukrs-low  = ls_fieldvalue-fieldvalue.
          ENDIF.
          READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'HIGH'.
          IF sy-subrc EQ 0.
            ls_bukrs-high = ls_fieldvalue-fieldvalue.
          ENDIF.
          IF ls_bukrs-high IS NOT INITIAL.
            ls_bukrs-option = 'BT'.
          ELSE.
            ls_bukrs-option = 'EQ'.
          ENDIF.
          if ls_bukrs-low is not initial or ls_bukrs-high is not initial.
            APPEND ls_bukrs TO r_bukrs.
          endif.
        ENDIF.
      ELSE.
        r_bukrs[] = s_bukrs[].
      ENDIF.
      SELECT a~bukrs a~saknr a~mitkz b~txt50 FROM skb1 AS a
             INNER JOIN skat AS b
             ON a~saknr = b~saknr
             INTO CORRESPONDING FIELDS OF TABLE lt_skb1
             WHERE bukrs IN r_bukrs         " Changed to r_burks
             AND mitkz = 'K'
             AND b~spras = 'EN'.

  • Collective search on the Select-options field on the selection screen

    Hello experts,
                       I have a Y program and a selection screen for it. I have to get the BKPF-BELNR in the search help list. Since the table is too bulky to get all the documents form it. I thought I might need a condition of company code for fetching the documents. I have company code on the selection screen, but if I press F4, on the BELNR, my select-options internal table for <b>company code</b> is remains initial. I think for F4 events the values doesn't get populated in the internal tables, not sure.
                       Can you tell me, how to get the company code entered on the selection screen, on the F4 event. Or If this doesn't work, will collective search help solve my problem? If yes, Please let me know, which function module I can use to add a collective search to my select-options on the selection screen.
    Thanks,
    Ganesh Khumse.
    Points will be rewarded!

    Hi
    do like this
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    ***********SELECTION SCREEN DESIGN***********************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    **********END OF SELECTION SCREEN DESIGN*****************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 DYNPFLD_MAPPING        =
               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.
      ENDIF.

  • How to created Freely Programmed F4 help in Select Options

    hi,all
       I have a probelm about how to created a Freely Programmed F4 help in Select Options,and put help value into select options field
      Thanks and Best Regards

    Hi Haung,
    You need to use FREE_HELP not the component name.
    Modify you code as below:
       LT_RANGE_TABLE_V = wd_this->m_handler_V->create_range_table( 'ZCYPHDATE' ).
      wd_this->M_HANDLER_V->add_selection_field(
          i_id                         = 'ZCYPHDATE'
          it_result                    = LT_RANGE_TABLE_V
          i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_APPLDEV
          i_value_help_id              = 'FREE_HELP'
          i_no_intervals               = abap_false ).
    Hope this helps you.
    Regards,
    Rama

  • How to get calender in f4 help for select options in module pool (URGENT)

    Hi All,
    how to get calender in f4 help for select options in module pool
    Please help .
    Thanx in advance,
    amruta

    Hi Amruta,
    First of all, you can not create select-options directly in module pool.
    For creating <b>select-option is dialog prog</b> follow these steps:
    1. create your selection screen model as subscreen by:
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.
    PARAMETRS: P_MATNR LIKE MARA-MATNR.
    SELECT-OPTIONS: S_BISMAT FOR MARA-BISMAT.
    SELECTION-SCREEN END OF SCREEN 2000.
    2. create a screen ( example 100 ) in your module-pool dedicated for selection-screen. on this screen layout sketch a sub-screen name like subscree_2000.
    3. write this bit of code in PBO and PAI of the screen 100;
    CALL SUBSCREEN SUBSCREEN_2000.
    4. include this code in PBO:
    INCLUDING SY-REPID '2000'
    6. write user_command of PAI, call screen which is going to executable after selection-screen.
    5. create a transcation for this dialog module pool with screen 100.
    6. execute this transaction and you can see it's behaving like cool with select-options.
    After that in [bprocee on value-request]</b>, use F4_DATE for both from and to option field.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • F4 help for select options based on parameter value

    hi all,
    I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
    Regard's,
    Girija
    Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
    Edited by: Vinod Kumar on May 17, 2011 1:36 PM

    hi all,
    I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
    Regard's,
    Girija
    Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
    Edited by: Vinod Kumar on May 17, 2011 1:36 PM

  • Search help in selection screens for interactive report

    A search help can only be assigned to DB table.
    So my doubt is can it also be used for seletion screens created for an interactive report?
    If yes what is the procedure.. Please give me one example at least...
    waiting for your valuable suggestions.....
    Thanks,
    regards,
    Chinmay

    Hi Chinmay,
    I suppose your requirement is to give search help to selection screen elements.
    Here is the code.
    REPORT  ZSHAIL_F4HELP                           .
    parameters: name(10) type c .
    TYPES: BEGIN OF VALUES,
             CARRID TYPE SPFLI-CARRID,
             CONNID TYPE SPFLI-CONNID,
           END OF VALUES.
    dATA: PROGNAME LIKE SY-REPID,
          DYNNUM   LIKE SY-DYNNR,
          DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
          FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
          VALUES_TAB TYPE TABLE OF VALUES.
    at selection-screen on value-request for name.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        tabname                   = 'DEMOF4HELP'
        fieldname                 = 'CARRIER1'
      SEARCHHELP                = ' '
      SHLPPARAM                 = ' '
       DYNPPROG                  = PROGNAME
       DYNPNR                    = DYNNUM
       DYNPROFIELD               = 'CARRIER'
      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.
    AT SELECTION-SCREEN OUTPUT.
    PROGNAME = SY-REPID.
      DYNNUM   = SY-DYNNR.
      CLEAR: FIELD_VALUE, DYNPRO_VALUES.
      FIELD_VALUE-FIELDNAME = 'CARRIER'.
      APPEND FIELD_VALUE TO DYNPRO_VALUES.
    I hope your query is solved.
    If so,please award points.
    Regards,
    Sylendra.

  • Freely Programed Help for select-option field

    Hi,
    how can i set freely programmed help for select option field, i mean while adding selection field what are the parameters that are important for freely programmed help.
    i have implemented iwd_value_help in one component comp1 and declared the usage of comp1 in comp2 where i actually defined the usage of select-option component.
    i used parameter   i_value_help_type = if_wd_value_help_handler=>co_prefix_appldev while adding selection field, however when i presss F4 icon, the following message is coming
    View WD_VALUE_HELP does not exist within the component WDR_SELECT_OPTIONS
    Please suggest where i am doing wrong??
    Edited by: kranthi kumar on Dec 29, 2010 6:19 PM

    >
    kranthi kumar wrote:
    > Hi,
    >
    > how can i set freely programmed help for select option field, i mean while adding selection field what are the parameters that are important for freely programmed help.
    >
    > i have implemented iwd_value_help in one component comp1 and declared the usage of comp1 in comp2 where i actually defined the usage of select-option component.
    >
    > i used parameter   i_value_help_type = if_wd_value_help_handler=>co_prefix_appldev while adding selection field, however when i presss F4 icon, the following message is coming
    >
    > View WD_VALUE_HELP does not exist within the component WDR_SELECT_OPTIONS
    >
    > Please suggest where i am doing wrong??
    >
    > Edited by: kranthi kumar on Dec 29, 2010 6:19 PM
    Hi Kranthi,
    Please help me to understand your design.
    Why would you like to create a Freely programmed value help for select-option?. why not use wdr_select_option directly ?

Maybe you are looking for

  • Multiple Rows in HBox in Flex

    Hi,       I am using an Hbox that is populated with simple button controls at runtime. The HBox and buttons to be populated inside are both of fixed width. But the problem is that it only populates the buttons in a straight horizotal way, though as i

  • Storage issues for Proxies using Final Cut Server

    Hi there, we have a fairly high amount of material that is just being put into Final Cut Server to be archived again. I dont mind the Xserve being busy to create these proxy files, but they tie up too much space! (Maths: 500 GB / 40 h of DVCAM footag

  • How to give link to SharePoint 2013 document library column to open its form?

    Hi All, I have Infopath document library form, now i want to give link to a specific column to its own item. How to achieve this? Thanks in advance!

  • How to attach files to mail

    When I attach files to mails (.pdf, .jpg, .docx etc.), they arrive in Windows Outlook embedded. My mail settings are "Always Send Windows-Friendly Attachments" and "Always Insert Attachments at End of Message". I know how to open these attachments in

  • Vl01n

    Hi all, Currently i am working in ECC 5.0. we have a requirement to post more than 999 line items in the FI document. In Vl01n Outbound deliver - for one item generates two documents like material and accounting document. if in the outbound delivery