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

Smartform debugging

Former Member
0 Likes
752

Hi friends

Can you please give me the procedures to debud the smart form.

Thanks

hari

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
707

Hi

You have to debug the fm generated from the smartform.

So if you need to start your debug from certain point:

run trx SE37, search your point (using the names of the nodes) and then set a break-point.

Max

6 REPLIES 6
Read only

Former Member
0 Likes
708

Hi

You have to debug the fm generated from the smartform.

So if you need to start your debug from certain point:

run trx SE37, search your point (using the names of the nodes) and then set a break-point.

Max

Read only

Former Member
0 Likes
707

hi for smartform debb keep the break point on function module in the main program (which yu are getting that function module while executing the smartforms)

Read only

vivekkrishnan
Active Participant
0 Likes
707

Hi Hari ,

If you are using a program lines in the smartforms ,you can hardcode break-point statement .

You can also use break <user name> .

Thanks ,

Vivek .

Read only

Former Member
0 Likes
707

Hi,

Go to Tcode: SMARTFORMS

1) Open the form and Double click on 'Global Definitions'

2) Click on 'Initialization' Tab at right side

3) Write code as 'BREAK-POINT'

Another method is

Create program lines whereever you want stop the program and write code 'BREAK-POINT' in program lines.

Read only

sridhar_k1
Active Contributor
0 Likes
707

Another way to debug smartforms is using transaction SFTRACE (SMARTFORM_TRACE before 6.10). switch on trace before executing smartform, trace off after execution and check the log.

Regards

Sridhar

Read only

Former Member
0 Likes
707

Hai Hari,

Smartform:1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

2.You can debug the function module which generates the smartform.

Regards

Sreeni