Different behavior: SELECT where IN pattern / check it_tab-f IN pattern
I use the pattern 'A++++' in the select-option so_akey.
Table ztab has 5 entries with the following key:
I get different results by using
a) RESULT: 1 line (A5555)
select * from ztab where akey IN so_akey.
and b) RESULT 5 lines (all entries)
select * from ztab into TABLE it_ztab.
loop at it_ztab.
check it_ztab-akey IN so_akey.
Actually I need both variants. How can I manipulate so_akey, just before excution comes to b), so b) shows the same results as a) ?