title: SUM the NUMC field in SELECT
body: <p>I need to group a table by the sum of a NUMC-column, which unfortunately seems not to be possible with ABAP / OpenSQL.</p>
  
  <p>My code looks like that:</p>
  
  <pre><code>    SELECT z~anln1
      FROM zzanla AS z
      INTO TABLE gt_
      GROUP BY z~anln1 z~anln2
      HAVING SUM( z~percent ) &lt;&gt; 100  " percent unfortunately is a NUMC -&gt; summing up not possible
  </code></pre>
  
  <p>What would be the best / easiest practices here as I cannot alter the table itself?</p>