title: How to compare two fields in same column in internal table? ABAP
body: <p>How to compare fields in same column in internal table? ABAP</p>
  
  <p>Example to compare in column A: </p>
  
  <pre><code>col A | col B
   A    |   B
   A    |   A
   A    |   A
   B    |   B
   B    |   B
  </code></pre>