2009 Nov 19 9:57 AM
HI experts,
I want to create a custom Program for to find how many times a custom program is executed by user . i searched in STAD. But i ididnt get stsndard tables. can anyone explain which table the data is available?.
Regards,
Varadarajan.R
HI experts,
I want to create a custom Program for to find how many times a custom program is executed by user . i searched in STAD. But i ididnt get stsndard tables. can anyone explain which table the data is available?.
Regards,
Varadarajan.R
2009 Nov 19 10:44 AM
STAD data is held in a file on the application server directories rather than database tables. It is also a cyclic file of fixed size, which will overwrite on an ongoing process, so the data will only be held for a period dependent upon how busy your system is.
The data can be read into a program via function SAPWL_READ_STATISTIC_FILES.
2009 Nov 20 3:36 AM
HI ,
I Tried that Function module. But i am not getting the correct input. I dont know where i give the program or transaction name?
Can u solve tgis problem please ?
Regards,
Varadarajan.R
2009 Nov 20 8:22 AM
To cannot pass the program name as selection criteria to the function module.
But if you retreive all the data by date selection, then the program name can be found in ALL_STATS which is a table, element RECORD which is also a table, field REPORT.
So retrieve the data and then loop through looking for the program in this field.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |