SAP WHERE LOGEXP LIST
Get Example source ABAP code based on a different SAP table
ARTICLE
• IN ( ) WHERE
• NOT IN ( ) WHERE
• , WHERE IN
Syntax
Effect
This expression is true if the value of the column
Example
Reading the bookings in which the class does not lie in the value range (C - Business, F - First, Y - Economy) of the corresponding domain in the ABAP Dictionary. DATA sbook_tab TYPE TABLE OF sbook.
SELECT *
FROM sbook
INTO TABLE sbook_tab
WHERE class NOT IN ('C','F','Y').
IF sy-subrc = 0.
'Error handling
ENDIF.