04-20-2006 12:44 PM
Is there a way to perform profiling for ABAP and BSP programs. I would like to look for the bottelnecks in my BSP application.
04-20-2006 12:56 PM
Hi Gadi,
Your best bet is probably transaction SE30 (Runtime Analysis) for ABAP. I'm not sure about BSP. I will get back to you on that one.
Cheers,
Martin
04-20-2006 1:08 PM
A very handy thing to know with SE30, by the way is the following:
Create a user variant on the front screen, and in its maintenance, go to the last tab (Duratn/type). Set the aggregation to None. This way, the system provides lots of information on calls by different call types, and you will have more information at your disposal to check the performance of specific parts of your application.
For BSP apps, why not try adding the following statements:
SET RUN TIME ANALYZER ON.
in the OnInitialization event and
SET RUN TIME ANALYZER OFF.
in the OnDestroy event.
I wouldn't know offhand how else you would do a runtime analysis on a BSP application.
04-20-2006 1:05 PM
In the Advanced BSP Programming book there is a quite detailed chapter about this topic.
Unfortunately I don't have the book with me, but as far as I remember, there are some external tools to check the network load and you can use the "normal" ABAP tools for checking the server side load, like:
SE30, ST05, STAT
For BSP you can also use SMICM.
Peter
04-27-2006 8:35 PM
You can enable the runtime analayis for any Internet call via the transaction SICF. There all BSP´s, Web Dynpros, .. are displayed in a tree like structure.
Via the menu edit/runtime analysis/activate you can activate the se30 for your BSP.
Best Regards
Klaus