PARAMETER
block, row, label
SELECTION-SCREEN BEGIN OF BLOCK BK1 WITH FRAME TITLE TEXT-TO1."块
"BK1是块的名 (with frame )是给块上加边界title <名字>给块上加标题 (with frame title <名字>)可无
SELECTION-SCREEN BEGIN OF LINE."行
PARAMETERS R_MALE RADIOBUTTON GROUP GP1."单选按钮 char1类型
SELECTION-SCREEN COMMENT (10) TEXT-T02."紧接单选按钮着标签 是两部分
SELECTION-SCREEN POSITION 30."这里注意是离屏幕边框最左测的距离
PARAMETERS R_FEMALE RADIOBUTTON GROUP GP2.
SELECTION-SCREEN COMMENT (10) TEXT-T03 FOR FIELD R_FEMALE."紧接单选按钮着标签
"FOR FIELD R_FEMALE将这个标签与单选按钮R_FEMALE关联成一部分.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BK1.
SELECTION-SCREEN skip 3."空三行
PARAMETERS P_CHECK AS CHECKBOX."多选框 char1类型
information
Information utilization
message s001 display like 'E'."这里运行后会提示error错误消息但不会终止运行
program event block
number of take
Record selection screen controls
Implement selection screen dynamics
Select screen events
It is PAI (button event) => PBO (event before the start of the selection screen) => fetch and output
AT SELECTION-SCREEN."选择界面PAI(回车也可以触发)
perform SELECTION_SCREEN_PAI.
AT SELECTION-SCREEN OUTPUT."选择界面PBO
Press Enter in PAI to check whether the selection screen value input is normal
Dynamically display the text after the line on the screen
Here GV_NAME is a label variable with length 10 defined by selection-screen comment.
At the same time, you need to modify the button event
Initialize event (useful)
INITIALIZATION."
GV_NAME = 'to be checked'." For those that cannot be defined, they can be assigned here
Observation Point
usage:
Click watchpoint to enter this interface
Enter observation fields and conditions
Watchpoint changes can be recorded in debug mode
Select screen events
Select screen events
Select screen events
Summarize
Summarize
normalized output
center more beautiful