你所在位置:首页html+css → 日期

日期

发布时间:2019-05-15 最大项最小项:

************* 选择屏幕定义 ****************************************

SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.  "选择屏幕块

SELECT-OPTIONS: s_xianb FOR zppr003-xianb OBLIGATORY.

SELECT-OPTIONS: s_date FOR zppr001-riqi OBLIGATORY .

SELECTION-SCREEN END OF BLOCK block1 .

 

*******************************************************************

* INITIALIZATION

INITIALIZATION.

  DATA p_i_day_start LIKE sy-datum.

  DATA p_i_day_end LIKE sy-datum.

  CONCATENATE sy-datum+0(6) '01' INTO p_i_day_start.

  CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'

    EXPORTING

      day_in            = p_i_day_start

    IMPORTING

      last_day_of_month = p_i_day_end.

  s_date-low =   p_i_day_start.

  s_date-high =  p_i_day_end.

  APPEND s_date.

 

多项起始默认值:

************* 选择屏幕定义 ****************************************

SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.  "选择屏幕块

SELECT-OPTIONS: s_xianb FOR zppr003-xianb OBLIGATORY.

SELECT-OPTIONS: s_date FOR zppr001-riqi OBLIGATORY .

SELECTION-SCREEN END OF BLOCK block1 .

 

*******************************************************************

* INITIALIZATION

INITIALIZATION.

  s_xianb-low =  '10‘.

  s_xianb-option = 'EQ'.

  s_xianb-sign = 'I'.

  append s_xianb.

  s_xianb-low =  '20'.

 s_xianb-option = 'EQ'.

  s_xianb-sign = 'I'.

  append s_xianb.


上一篇:用户习惯“为扫描而设计”
下一篇:将CSS CLIP属性应用在:扩展覆盖效果