abap 整洁之道
https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP_zh.md
支持 in 语法 in (’12‘,’34‘)
SELECT mainquery_clauses
[UNION ...]
INTO|APPENDING target
[UP TO ...] [OFFSET ...]
[abap_options].
...
[ENDSELECT].
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapselect.htm
... operand [NOT] IN ( SELECT subquery_clauses [UNION ...] ) ...
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenwhere_logexp_in_subquery.htm
DATA: carr_id TYPE spfli-carrid VALUE 'LH',
conn_id TYPE spfli-connid VALUE '400'.
SELECT SINGLE city, latitude, longitude
FROM sgeocity
WHERE city IN ( SELECT cityfrom
FROM spfli
WHERE carrid = @carr_id AND
connid = @conn_id )
INTO (@DATA(city), @DATA(lati), @DATA(longi)).
ALL ANY SOME 语法
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenwhere_logexp_all_any_some.htm