Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: internal table max,min for particular value

$
0
0

Hi

 

 

Do like this

 

Step 1 : Take a temporary table of same type.

 

Step 2 :Now you move the same data to temp table.

 

Step 3 : You have two tables now with same data.

 

Step 4 : Sort the original table by object id and value_new  descending.(Max value on Top)

 

Step 5 : Sort the temporary table by object id and value_old  ascending.(Min Value on Top)

 

If you use read statements of both the internal tables you can get the required output.

 

Regards,

Prakash.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



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