Pages

Download SAP Certification Material for FREE @ http://sap-ebooks-den.blogspot.com

Friday, June 29, 2012

Displaying Developer Traces

You can display developer traces from within the SAP System and from the operating system level.


Within the SAP System:

  1. Choose Administration -> System management -> Monitor -> ServerAlternatively, enter transaction code SM51.
  2. Select the server whose developer traces you want to display. Then choose Goto -> Traces.
  3. The system presents the list of developer traces available at the server. (The names of the files are listed below.)

  4. Choose Attributes to display summary information on the trace, including the user who created it and the time stamp.

Choose Display to display its contents.

You can also display work process traces from the Process overview function (transaction SM50) in the same menu path.


From the operating system:

  1. Log on to the correct host system.
  2. You need to access the work directory of the SAP application server whose traces you wish to see. This directory is always local, located on the host on which an SAP application server is running. You'll therefore need to log on to the host system of the SAP application server.

  3. Change to the work directory of the SAP application server.
  4. Typical menu path (UNIX; other systems similar): /usr/sap/<SYSTEM ID>/<INSTANCE>/work

    or /usr/sap/CLP/D01/work

  5. Display the list of files in the directory. (The names of the files are listed below.) Use a host system command like more to display the files.

Always display trace files from within the SAP System if you can. The files are presented in the SAP System in an easier-to-read format than they are at the operating system level.


Core files, profile and start traces: Should one of the work processes of an application server terminate abnormally with core dump, you will also find the core files in the work directory.

Further, you can display the start-up and instance profiles used by an SAP application server along with the developer traces. Server start-ups are recorded in the sapstart<n>.trc files.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...