‎2008 Jun 09 7:38 PM
Hello everyone,
Does anyone have any information on how to get the runtime of a program? I have a requirement for an enhancement where the users would like to see how long the program ran in the report generated. Im aware of the Get Runtime Field command but this is typically used for checking sections of a program and I think it only goes up to 16mins (1000s). If anyone has any advice or knows if their is some runtime variable please let me know.
Thanks in advance,
Regards,
C
‎2008 Jun 09 7:52 PM
Hi,
In 4.6c :
Transaction code STAT : Local Transaction Statistics
This tcode runs program RSSTAT21 .
In ECC 6:
Transaction code STAD
This tcode runs program RSSTAT26
It will ask u the user name,transaction, program name, task type
Regards,
Ranjith.
‎2008 Jun 09 7:48 PM
Hi
Get the UZEIT system field in the initalization step,
and at the end of the program where the program ends get the same UZEIT take the difference and that would be your total run time for the program .
Regards
‎2008 Jun 09 7:52 PM
Hi,
In 4.6c :
Transaction code STAT : Local Transaction Statistics
This tcode runs program RSSTAT21 .
In ECC 6:
Transaction code STAD
This tcode runs program RSSTAT26
It will ask u the user name,transaction, program name, task type
Regards,
Ranjith.
‎2008 Jun 09 7:58 PM
Ill go with sy-uzeit for now. But doesn't sy-uzeit not change during run time? Or is it sy-timlo that doesnt? I'm going to tinker with it a bit more and see what I can get to work right.