In SQ02 transaction, I want to use the check command.
Can I replace the OR operator with another operator, which shorts the command?
Is there an operator like IN, which exists in SQL?
The check command is something like:
CHECK SKB1-BUKRS EQ '1000' or CHECK SKB1-BUKRS EQ '2001' or CHECK SKB1-BUKRS EQ '5221' .
Is there an operator like IN, which exists in SQL?
CHECK SKB1-BUKRS in ('1000', '2001', '5221')
When I write in the Record Processing section: START-OF-SELECTION. CHECK skb1-bukrs IN gt_ranges.


I am not an expert when it comes to
SQ02I can see however that there are sections forDATAandINITIALIZATIONso the example below should work.INoperator in ABAP (excluding OpenSQL of course) can only be used with ranges.Example: