cancel
Showing results for 
Search instead for 
Did you mean: 

How To debug smartforms?

Former Member
0 Kudos

Hi,

can any one explain How To debug smartforms?

Thanks&Regards,

Phani

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Simple way of debugging is to use BREAK statment in the Program Lines (Code).

The way of giving it in the program lines as given below:

BREAK AAX.

where AAX is the username with which you login into SAP.

So when you execute the form, the control will stop at the place where you have given the BREAK Statement.

Reward points if helpful.

Thanks,

karthik

Former Member
0 Kudos

Hi

for debuging smartform use

BREAK-POINT.

in program line

Also u can put some comparision value in the CONDITION option of the program line

Reward if helpful

Thanks

Krushna

Former Member
0 Kudos

Hi.

Four ways you can debugging.....

1.place SFTRACE inplace where we enter T_CODE and press ENTER.

after that press F8.

2 ./H

3 /SH

4.after generating the function module there is a button DEBUGGING

or

In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap

Break Point.

or

If you are in a non-modifiable client:

Display your SmartForm.

Go to Environment and copy the function module name.

Go to SE37 and display the function.

Go to Smartforms and copy the node name where you want to debugg.

Go to the function and search for the name in main program. Put a soft break point.

regards,

sreelakshmi

Former Member
0 Kudos

Hi

Wherever you have written the code

put break user

or function module generated by form go within it and put break point

Regards

Shiva