cancel
Showing results for 
Search instead for 
Did you mean: 

Tracing an Application

Former Member
0 Kudos
203

Is it possible to trace a web dynpro application that runs in the portal?

If so, how?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am attempting to trace the methods that are invoked when a particular

SRM 7 procurment document is eidited and saved in the portal.

I have identified the floorplan application as /sapsrm/wda_l_fpm_oif

I go to its HTTP Service entry and activate runtime analysis under my user id.

I then navigate to the document in the portal through a hyperlink, enter edit mode

and save some changes.

I then return to transaction SICF and deactivate the trace. Finally I go

to SE30 and look for a trace file and find none.

I have used this procedure when tracing other Web Dynpro applications

that do not run in the portal.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

With the portal there could be a couple of complications. If you are user mapping turned on in the portal you might be getting connected to the backend system as a different user than you expect. If you are on a 7.01 based NetWeaver system, press CTRLALTSHIFT+P to open the performance monitor. The overview tab will show you the user you are logged onto as well as the host.

The other complication is that with the portal you could be getting load balanced to a different ABAP application server than the one you set tracing on (if your backend has more than one app server = common in production). You might have to set the trace on each backend application server.

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Yes you can do STAD, SQL Trace, Runtime Analysis, Memory Snapshots, etc. Here is a page with various videos that show how to use each of these trace tools in connection with Web Dynpro ABAP:

http://www.sdn.sap.com/irj/sdn/nw-userproductivity?rid=/webcontent/uuid/50ea87c7-e355-2d10-caba-cb6c... [original link is broken]