美文网首页
SELECT-OPTIONS设定值的范围

SELECT-OPTIONS设定值的范围

作者: SmalltalkVoice | 来源:发表于2016-09-12 17:01 被阅读48次

    方法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.
    

    相关文章

      网友评论

          本文标题:SELECT-OPTIONS设定值的范围

          本文链接:https://www.haomeiwen.com/subject/skipettx.html