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

Re: How to display rows in PSA having count(wbs) >1

$
0
0

Hi Ingrid,

 

following ABAP returns all languages which more than one user is assigned to.

 

data: l_langu type usr01-langu.
data: l_Num type i.

SELECT count( * ) langu
  into (l_Num, l_langu)
FROM usr01
GROUP BY langu
   having count( * ) GT 1.
  write: / l_langu, ' - ', l_num.
endselect.

 

 

e.g. language E is assigned to 27 users.

 

Hope this gives you an idea.

 

Regards,


Jürgen

 

 


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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