EDITOR TYPE REF TO CL_GUI_TEXTEDIT. DATA : M1(256) TYPE C OCCURS 0 , LINE(256) TYPE C. LINE = '请输入:'. APPEND LINE TO M1. CALL SCREEN 100. REFRESH M1. CALL METHOD EDITOR->GET_TEXT_AS_R3TABLE IMPORTING TABLE = M1. LOOP AT M1 INTO LINE. WRITE / LINE. ENDLOOP . *&-...
In the start of selection event add: SET SCREEN '100'. Create screen 100 Place a custom control on the screen by choosing the custom control icon which can be recognized by the letter 'C', and give it the nameMYCONTAINER1. To be able to exit the program, add a pushbutton with the ...
In the start of selection event add: SET SCREEN '100'. Create screen 100 Place a custom control on the screen by choosing the custom control icon which can be recognized by the letter 'C', and give it the nameMYCONTAINER1. To be able to exit the program, add a pushbutton with the ...
TEXT TYPE STRING. DATA: LINE_LENGTH TYPE I VALUE 254, EDITOR_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER, TEXT_EDITOR TYPE REF TO CL_GUI_TEXTEDIT, TEXT TYPE STRING. Then call the screen (can be any number) [plain] view plaincopyprint? START-OF-SELECTION. CALL SCREEN '100'. ...
RESET RESOLUTION RESULTS RETURN RETURNING RIGHT RIGHT-JUSTIFIED ROLLBACK ROWS RUN SCAN SCREEN SCREEN-GROUP1 SCREEN-GROUP2 SCREEN-GROUP3 SCREEN-GROUP4 SCREEN-GROUP5 SCREEN-INPUT SCREEN-INTENSIFIED SCROLL SCROLL-BOUNDARY SEARCH SECTION SELECT SELECTION SELECTIONS SELECTION-SCREEN SELECTION-SET SELECTION-TABLE...
Example 1: Creating the TextEdit control This is a simple example of how to implement a text edit control. Steps Create a report In the start of selection event add: SET SCREEN '100'. Create screen 100 Place a custom control on the screen by choosing the custom control icon which can ...
(1)SELECTION-SCREENPOSITION XX. 这条语句的作用是将该语句后面的第一个Screen element定位在这一行的XX位置,最大值为79。 (2)SELECTION-SCREENCOMMENT XX(Y) TEXT-XXX FOR FIELD XXX. 这条语句的作用是在当前行的指定列位置处输出一段文本,For field则表示文本与某个element 关联,当此语句使用时,可以不必设...
SELECTION-SCREENBEGINOFBLOCKBK1WITHFRAMETITLETEXT-T01.SELECT-OPTIONS:S_MATNRFORMARD-MATNR,S_WERKSFORMARD-WERKS,S_LGORTFORMARD-LGORT.SELECTION-SCREENENDOFBLOCKBK1. 下面开始从数据库表取数到内表,这里我把取数写成了一个Function Module,Tcode:SE37进入Function Builder:Initial Screen: ...
*表结构 DATA:BEGIN OF tab OCCURS 0.INCLUDE STRUCTURE dd03l.DATA:text(40).DATA:END OF tab.DATA:BEGIN OF t1 OCCURS 0,tabname LIKE dd02l-tabname,ddtext LIKE dd02t-ddtext,END OF t1.DATA:BEGIN OF itab OCCURS 0,field(15), "字段 key(6), "关键字 elment(15), "字段类型 type(10),...
1 ABAPTraining ▪SAP及ABAP/4Overview▪系统开发语言▪创建企业报表▪应用事务开发▪商用文档设计 2020/12/9 2 SAP介绍 ▪ERP巨人SAP:创立于1972年,ERP思想的倡导者,ERP领域中处于领导地位,全球最优秀的企业管理软件供应商 ▪SAP:System,ApplicationandProductsinDataProcessing,即数据处理的系统、应用...