Hello Anupama.
Thanks for your suggestion. But that would work for consecutive values. But, what would happen if I need to check for non consecutives values? A range o material numbers was only an example.
e.g.
from MARA
where MATNR in R_MATNR(the range contains material numbers 100239, 220432 and 942210, and only these are the ones I need). Same principle applies if I would need to query a country table, by country name, for instance.