title: How to change loop with SELECT in abap to field-symbol
body: <p>I have a code like this:</p>
  
  <pre><code>i_mahn is a itab.
  Data: gt_mahn type table of i_mahn,
  gs_result type i_mahn.
    LOOP AT gt_mahn into gs_result
      SELECT * FROM mhnd
                   INTO gs_mhnd
                   WHERE laufd EQ gs_result-laufd
                   AND   laufi EQ gs_result-laufi
                   AND   cpdky EQ gs_result-cpdky
        MOVE-CORRESPONDING gs_mhnd TO gs_result.
      ENDSELECT.
    ENDLOOP.
  </code></pre>
  
  <p>and I want to change it to a loop with a field symbol but how? I know that the field-symbol only contains the positions of where the information have been but I dont know how to use the field symbol withe the select in this case....</p>
  
  <pre><code>field-symbols: &lt;gs_mahn&gt; like line of gt_mahn
    LOOP AT gt_mahn appending &lt;gs_mahn&gt;
      SELECT * FROM mhnd
                   INTO ???
                   WHERE laufd EQ &lt;gs_mahn&gt;-laufd
                   AND   laufi EQ &lt;gs_mahn&gt;-laufi
                   AND   cpdky EQ &lt;gs_mahn&gt;-cpdky
        MOVE-CORRESPONDING ??? TO ???.
      ENDSELECT.
    ENDLOOP.
  </code></pre>