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

Runtime Analysis with BSP's

Former Member
0 Likes
493

Hello,

I'd like to run the Runtime Analysis on BSP with:

CL_ABAP_TRACE_SWITCH=>ON.

SET RUN TIME ANALYZER ON.

CALL METHOD tsrep_model->SET_APPR_LIST_LM.

SET RUN TIME ANALYZER OFF.

CL_ABAP_TRACE_SWITCH=>OFF.

but I don't get any performance file, how could I manage to do this as the code is run in a controller and not a standard program.

Thx,

Tanguy

2 REPLIES 2
Read only

Former Member
0 Likes
414

Try to use the button 'User/Service' to activate the trace.

Siegfried

Read only

0 Likes
414

In fact, I now do it like this:

Go to transaction SICF, and activate Runtime Analysis.

Go to SE80, run my BSP.

Go back to SICF, stop Runtime Analysis.

Go to transaction SE30 and read your analysis.