方法1:
SELECTION-SCREEN BEGIN OF BLOCK blc WITH FRAME TITLE text-001.
SELECT-OPTIONS: p_zhgrq FOR ztpp012-zhgrq .
SELECTION-SCREEN END OF BLOCK blc.
INITIALIZATION.
p_zhgrq-sign = 'I'.
p_zhgrq-option = 'BT'.
p_zhgrq-low = sy-datum.
p_zhgrq-low+6(2) = '01'.
p_zhgrq-high = sy-datum.
append p_zhgrq.
方法2:
REPORT demo_sel_screen_select_default.
DATA wa_spfli TYPE spfli.
SELECT-OPTIONS airline FOR wa_spfli-carrid
DEFAULT 'AA'
TO 'LH'
OPTION nb
SIGN i.
网友评论