2011 Mar 24 6:17 AM
Hi,
I need to find the total execution time taken upon executing a function module. I tried to output the system time in the start of the FM and at the end of the FM. But the time taken in execution in the DEV system could be lessthan 1 sec, which is not visible to evaluate.
Any one with an idea, please help.
Regards,
Satish Kanteti
2011 Mar 24 6:21 AM
Hi,
you can check the difference with
GET RUN TIME FIELD f.
Take both values before and after fm and you get the difference in µs.
Regards,
Klaus
2011 Mar 24 6:21 AM
Hi,
you can check the difference with
GET RUN TIME FIELD f.
Take both values before and after fm and you get the difference in µs.
Regards,
Klaus
2011 Mar 24 6:35 AM
Hi,
You can check that in t.code - se37 itself.
Execute any Function Module in SE37 .
In the Result Screen you can see the Run time in Micro Seconds
Regards,
Prakash.k
2011 Mar 24 6:59 AM
Prakash,
The time you were referring to on the screen was RESPONSE TIME or INTERPRETATION TIME.
Regards,
Satish Kanteti
2011 Mar 24 6:36 AM
Hi,
You can use like below
DATA T TYPE I.
GET RUN TIME FIELD T.
WRITE: / 'Begin Runtime', T.
*Call FM
GET RUN TIME FIELD T.
WRITE: / 'End Runtime', T.
For more details check the link below
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db994235c111d1829f0000e829fbfe/content.htm