Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tcode used by users with details like Date of usage, Terminal ID etc

Former Member
0 Kudos

Hi All,

My customer wants to see the Tcodes used by each user information. Initially we had developed a report which extracts data from FM  SWNC_COLLECTOR_GET_AGGREGATES. But it gives month wise cumulative data only.

But customer wants details like date of usage and Terminal ID etc.

I had searched in sdn and found that STAD tcode gives the required data. But these  details will be saved on OS file and will be deleted on a regular basis. So we can not get data.Also  could not find any function module which gives this data and terminal ID details.

But customer is very particular about these information and wants to get it stored in a ztable on a regular basis.

It will be highly appreciated if you can guide me how it can be achieved through ABAP development.

Regards,

Deepthi

3 REPLIES 3

SharathSYM
Contributor
0 Kudos

Hi Deepthi,

I got similar kind of requirement long back,

Check these:-

http://scn.sap.com/thread/614199

http://scn.sap.com/thread/598929

If you are authorized to activate SM19/SM20 then you could search some FM which could serve your purpose.

Thanks,

Sharath

raymond_giuseppi
Active Contributor
0 Kudos

You could also extract data (in every server, get list with TH_SERVER_LIST) with FM SAPWL_STATREC_DIRECT_READ (DESTINATION from previous list). Just schedule a daily job and store data in a z-table.

Regards,

Raymond

0 Kudos

8 or so years ago, when I had to do this, that's exactly what I had to do.

Neal