Skip to Content
avatar image
Former Member

Slow Web Dynpro Applications

Hi all,

Could anyone give some guidelines in order to reduce or minimize the request time for web dynpro applications. So far I could check the following pattern:

When I request a WD app conected to the ABAP stack of the same server using JCO the first time could take more than 30 seconds, the second time could be around 15 seconds and the third time could be less than five seconds. On each time I closed the browser and start over. If I restart my computer I got the same pattern. But If I clear all my cache and even delete the temporally files from my computer the first request to my WD app would be less than 5 seconds.

Could some one explain me how the Web Dynpro Runtime Environment and the browser cache works. Is there any configuration in order to recuce the cache files or maybe a workaround in ordet to reduce the request time without clearing the browser cache an temporally files.

Any suggestion, documentation or OSS notes would be appreciated.

Regards,

Orlando Covault

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 08, 2011 at 07:42 PM

    You should first analyze where exactly the time is spent. Maybe the Web Dynpro console tool can help you with that:

    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/03/10b540e4c5782ae10000000a155106/content.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2011 at 04:32 AM

    Another suggestion will be to minimize the use of Group and Tray UI (especially nested). Transparent containers can be used instead. This will reduce the view rendering time a lot.

    Also try to minimize coding in the wdDoModify() method.

    Regards,

    Sayan Ghosh

    Edited by: sayan ghosh on Apr 11, 2011 10:02 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2011 at 02:18 PM

    Hi Ocovault,

    While considering the few major flaws which developers generally do like overloading the hook methods like wdDoModify() and wdDoInit() should be avoided. keeping the methods simple and loosely coupled is also a good idea to optimise the performance you can recheck the methods for complex looping and keep it as simple as possible. Avoid repeated modification of view layouts when not necessary. Optimise Controller Life spans by changing it to when visible are the few tips which can make a huge difference for webDynpro application's performance. For detailed explanation please have a look to this Document which is really very effective and i specially recommend it for such cases. [Best-Practices for Optimizing Web Dynpro Java Application Performance|http%3A%2%2Fwww.sdn.sap.com%2Firj%2Fscn%2Fgo%2Fportal%2Fprtroot%2Fdocs%2Fmedia%2Fuuid%2Fd0857b3b-0775-2b10-60ac-ea031d35b6d9&ei=dwqjTff8K4POrQfwm5SFBw&usg=AFQjCNFusyav3e7PY6bDwwSjTL1qQDPZxA]

    Regards

    Jeetendra

    Add comment
    10|10000 characters needed characters exceeded