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....
ABAP Selection Screen,有些中文资料将其翻译成选择屏幕,因为 Selection Screen,最主要的用途,是给用户提供一个界面来维护输入数据,ABAP 报表读取这些输入数据之后,就能到数据库中进行相应的数据选择操作,故而译成选择屏幕。 ABAP 支持通过以下三种关键字,定义一个 Selection Screen,也就是说,仅仅通过编写纯的 ABAP...
1、定义一个标准屏幕:9001. 2、定义个subscreen控件 SUB 3、定义选择屏幕:9999 SELECTION-SCREEN BEGIN OF SCREEN 9999 AS SUBSCREEN . PARAMETERS p_werks LIKE ekpo -werks OBLIGATORY . SELECT-OPTIONS : s_ebeln FOR ekko -ebeln , s_lifnr FOR ekko -lifnr , s_aedat FOR ekko -aedat . "OBLIGATO...
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN. PARAMETERS: q1 TYPE c LENGTH 10, q2 TYPE c LENGTH 10, q3 TYPE c LENGTH 10. SELECTION-SCREEN END OF SCREEN 200. SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES, TAB (20) button1 USER-COMMAND push1 ...
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...
SELECTION-SCREENBEGINOFSCREENXXX...SELECTION-SCREENENDOFSCREENXXX. 选择屏幕的模块化,XXX是参数 :2:选择屏幕间相互调用 代码语言:javascript 复制 CALLSELECTION-SCREENXXXSTARTINGATXX. 其中,X是参数,第一个是调用的参数屏幕,第二个和第三个是调用屏幕的大小。 3...
"定义屏幕 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-SCREENBEGINOFSCREEN700.SELECT-OPTIONS:S_CPTNRFOR ZTMM0141-CPTNR,S_MAKTXFORZTMM0141-MAKTX.SELECTION-SCREENENDOFSCREEN700.调用选择屏幕:CALLSELECTION-SCREEN700STARTINGAT152ENDINGAT1004.捕捉选择屏幕的操作:--- ATSELECTION-SCREENOUTPUT.在屏幕输出之前处理 . 调用...
第一步:定义选择屏幕 SELECTION-SCREEN: BEGIN OF SCREEN 0101 AS SUBSCREEN,SELECT-OPTIONS: S_AUFNR FOR AUFK-AUFNR OBLIGATORY.SELECTION-SCREEN: END OF SCREEN 0101.第二步:在屏幕上创建一个子屏幕区域 第三步:在屏幕逻辑流的PBO和PAI中中写上调用子屏幕的语句 PBO:CALL SUBSCREEN G_SUB_...