DATA - RANGE OF
来源:互联网 发布:c 编程主要应用 编辑:程序博客网 时间:2024/05/22 14:34
DATA -RANGE OF
Syntax
DATA rtab {TYPE RANGE OF type}|{LIKE RANGE OF dobj}
[INITIAL SIZE n]
[WITH HEADER LINE]
[VALUE IS INITIAL]
[READ-ONLY].
Effect
This statement defines a ranges tablertab with the table type described in the section TYPES -RANGE OF. The table type defined here, however, is not independent, but exists as a propertyof the data objectrtab.
The WITH HEADER LINE addition, which is not allowed withinABAP objects, declares an additionalheader line , as in the declaration of arbitrary internal tables in the section DATA -TABLE OF.
In the definition of a ranges table prior to Release 6.40, no start value could be specified with the addition VALUE. Since Release 6.40,IS INITIAL can be specified as a start value.
Note
The declaration of a ranges table with the statement RANGES is obsolete.
Example
In this example, a ranges table is declared, filled, and evaluated in the WHERE conditionof a SELECT statement.
DATA: spfli_wa TYPE spfli,r_carrid TYPE RANGE OF spfli-carrid,
r_carrid_line LIKE LINE OF r_carrid.
r_carrid_line-sign = 'I'.
r_carrid_line-option = 'BT'.
r_carrid_line-low = 'AA'.
r_carrid_line-high = 'LH'.
APPEND r_carrid_line TO r_carrid.
SELECT *
FROM spfli
INTO spfli_wa
WHERE carrid IN r_carrid.
...
ENDSELECT.
- DATA - RANGE OF
- DATA - RANGE OF
- Data truncation: Out of range value
- com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value adjusted for column 'price'
- fractal modeling of natural terrain: analysis and surface reconstruction with range data
- comparison is always true due to limited range of data type 编译warning
- Data truncation: Out of range value for column '列名' at row 1
- GCC(ARM) warning: comparison is always true due to limited range of data type
- [MySQL学习]STRICT_ALL_TABLES对应的OUT of RANGE VALUE FOR COLUMN和DATA truncated FOR COLUMN
- Data truncation: Out of range value for column 'ID' at row 2
- 解决SPSS Modeler sql data type out of range<-25>报错
- 插入数据库 出现 Data truncation: Out of range value adjusted for column 'id'....的问题
- Exception:Data truncation: Out of range value for column 'phone' at row 1异常问题
- Access out of range
- range of type
- Count of Range Sum
- pointerIndex out of range
- vector subscript out of range
- Ice笔记---Ice run time详述(一)
- as3.0 Flex 图像处理
- Android应用实例之(二)----->Android Widget开发案例(worldcup)
- oom-killer
- [好文推荐] 你不必非要给自己找个老板
- DATA - RANGE OF
- s3c2416与s3c2440的比较
- WINCE源代码配置文件
- 网上交易安全之九阳神功-使用JAVA调用U盾进行客户认证的total solution
- select系统调用
- 017-字符串
- JS获取屏幕、浏览器、网页高度宽度
- LinearLayout
- mongoDB sharding 集群配置示例(转)