Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to trace debug smartform?

Former Member
0 Likes
1,040

Hi

how to debug debug smartform?

1 ACCEPTED SOLUTION
Read only

bpawanchand
Active Contributor
0 Likes
874

use SMARTFORM_TRACE Txn

6 REPLIES 6
Read only

Former Member
0 Likes
874

HI manooj,

Before posting any thred please search the thread.

Seach by Debug Smart form u will get so amny threads.

see the following link.

Steps to debug smartfrom

For debugging Smart Forms :

1) Execute ur smartform -->> Gives Function Module

2) Again Execute SmartForm(Function Module Screen).

-


>> next screen shows.

Execute and Debugging.

Read only

bpawanchand
Active Contributor
0 Likes
875

use SMARTFORM_TRACE Txn

Read only

Former Member
0 Likes
874

hi Manooj,

open the smartform, select the environment -


> functionmodule copy that function module and goto se37 paste the function module which u copied and display then set the break point where ever you want.

now u execute the smartform, then debuger will start working

Read only

Former Member
0 Likes
874

Hi Manooj,

You can keep have the keyword as "Break-point" in the smartform's condition statement.

Then, when you execute it, the FM will leads to your break-point condition.

<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>

Regards,

Gokul.N

Edited by: Alvaro Tejada Galindo on Oct 28, 2008 1:54 PM

Read only

0 Likes
874

Hi,

Using SMARTFORM_TRACE transaction will help you decide at what level do you want your smartform to stop in debugging - error, warning, page, etc....

But the better way would be if you can insert the hard code (BREAK-AKEDIA) where AKEDIA is ur username in the smartform, that way you will stop exactly here you want to, and a piece of advice though not recommended by many, it is very useful to have a user designated break point on the 1st line of your smartform always as this will help you as a developer to debug any smartform developed by you any where, I mean in DEV, QAD or PRD, you need not worry and can easily debug.

Best regards,

Ankit

Read only

Former Member
0 Likes
874

Hi

i think the best way to debug one smart form is write

"break <user-name>" in each program lines in smart form....then at execution mode very time the debugger will stop to each code.....if there is no program lines in your smart form then explicitly add two program lines....1) at the starting of the smart form

2) the place is your choice....just before the variable for which you want check the value.......

Arunima