Ansicht
Dokumentation

ABENLOGEXP_IN_SHORT_FORM - LOGEXP IN SHORT FORM

ABENLOGEXP_IN_SHORT_FORM - LOGEXP IN SHORT FORM

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

- IN, Short Form

Obsolete Syntax

... selcrit ...

Effect

This relational expression has the same effect as the comparison expression

... operand IN selcrit ...

Here, operand is the data object for which the selection table selcrit was declared using

SELECT-OPTIONS selcrit FOR operand.

The short form is only possible for selections tables declared using the statement SELECT-OPTIONS and with a statically specified data object. More specifically, the short form is not possible for ranges tables.

Notes

  • Using this short form makes a program more difficult to understand. In particular, using this short form in processing blocks that are not immediately adjacent to the declaration of the selection table declaration can make the program confusing.
  • More specifically, this short form should not be confused with a predicative method call. A call of this type is false if its result is initial, whereas the short form shown here is always true for an initial selection table.

Example

Fills a selection table s_number and evaluates it using the short form number IN s_number. The output consists of the numbers 5, 7, and 9.






TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1914 Date: 20240425 Time: 060809     sap01-206 ( 34 ms )