‎2009 Oct 02 8:51 AM
Hi Expert,
Is there any tcode to do the analisi for particular subroutine. not the whole program. I has used the SE30 and ST05, that one to run whole session. not for particulary subroutine. example :
perform testing_01.
perform testing_02.
perform testing_03.
here I want to now for "perform testing_01" taken how long to run this subroutine or how milisecond. thank you
Best Regards,
Kohokoho
‎2009 Oct 02 9:05 AM
In SE30 you can maintain your own variant under "measurement restrictions". There you can enter the subroutine under "program (parts)". Haven't done this myself yet, but it sounds like it should work.
Thomas
‎2009 Oct 02 8:58 AM
do like this
DATA: t1, t2, t3, t4, t5 TYPE i.
GET RUN TIME FIELD t1.
perform testing_01.
GET RUN TIME FIELD t2.
t3 = t2 - t1.
t3 will give total runtime taken by testing_01, similarly u can repeat for other subroutines
‎2009 Oct 05 3:52 AM
Hi Kartik Tarla,
Hmm... very helpful but since Iam in production cannot change the code, I will keep your answer for my reference :). thank you
Best Regards,
Kohokoho
‎2009 Oct 05 3:54 AM
Hi Kartik Tarla,
Hmm... very helpful but since Iam in production cannot change the code, I will keep your answer for my reference :). thank you
Best Regards,
Kohokoho
‎2009 Oct 02 9:05 AM
In SE30 you can maintain your own variant under "measurement restrictions". There you can enter the subroutine under "program (parts)". Haven't done this myself yet, but it sounds like it should work.
Thomas
‎2009 Oct 05 3:57 AM
Hi Thomas Zloch,
Yes I got it according your answer. Thanks Thomas.
Best Regards,
Kohokoho
‎2009 Oct 02 9:28 AM
trace everything with SE30 and check the detail result.