SELECTION-SCREEN COMMENT[/][pos|POS_LOW|POS_HIGH](len) {text|{[text]FOR FIELD sel}} [VISIBLE LENGTH vlen] [MODIF ID modid] [ldb_additions]. Extras: This statement creates an output field on the currentselection screenand enters the content oftextin this field. Intext, either the name...
SELECTION-SCREEN COMMENT 1(14) TEXT-004 MODIF ID MD2. PARAMETERS: P_SEL TYPE RLGRAP-FILENAME MODIF ID MD2 . SELECTION-SCREEN END OF BLOCK BLK01. AT SELECTION-SCREEN OUTPUT. PERFORM FRM_SET_SCREEN."选择屏幕字段集设置 "在AT SELECTION-SCREEN中循环SCREEN系统变量,把需要修改的画面元素的属性进行相...
SELECTION-SCREEN POSITION 1. "1是RADIOBUTTON横坐标 PARAMETERS:s_add TYPE c RADIOBUTTON GROUP g1 USER-COMMAND is_cur DEFAULT 'X'. SELECTION-SCREEN COMMENT 2(7) TEXT-003 FOR FIELD s_add. "2是文本横坐标,7是文本长度 *第二个RADIOBUTTON SELECTION-SCREEN POSITION 11. "11是RADIOBUTTON横坐标 P...
SELECTION-SCREEN:END OF BLOCK b2. SELECTION-SCREEN: FUNCTION KEY 1. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT (12) s_text MODIF ID cj. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT (60) s_text1 MODIF ID cj. SELECTION-SCREEN END OF ...
SELECTION-SCREEN END OF BLOCK b1. START-OF-SELECTION. lv_checkbox = p_checkbox. IF lv_checkbox = abap_true. lv_data_field1 = 'Data Field 1'. lv_data_field2 = 'Data Field 2'. ELSE. lv_data_field1 = ''. lv_data_field2 = ''. ENDIF. WRITE: / 'Data Field 1:', lv_...
SCREENCOMMENT(X)TEXT-T01FORFIELDR_BTN1." 单选按钮的描述文本X标识文本显示长度FORFIELD后缀联合按钮和文本SELECTION-SCREENPOSITIONY." 后面的元素的起始位置为Y,需要注意Y必须比X大,否则会导致编译报错PARAMETERSR_BTN2RADIOBUTTONGROUPG1.SELECTION-SCREENCOMMENT(X)TEXT-T02FORFIELDR_BTN2.SELECTION-SCREENENDOF...
语法类似于selection-screen comment,只是在用户按下按钮时传递数据。按下按钮会在at selection-screen事件中触发sccrfields-ucomm,并导入输入字段。然后可以验证此数据,并根据按钮的用途发出消息。以下示例说明了如何使用两个按钮来确定报告所选数据的语言。
ABAP Selection Screen,有些中文资料将其翻译成选择屏幕,因为 Selection Screen,最主要的用途,是给用户提供一个界面来维护输入数据,ABAP 报表读取这些输入数据之后,就能到数据库中进行相应的数据选择操作,故而译成选择屏幕。 ABAP 支持通过以下三种关键字,定义一个 Selection Screen,也就是说,仅仅通过编写纯的 ABAP...
SELECTION-SCREEN COMMENT ...***在屏幕上画线.SELECTION-SCREEN ULINE ...***Begind(end)of line包含的屏幕参数将在同⼀条直线上.SELECTION-SCREEN BEGIN OF LINE...SELECTION-SCREEN END OF LINE...***设置屏幕位置.SELECTION-SCREEN POSITION...***在应⽤⼯具条上创建按钮响应事件 SELECTION-SCREEN ...
SELECTION-SCREEN SKIP 1. "产生空行 SELECTION-SCREEN BEGIN OF LINE . "将元素排列到一行 SELECTION-SCREEN END OF LINE. SELECTION-SCREEN ULINE. "画直线 SELECTION-SCREEN COMMENT 10(20) TEXT-001."屏幕上输出文本 SELECTION-SCREEN BEGIN OF BLOCK BK1 WITH FRAME TITLE TEXT-002. SELECTION-SCREEN END OF...