SELECTION-SCREEN中可以包含PARAMETER,SELECTION-OPTIONS,SELECTION-SCREEN,但是screen不能嵌套。 定义的SELECTION-SCREEN可以在Dynpro,PBO,PAI调用使用call screen, call subscreen嵌入子屏幕或Tabstrip。 示例1: "创建selection screens"TITLE:指定title"AS WINDOW:显示为弹窗SELECTION-SCREENBEGINOFSCREEN500TITLE title ASWIND...
再次进入选择屏幕时,进入上次退出的页签 REPORTZTEST_SELECT_SCREEN.SELECTION-SCREENBEGINOFSCREEN100AS SUBSCREEN.SELECTION-SCREENBEGINOFBLOCKb1WITHFRAME TITLETEXT-001.PARAMETERS: p_bukrsTYPEbukrs DEFAULT'E100'.SELECTION-SCREENBEGINOFLINE.SELECTION-SCREENCOMMENT1(31)TEXT-c01.PARAMETERS: p_check AS CHECKBOX....
SELECTION-SCREENBEGINOFSCREENXXX...SELECTION-SCREENENDOFSCREENXXX. 选择屏幕的模块化,XXX是参数 :2:选择屏幕间相互调用 代码语言:javascript 复制 CALLSELECTION-SCREENXXXSTARTINGATXX. 其中,X是参数,第一个是调用的参数屏幕,第二个和第三个是调用屏幕的大小。 3:子屏幕 AS SUBSCREEN.作为子屏幕的参数 4:选择...
ABAP Selection Screen,有些中文资料将其翻译成选择屏幕,因为 Selection Screen,最主要的用途,是给用户提供一个界面来维护输入数据,ABAP 报表读取这些输入数据之后,就能到数据库中进行相应的数据选择操作,故而译成选择屏幕。 ABAP 支持通过以下三种关键字,定义一个 Selection Screen,也就是说,仅仅通过编写纯的 ABAP...
1. SELECTIION-SCREEN的語法: SELECTION-SCREEN BEGIN OF SCREEN SCR. ... SELECTION-SCREEN END OF SCREEN SCR. 2. 通过SELECTION-SCREEN定义窗体。(当从一个主屏幕中来调用基程序中的另一个窗体时,... 查看原文 子屏幕的创建 :SELECTION-SCREENBEGINOFSCREENscr.SELECTION-SCREENENDOFSCREENscr.示例: 效果如...
有时候标准屏幕不能达到想要的效果, 比如: 标准屏幕没有 SELECT-OPTIONS : 下面实现标准屏幕调用选择屏幕: 1、定义一个标准屏幕:9001. 2、定义个subscreen控件 SUB 3、定义选择屏幕:9999 SELECTION-SCREEN BEGIN OF SCREEN 9999 AS SUBSCREEN . PARAMETERS p_werks LIKE ekpo -werks OBLIGATORY . ...
"定义屏幕 SELECTION-SCREEN BEGIN OF SCREEN 1100. PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'. SELECTION-SCREEN END OF SCREEN 1100. CLASS c_user_dialogs DEFINITION. PUBLIC SECTION. METHODS:m_user_dialog. ENDCLASS. CLASS c_user_dialogs IMPLEMENTATION. METHOD m_user_dialog. "selection ...
SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN [NO INTERVALS] [NESTING LEVEL n]. ... SELECTION-SCREEN END OF SCREEN dynnr.Additions 1. ... NO INTERVALS 2. ... NESTING LEVEL n Effect These statements have the same function as the statements for creating selection screens as ...
SELECTION-SCREEN BEGIN OF SCREEN 100. PARAMETERS p_carrid TYPE spfli-carrid. SELECTION-SCREEN END OF SCREEN 100. TYPES spfli_tab TYPE STANDARD TABLE OF spfli. DATA: carrid TYPE spfli-carrid, table TYPE spfli_tab, arc TYPE sy-subrc. START-OF-SELECTION. PERFORM get_carrid CHANGING carrid...
自定义Screen 100,上面放置选择条件的子屏幕控件,下面放置展示ALV的容器控件: 屏幕制作器界面.png 子屏幕选择界面: SELECTION-SCREENBEGINOFSCREEN101ASSUBSCREEN.SELECTION-SCREENBEGINOFBLOCKbk1WITHFRAMETITLETEXT-001.SELECT-OPTIONS:s_equnrFOReqbs-equnr,"设备号 ...