来源:自学PHP网 时间:2015-04-14 14:50 作者: 阅读:次
[导读] 最大项最小项:************* 选择屏幕定义 ****************************************SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001. 选择屏幕块SELECT-OPTIONS: s_xianb F......
最大项最小项:
************* 选择屏幕定义 ****************************************
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.
|
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com