TABLE1 TYPE VECTOR, TABLE2 TYPE ITAB, END OF DEEPLINE. TYPES DEEPTABLE TYPE DEEPLINE OCCURS 10. 语法: DATA <f> <type> OCCURS <n> [WITH HEADER LINE]. 使用DATA语句 DATA FLIGHT_TAB LIKE SFLIGHT OCCURS 10. 本示例创建数据对象FLIGHT_TAB,其结构与数据库表格SFLIGHT相同。 DATA: BEGIN OF I...
internal table 中文叫做内表,本质是一个多行的容器,类似C#里一个结构的数组。work area 中文叫做工作区,它是内表的一个行,类似C#里的一个结构。之所以经常给内表定义工作区,是为了操作内表数据方便,因为虽然内表有多行数据,但是你一次只能针对一条数据来处理,这条数据就放在工作区。
http://www.sap-img.com/abap/difference-between-work-area-and-header-line.htm 我翻译下,嘿嘿 在对内表进行一些操作的时候,比如增加或者取回一条记录.我们必须暂时保存这条记录. 这条记录就保存在内表的工作区里(work area).内表的工作区必须和内表有相同的结构. 内表由主体(body)和一个可选的标题行(h...
DATA: it_mytable TYPE TABLE OF Z_TABLEA, wa_mywork LIKE LINE OF it_mytable. Z_TABLEA is a table existing in the dictionary. I am getting now an error in the ABAP editor: The internal table "it_mytable" has no header line - explicit specification of an output area with "INTO wa...
In the new ABAP Debugger, you can use the Table Tool to display and work with the contents of internal tables. This section shows how to do the following: Change the column layout in an internal table so that you can see the columns you want to see Include fields from nested structures...
When you create an internal table you can also declare a header line with the same name. You can use the header line as a work area when you process the internal table. The ABAP statements that you use with internal tables have short forms that you can use if your internal table has ...
ABAP Development Programming Tool View products (1) Hello I am trying to use a database and select all records from it and store them into an internal table. My code: Select * from xixi_dbcurrency into table gt_currency. The error: "The type of the database table and work area (or...
SAP ABAP 小问题 010---work area not long enough 王姐姐不要啊 编辑于 2023年04月17日 16:59 收录于文集 SAP ABAP小问题 · 49篇 SAPABAP 分享至 投诉或建议 评论 赞与转发
SAP Managed Tags: ABAP Development Hello, Apart from using INTO CORRESPONDING clause in select statement, Also remove OCCURS addition from internal table declaration as it is obsolute. Instead you can create user defined type using TYPES and then use it to create internal table using TYPE TABL...
0 Kudos 4,026 SAP Managed Tags: ABAP Development hi alex, append from work area will append the record at the end of internal table. using append line you can add no of records at a time into internal table <b><i>Reward points if useful</i></b> Chandra Reply ...