9
How T o T race Smartfor m Introduction If you want to debug Smartform in non-modi fiable client, then you can try debugg ing Smartform using Transaction SFTRACE. Scope e can analyse our Smart Forms using trace to watch how it wor!s and any termination caused by errors.  Step by Step Guide SFTRACE is a standard SA" transaction code a#ailable within R$% SA" systems for trace smart forms. &o to transaction SFTRACE. Switch on the trace then choose le#el to trace, often use arning and Error.

How to Trace Smartform

Embed Size (px)

DESCRIPTION

SAP Smartforms

Citation preview

Page 1: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 1/9

How To Trace Smartform

Introduction

If you want to debug Smartform in non-modifiable client, then you can try debugging Smartform usingTransaction SFTRACE.

Scope

e can analyse our Smart Forms using trace to watch how it wor!s and any termination caused byerrors. 

Step by Step Guide

SFTRACE is a standard SA" transaction code a#ailable within R$% SA" systems for trace smartforms. 

&o to transaction SFTRACE.

Switch on the trace then choose le#el to trace, often use arning and Error.

Page 2: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 2/9

Clic! on switch on button and you will then see the following

screen'

The status in trace management then changes to trace acti#e. Set the trace le#el and other o(tions. The trace out(ut is user-s(ecific. The trace is therefore only recorded with the user whoacti#ated it.Then Trace is a#ailable for your smartform transaction. Run your smartform (rogram

transaction.

Page 3: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 3/9

&o to transaction )SF*E+ ser Transaction/'

This is a demo (rogram to run smartform. E0ecute it

This is normal out(ut without any error.

Page 4: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 4/9

*is(laying the Trace in the System'

1. &o to transaction SFTRACE

2. Select a line using the (ushbuttons on the left side of the table.

%. Choose *is(lay Trace.

Page 5: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 5/9

 

Click here to continue...

Clic! dis(lay and you will then see the following trace screen'

3ow, *elete Images from system that used in smartform. se transaction SE45

6ou will see the following screen and clic! on delete.

Page 6: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 6/9

Clic! on 6es and the image is deleted from system.

nce Again e0ecute the smartform without Image.

Page 7: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 7/9

E0ecute "rogram'

sing the Smart Form trace, you can trace how a Smart Form was (rocessed during(rinting. hene#er you e0ecute the smartforms, it will sto( at the error and you can debug onwards.

Page 8: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 8/9

*is(laying the Trace in the System'

1. &o to transaction SFTRACE

2. Select a line using the (ushbuttons on the left side of the table.

%. Choose *is(lay Trace.

Clic! dis(lay and you will see the following Error Trace'

Page 9: How to Trace Smartform

7/21/2019 How to Trace Smartform

http://slidepdf.com/reader/full/how-to-trace-smartform 9/9

Error is highlighted below.

If a user has acti#ated the trace, Smart Forms creates a trace e#ery time this user calls a Smart Form,

e#en if they ha#e left transaction SFTRACE. The trace can be #iewed in the system or downloaded as

a file in this transaction.