Skip to Content
0
Former Member
May 20, 2008 at 08:03 PM

fill select options field

13 Views

Hi friends,

I'm trying to fill the select option field.

I get wrong values.

s_date. lt_wd_date contains many date.
data: lt_wd_date TYPE TABLE OF sy-datum,
         lw_wd_date TYPE sy-datum.

SELECT-OPTIONS   s_date    FOR    ccihs_ialhiot-evdat.

    PERFORM weekday_to_date TABLES lt_wd_date
                            USING  p_week
                                   s_date-low
                                   s_date-high.

    LOOP AT lt_wd_date INTO lw_wd_date.
     s_date-low = lw_wd_date.
     s_date-sign = 'I'.
     s_date-option = 'EQ'.
     APPEND lw_wd_date TO s_date.
    ENDLOOP.

Regards

sas erdem