Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Evaluate the total execution time

Former Member
0 Likes
1,865

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,320

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,321

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

Read only

Former Member
0 Likes
1,320

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

Read only

0 Likes
1,320

Prakash,

The time you were referring to on the screen was RESPONSE TIME or INTERPRETATION TIME.

Regards,

Satish Kanteti

Read only

Former Member
0 Likes
1,320

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