Hi Daulet,
You can execute the below query in query builder(AdminTools application)
select si_name,si_id,si_lastlogontime from ci_systemobjects where si_kind='user'
You can copy the content from query builder output and paste the results to excel.Another method would be to use BusinessObjects SDKs.
Refer to the blog series below to understand query builder basics
http://scn.sap.com/docs/DOC-42952
Thanks,
Prithvi