title: Select from where in ( ) table?
body: <p>I want a select with dynamic <code>where</code> conditions in ABAP Syntax.</p>
  <p>An SQL Statement would look like this:</p>
  <pre><code>SELECT * FROM MCH1 WHERE MATNR IN (...) AND CHARG IN (...)
  </code></pre>
  <p>My approach was to add 2 structures <code>ZMATN_STR</code> and <code>ZCHARG_STR</code> to the dictionary with associated components as line (<code>MATNR</code>, <code>CHARG</code>).
  Then create 2 table types with associated line types.</p>
  <p>Now im stucked in ABAP because I don't know how to write the <code>where</code> clause.
  That's what I have so far:</p>
  <pre><code>SELECT *
   FROM
    mch1
    FOR ALL ENTRIES IN @matnrs
   WHERE
      matnr = @matnrs-matnr
  INTO TABLE @DATA(lt_result).
  </code></pre>
  <p>It works for either matnr or charg but not with both of them.</p>
  <p><strong>Additional Info</strong></p>
  <p>This select happens in a function module where 2 import parameter exists (the 2 table types) - so I cannot just write <code>where in ('xxx', 'yyy')</code></p>