对关键字ranges定义的range table进行append操作,有个小问题需要注意:
假设需要将范围设置在low和high两个值之间。
若append的数据中,LOW不为初始值,HIGH为初始值,则OPTION应使用GE;若LOW为初始值,HIGH不为初始值,
则OPTION应使用BT,而不是LE。
下面是SAP HELP的标准说明:
- OPTION
The data type of OPTION is C with length 2. OPTION contains the selection operator. The following operators are available:
– If HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions. Yet operators CP and NP do not have the full functional scope they have in normal logical expressions. They are only allowed if wildcards ( '*' or '+' ) are used in the input fields. If wildcards are entered on the selection screen, the system automatically uses the operator CP. The escape character is defined as #.
– If HIGH is filled, you can use BT (BeTween) and NB (Not Between). These operators correspond to BETWEEN and NOT BETWEEN that you use when you check if a field belongs to a range. You cannot use wildcard characters.