Ansicht
Dokumentation

ABENLOGEXP_BETWEEN - LOGEXP BETWEEN

ABENLOGEXP_BETWEEN - LOGEXP BETWEEN

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

- Ternary Comparison Operator BETWEEN

... operand $[NOT$] BETWEEN operand1 AND operand2 ...

Effect

A comparison expression with the comparison operator BETWEEN checks the assignment of an interval. The comparison expression checks whether the content of an operand operand is within a closed interval that is restricted by the operands operand1 and operand2. The ternary comparison expression is equivalent to the following combination of two binary comparison expressions:

... $[NOT$] ( operand >= operand1 AND operand = operand2 ) ...

All operands are general expression positions and the usual comparison rules apply.

Example

Check whether today is a working day and assigning the result to a variable declared inline.

DATA(work_day_flag) = xsdbool( sy-fdayw BETWEEN 1 AND 5 ).






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1523 Date: 20240425 Time: 155625     sap01-206 ( 28 ms )