SELECTION-SCREEN:BEGIN OF LINE, PUSHBUTTON 1(15) sel USER-COMMAND sel, PUSHBUTTON 17(15) unsel USER-COMMAND unsel, END OF LINE. SELECTION-SCREEN BEGIN OF LINE. PARAMETERS: c01 TYPE char1 AS CHECKBOX DEFAULT 'X'."科目 SELECTION-SCREEN COMMENT 3(15) TEXT-c01 FOR FIELD c01. PARAMETERS:...
AT SELECTION-SCREEN. PERFORM frm_excue_button. FORM frm_excue_button . CASE sscrfields-ucomm. WHEN 'FC01'. MESSAGE e053(zmm) WITH 'FC01'. WHEN 'FC02'. MESSAGE e053(zmm) WITH 'FC02'. WHEN 'FC03'. WHEN OTHERS. ENDCASE. ENDFORM. 分类: ABAP 0 0 « 上一篇:...
SELECTION-SCREEN: BEGIN OF BLOCK blk WITH FRAME TITLE TEXT-001, PUSHBUTTON 1(25) but1 USER-COMMAND search, SKIP 2 , PUSHBUTTON 1(25) but2 USER-COMMAND change, END OF BLOCK blk. INITIALIZATION. "按钮名称 MOVE '' TO but1. MOVE '' TO but2. AT SELECTION-SCREEN. CASE sscrfields-ucom...
1.SELECTION-SCREEN BEGIN OF BLOCK和SELECTION-SCREEN END OF BLOCK: 这些语句定义了三个不同的屏幕块(Block)。每个块都有一个标题,并包含不同的输入字段。这些块可用于在用户界面上组织和分组相关的参数和选择选项。 2.PARAMETERS和RADIOBUTTON: PARAMETERS语句用于定义两个参数P1和P2,它们是单选按钮(RADIOBUTTON)。
以下是一个演示如何通过 selection-screen 中的pushbutton来动态改变屏幕上的字段的显示状态的(即显示或者隐藏)。 注意:显示通过本示例可知selection-screen 中的 field 的显示状态都是的,在程序中修改其属性 active 的值为 '0' 时,该field就回隐藏起来。 但是在下一次屏幕显示前,其默认值又归为显示了。这时候可...
selection-screen pushbutton example1user-command1234. 此语句与at selection-screen命令一起使用时,是在用户输入数据时与用户交互的好方法。语法类似于selection-screen comment,只是在用户按下按钮时传递数据。按下按钮会在at selection-screen事件中触发sccrfields-ucomm,并导入输入字段。然后可以验证此数据,并根据按...
SELECTION-SCREEN: *定义窗口,2个按钮 BEGIN OF SCREEN 500 as WINDOW TITLE tit, BEGIN OF line, PUSHBUTTON 2(12) s1 user-COMMAND c1, PUSHBUTTON 14(12) s2 USER-COMMAND c2, endof line, END OF SCREEN 500. *在单击时驱动 AT SELECTION-SCREEN. casesscrfields-ucomm. when'C1'. done= 'c1'...
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE TEXT-002. PARAMETERS: rb1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND u1, rb2 RADIOBUTTON GROUP g1, rb3 RADIOBUTTON GROUP g1 . SELECTION-SCREEN END OF BLOCK b2. 2、在 AT SELECTION-SCREEN OUTPUT 中,创建form,如下 "PERFORM frm_scre...
Solved: Hi all, I have a problem. Is there some way to creat selection-screen button (the same radiobutton group) in different blocks. the err message is [A parameter of
S3 RADIOBUTTON GROUP RAD2. SELECTION-SCREEN ULINE /1(50). INITIALIZATION. COMM1 ='Radio Button Group 1'. COMM2 ='Radio Button Group 2'. LOOP AT SCREEN. IF SCREEN-GROUP1 = 'SC1'. SCREEN-INTENSIFIED = '1'. MODIFY SCREEN. ENDIF. ENDLOOP. 选择屏幕如下所示: 在文本符号001中指定的文本...