Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Trimming internal table based on criteria

$
0
0

Dear ABAP gurus,

 

I have an internal table say itab1 which has 3 fields- date,user,terminal( 'terminal' field denotes terminal from which 'user' has logged in)

This internal table has records.

 

From this table I want a list of all those users who have logged in from more than 1 terminal

in the last 7 days (i.e. sydatum-7  to sydatum).

 

How can I get the required list in another internal table (say itab2) ?

 

(itab2 will have the same 3 fields,so required list is basically a subset of itab1)

 

Thanks,


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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