Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Comparing 2 internal tables

$
0
0

hi everyone,

i have a query,

i have 2 internal tables

data: begin of itab,

             col1 type i,

            col2  type i,

       end of itab,

       begin of  itab1,

       col1 type i,

       col2  type i,

     end of itab1.

 

now i have values in both fields of the internal table . now i want to compare itab-col1 = itab1-col1 and  itab-col2 = itab1-col2.

and if the  values of each record is equal then +1 nd if not equal then -1.

can anyone tel me how to do this.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>