Maximum allowable input for select-options

Hi All,
    Can we enter any number of values in select-options on the selection screen. What is the limit on the number of values that can be given for select options.
For example if the limit for a select-options field is 100000 and if i want to give  999999 values as input on the selection screen, how am I supposed to handle this.
Thanks in advance,
Madhu

Hi Madhu,
see the sample code below .. i hope it this will help you..
SELECT-OPTIONS: s_order FOR vbak-vbeln .   "Default the value range 100000 to 9999999 appears on the screen
INITIALIZATION.
* Loading default values to screen input for Sales Order field
  MOVE 'I'          TO s_order-sign.
  MOVE 'BT'         TO s_order-option.
  MOVE '1000000'   TO s_order-low.
  MOVE '9999999'   TO s_order-high.
  APPEND s_order.
* Screen field Validation
AT SELECTION-SCREEN ON s_order.
if s_order-low NE 100000.
message 'Sales order Low value should be 100000' type 'E'.
endif.
if s_order-High NE 999999.
message 'Sales order High value should be 999999' type 'E'.
endif.
Regards,
Prabhudas

Similar Messages

  • Input Negative values in selection screen  for select-options field

    I am not able enter negative values for
    SELECT-OPTIONS V_ERFMG FOR MSEG-ERFMG.
    It says negative values are not allowed but I need to check for negative values. Kindly provide me solution.

    You can't put the negative values here...because the Domain which is attached to MSEG-ERFMG has not the "Sign" checkbox on.
    Try with this code:
    tables:wbrp.
    SELECT-OPTIONS V_ERFMG FOR WBRP-menge.
    Regards,
    Naimesh Patel

  • Value help for select-option not filling selection field

    I'm having some problems with a value help on a select-option. I've managed to get the value help displaying the correct values but for some reason can't get it to populate the selection field after I've selected a record.
    I have the following call:
      wd_this->m_handler->add_selection_field(
                          i_id = 'SHORT_D'
                          i_description = 'Program'
                          it_result = lt_range_table
                          i_read_only = read_only
                          i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP
                          i_value_help_id = 'ZPROGSTUDY' ).
    where ZPROGSTUDY is a new search help I've set up with an exit to retrieve the values.
    Any ideas ? Thanks.

    Hi Malcolm,
    The code you have is OK. I copied your code into a test program and it worked as expected.
    I used a search help where the possible values are populated in the search help exit, exactly as in your case. The only time it did not work was when read_only = X, but that is obvious also from a visual point of view since the input field is greyed out in that case. The popup also tells you is in RO mode...
    Does your SHLP work when you test it from SE11? Returns values?
    SAP provides a lot of WD4A sample code, see for example component WDR_TEST_SELECT_OPTIONS look for
    select-option fields > special cases > input helps > Non field-specific input help using search help
    Regards,
    George

  • Is exist restriction for select-options.........?

    is exist restriction for select-options?
    for example:
    <b> data: ftxt04(4).
    select-options: txt04 for ftxt04.</b>

    Hi,
    You can restrict select-options.
    SELECT-OPTIONS : S_VKORG FOR TVKO-VKORG MEMORY ID VKO.
    Form F1000_RESTRICT_VKORG.
    INITIALIZATION.
    PERFORM F1000_RESTRICT_VKORG.
    Define the object to be passed to the RESTRICTION parameter
    DATA lw_restrict TYPE SSCR_RESTRICT.
    Auxiliary objects for filling RESTRICT
      DATA lw_opt_list TYPE sscr_opt_list.
      DATA lw_***      TYPE sscr_***.
    Assign selection screen objects to option list and sign
    NOINTERVLS: BT and NB not allowed
      CLEAR lw_opt_list.
      MOVE 'NOINTERVLS' TO lw_opt_list-name.
      MOVE 'X' TO: lw_opt_list-options-cp,
                   lw_opt_list-options-eq,
                   lw_opt_list-options-ge,
                   lw_opt_list-options-gt,
                   lw_opt_list-options-le,
                   lw_opt_list-options-lt,
                   lw_opt_list-options-ne,
                   lw_opt_list-options-np.
      APPEND lw_opt_list TO lw_restrict-opt_list_tab.
    KIND = 'S':
      CLEAR lw_***.
      MOVE:  'S'          TO  lw_***-kind,
             'S_VKORG'    TO  lw_***-name,
             'I'          TO  lw_***-sg_main,
             '*'          TO  lw_***-sg_addy,
             'NOINTERVLS' TO  lw_***-op_main.
      APPEND lw_***  TO  lw_restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                restriction            = lw_restrict
           EXCEPTIONS
                too_late               = 1
                repeated               = 2
                selopt_without_options = 3
                selopt_without_signs   = 4
                invalid_sign           = 5
                empty_option_list      = 6
                invalid_kind           = 7
                repeated_kind_a        = 8
                OTHERS                 = 9.
      IF sy-subrc <> 0.     "Restriction error encountered for Select
                             "Option
        MESSAGE  I001 WITH 'ERROR IN SELECT OPTION'."ERROR IN SELECT OPTION
      ENDIF.
    endform.                    " F1000_RESTRICT_VKORG

  • Validation for select-options

    need help in validaiton for select-options.

    Hi..,
    could u paste ur selection screen declarations here !!!
    check this..
    *"Selection screen elements............................................
    select-options :
      s_vbeln for vbak-vbeln,              " Sales document number
      s_vkorg for vbak-vkorg,              " Sales organization
      s_erdat for vbak-erdat .             " Run date
                          AT SELECTION-SCREEN ON EVENT                  *
    *Validation on Sales document number range...
    at selection-screen on s_vbeln.
    Perform to validate Sales document number range...
      perform f0000_validate_vbeln.
                          AT SELECTION-SCREEN ON EVENT                  *
    *Validation on Sales Organization range...
    at selection-screen on s_vkorg.
    *Perform to validate the Organization number user input...
      perform f0100_validate_vkorg.
                          AT SELECTION-SCREEN ON EVENT                  *
    *Validation on Creation date range...
    at selection-screen on s_erdat.
    *Perform to validate the Creation date of the sales documents...
      perform f0100_validate_erdat.
    *&      Form  f0000_validate_vbeln
          This subroutine validates the user input - Sales document      *
          number range                                                   *
          There are no interface parameters                              *
    form f0000_validate_vbeln.
      select vbeln                         " Sales Document number
        from vbuk
       up to 1 rows
        into vbak-vbeln
       where vbeln in s_vbeln.
      endselect.
      check sy-subrc ne 0.
        message e001(zsls640) with s_vbeln-low s_vbeln-high.
    endform.                               " Form f0000_validate_vbeln
    *&      Form  f0100_validate_vkorg
          This subroutine validates the user input - Sales Organization  *
          range                                                          *
          There are no interface parameters                              *
    form f0100_validate_vkorg.
      select vkorg                         " Sales Organization
        from vbak
       up to 1 rows
        into vbak-vkorg
       where vkorg in s_vkorg.
      endselect.
      check sy-subrc ne 0.
        message e002(zsls640) with s_vkorg-low s_vkorg-high.
    endform.                               " Form f0100_validate_vkorg
    *&      Form  f0100_validate_erdat
          This subroutine validates the user input - Creation date of the*
          Sales documents                                                *
          There are no interface parameters                              *
    form f0100_validate_erdat.
      select erdat                         " Creation date
        from vbak
       up to 1 rows
        into vbak-erdat
       where vkorg in s_erdat.
      endselect.
      check sy-subrc ne 0.
        message e003(zsls640) with s_erdat-low s_erdat-high.
    endform.                               " Form f0100_validate_erdat
    <b>regards,
    sai ramesh</b>

  • Audigy 2 ZS maximum allowed input level signa

    What is the maximum allowed input level signal (voltage or mv) without actually damaging the card.
    Because I want to use some input sources and I am affraid not to damage the Audigy 2 ZS card.
    Please answer as tehnically as possible concerning peak levels and RMS signal levels.

    Finally found what I was looking for, thanks to Customer Support! Here are the technical specs for SoundBlaster cards. Input is listed as 2 VRMS (for PCI cards), which is line-level for this class of audio equipment, with a recommended normal input limit of volt. They are saying this applies to all SoundBlaster cards, and the specs speak for themselves, but it's up to you whether still to worry about that .2 to .5 volt transient surge. HTH.
    ABA wrote:
    My problem is that I have a sattelite DVB receiver connected to my TV-tuner via S-VIDEO and RCA outputs.
    The problem is when I first started my receiver it bumps a peak signal of 5-7 volts recorded on osciloscope, this signal is somehow short sec but it still there.
    The good thing is that this signal is reduced in TV-tuner from 5-7 V to just about .2-.5 V output and then hits the Audigy card input.
    So I don't know exactly if I have to worry about this problem anymore ?
    Message Edited by Katman on 02-5-200606:06 PM

  • Restrict F4 help values for select option

    Hi All,
    How to restrict the F4 help for select option in Webdynpro for ABAP based on some input.
    Regards,
    Karthick S

    Hi Karthick,
    Use OVS help. It will take your inputs for search and give you corresponding search value list.
    Refer my blog, it will be helpful.
    [OVS Help in WDA|/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap]
    Thanks.

  • I have a 13 inch macbook (late 2007) what is the maximum allowable height for a hard drive?

    what is the maximum allowable height for an internal hard drive. I want to replace my hard drive are there any other things I should make sure of in terms of compatability?

    timfromdoylestown wrote:
    would they erase it and reformat it? what is the purpose of doing so?
    they have to format it to make it mac "compatible", for a lack of better terms.  I don't know what they would do.

  • 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.

  • How to set default values in initialization event for select option

    Abapers,
    I have 3 GL account like 0024831231,0024831238,0024831245.
    Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
    Thanks

    Select option is table <Structure> with fields, low, high, sign & option
    you need to append the value into the select option, with appropriate value in low or
    example:
    S_HKONT-low  = <value>
    S_HKONT-SIGN = 'I'
    S_hkont-OPTION = 'EQ'
    append s_hkont.
    Default value for select-option also can be added directly in select-option statement.
    Regards,
    Mahesh

  • 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

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • 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

  • How to add OBLIGATORY for SELECT-OPTIONS

    Hi experts,
    I can use OBLIGATORY for PARAMETERS
    PARAMETERS :s_WMno  TYPE LINK-LGNUM DEFAULT 'SCA' OBLIGATORY.
    I want to add OBLIGATORY for SELECT-OPTIONS. How to do this?
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME .
        SELECT-OPTIONS:  s_matnr FOR mara-matnr .
    SELECTION-SCREEN END OF BLOCK b1.
    Many thanks.

    Hi,
    TABLES spfli.
    SELECT-OPTIONS : carrid FOR spfli-carrid OBLIGATORY. " This makes only Low field Obligatory
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'CARRID-HIGH'. " To make High field also obligatory
          screen-required = 1.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Cheerz
    Ram

  • How to do validations for select-options

    Hi gurus,
    can you suggest me
    how to do validations for select-options
    Thanks&ragards,
    Kals.

    HI,
    TABLES: BKPF.
    TYPES: BEGIN OF TY_BKPF,
           BUKRS TYPE BUKRS,   "COMPANY CODE
           GJAHR TYPE GJAHR,   "FISCAL YEAR
           MONAT TYPE MONAT,   "FISCAL PERIOD
    DATA: T_BKPF TYPE TABLE OF TY_BKPF,
          W_BKPF TYPE TY_BKPF.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_CODE   FOR BKPF-BUKRS,
                    S_YEAR   FOR BKPF-GJAHR,
                    S_PERIOD FOR BKPF-MONAT.
    SELECTION-SCREEN: END OF BLOCK B1.
                        AT SELECTION-SCREEN                           *
    IF S_CODE IS INITIAL OR S_YEAR IS INITIAL OR S_PERIOD IS INITIAL.
      MESSAGE E000(0) WITH 'ENTER VLAUES'.
    ENDIF.
    SELECT SINGLE * FROM BKPF WHERE BUKRS IN S_CODE.
      IF SY-SUBRC <> 0.
      MESSAGE E000(0) WITH 'ENTER VALID VALUES'.
      ENDIF.
    reward if useful
    thanks and regards

Maybe you are looking for