Posted: Sun Nov 25, 2007 12:55 pm Post subject: List of the most annoyed (performance) users of a specif day
Create a rank list of the most annoyed users (because of the performance) of a specific day
Code:
*
* This program creates a rank list of the most annoyed users (because of
* performance) of a specific day.
* A user is more annoyed if he has to wait a lot (average response time is high)
* many times (high number of dialog steps).
*
REPORT ZUSRANOY LINE-SIZE 120.
DATA: BEGIN OF APPLICATION_STATISTIC OCCURS 200.
INCLUDE STRUCTURE SAPWLUSTCX.
DATA: END OF APPLICATION_STATISTIC.
DATA: BEGIN OF INSTANCES OCCURS 10.
INCLUDE STRUCTURE RZLLIAPSRV.
DATA: END OF INSTANCES.
DATA: AVG_RESPTIM TYPE I, DEST(8), ANNOYANCE TYPE F, IANOY TYPE I, I
TYPE I.
DATA: BEGIN OF RESULT OCCURS 100,
ACCOUNT LIKE APPLICATION_STATISTIC-ACCOUNT,
ENTRY_ID LIKE APPLICATION_STATISTIC-ENTRY_ID,
DCOUNT LIKE APPLICATION_STATISTIC-DCOUNT,
RESPTI LIKE APPLICATION_STATISTIC-RESPTI,
AVG_RESPTIM TYPE I,
IANOY TYPE I,
END OF RESULT.
PARAMETERS: DATE TYPE D DEFAULT SY-DATUM.
CALL FUNCTION 'SMLG_GET_DEFINED_SERVERS'
TABLES: INSTANCES = INSTANCES.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.