Skip to Content
avatar image
Former Member

error happend when initializing selec-option in Webdynpro

hi experts

I m trying to initialize a view in which a select-option is included, and I have set the select option as no extention and no interval, further more, I have managed to set the initial value for the select option, but system showed up an error message automatically, hint that "The From Value xxx is greater than the To Value "" in range specification of xxx(field)"

actually, I just need to set the From Value because I have set the select option as no interval.

can anyone help?

many thx

Edited by: sun wanlei on Dec 27, 2010 10:31 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 27, 2010 at 09:42 AM

    Hi,

    Try like below. It is working.

    data ls_vbeln type ty_s_vbeln.

    field-symbols <fs_range> TYPE INDEX TABLE.

    ASSIGN lt_range->* TO <fs_range>.

    ls_VBELN-low = '123'.

    APPEND ls_vbeln TO <fs_range>.

    • Adding the selection field

    CALL METHOD lo_r_helper_class->add_selection_field

    EXPORTING

    i_id = 'VBELN'

    I_NO_INTERVALS = abap_true

    I_NO_EXTENSION = abap_true

    it_result = lt_range.

    Add comment
    10|10000 characters needed characters exceeded