選択した日付のデフォルト値として今日の日付を表示しようとしています。
INITIALIZATION.
select-OPTIONS: so_date FOR sy-datlo.
START-OF-SELECTION.
so_date-sign = 'I'.
so_date-option = 'BT'.
so_date-low = sy-datum.
so_date-high = sy-datum.
APPEND so_date.
しかし、これは機能していません。何か案は?
選択した日付のデフォルト値として今日の日付を表示しようとしています。
INITIALIZATION.
select-OPTIONS: so_date FOR sy-datlo.
START-OF-SELECTION.
so_date-sign = 'I'.
so_date-option = 'BT'.
so_date-low = sy-datum.
so_date-high = sy-datum.
APPEND so_date.
しかし、これは機能していません。何か案は?
START-OF_SELECTION の前に値を設定する必要があります。
select-OPTIONS: so_date FOR sy-datlo.
INITIALIZATION.
so_date-sign = 'I'.
so_date-option = 'EQ'.
so_date-low = sy-datum.
CLEAR so_date-high.
APPEND so_date.
簡単なバージョンを試しましたか:
select-OPTIONS: so_date FOR sy-datlo default SY-DATUM.
私はそれがうまくいくはずだと思います(実際にはテストできません)。