1: 从屏幕输入数据: 直接定义parameters类型(该类型的变量名不能超过8个字符。
REPORT ZHANSEN34. *SELECTION-SCREEN BEGIN OF LINE. * SELECTION-SCREEN COMMENT 1(31) TEXT-002. * PARAMETERS s_cputm1 LIKE mkpf-cputm. * SELECTION-SCREEN COMMENT 52(5) TEXT-003. * PARAMETERS s_cputm2 LIKE mkpf-cputm. ) TYPE c. write: / LV_PARA. *SELECTION-SCREEN END OF LINE.