2008 Mar 20 12:50 PM
Hi Frnds,
I need help regarding Tcode .
I want the information of the Tcode which was last used by the user & at what time.
Do we have any table in Sap, Which updates the Tcode Used information...
ThanQ in Advance,
Murthy
hi,
check the tables CDHDR and CDPOS.
regards,
priya.
2008 Mar 20 12:57 PM
2008 Mar 20 1:00 PM
2008 Mar 20 1:08 PM
These data are not stored in transparent tables but in flat files stored on the application server and statistics in a cluster table MONI.
There are function modules to read these data, look at SAPWL_STATREC_READ_FILE
(Look at program RSSTAT20 transaction STAT to see a call of this function module)
- You have to call this (RFC enabled) function on each application server, loop through the list obtained via function module TH_SERVER_LIST
- Data for transaction usage is in table parameter v2_normal_records
Regards
2008 Mar 20 1:09 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |