Application Development 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: 

smart form

Former Member
0 Kudos

how to do smart forms debugging?

8 REPLIES 8

former_member215781
Active Participant
0 Kudos

Former Member
0 Kudos

Hi,

check thi link:

Reward if useful.

Regards,

Shashi..

Former Member
0 Kudos

Hello,

Enter the static break point in one of the program lines.

e.g. BREAK-POINT.

You can create user specific static breakpoints.

e.g. BREAK <user name>

Former Member
0 Kudos

From the smartform get the function module name, open the same in se37 and put debug point at the desired position.

Former Member
0 Kudos

You can execute SMARTFORM by putting breakpoint in the print program or else you can execute in the SMARTFORMS Tcode only by F8 then it will show the corresponding function module name again PRESS F8 then there will be Debugging button in the application tool bar by pressing that you can debug.

Former Member
0 Kudos

Hi,

You can debug smartform by keeping break-points, and break-points can be given through program lines.

Create a program line and add break-point or break username in the abap editor.

Thats it when you execute the form it will stop at that point in debug mode.

Regards,

Ravi K

martin_voros
Active Contributor
0 Kudos

Hi,

basically smartform is normal function module. This FM is generated during activaiton of the smarform. So you can find the name of FM corresponding to your Smartform and use the standard ABAP tools for debugging. You can also insert code into your smartform with break point.

Former Member
0 Kudos

You can debug smartform by keeping break-points, and break-points can be given through program lines.

insert static breakpoint in your code simply as

BREAK-POINT.

so now when we issue output to our smartform,it will open up in debug mode.

But sometimes when you face a problem when no output is generated for your smartform though it seems to be fine in debug mode fr breakpoints inserted, then Other way to debug your smartform is

go to transaction SMARTFORM_TRACE and click on the SWITCH ON botton for abap breakpoints-error...

now your smartform will stopt at those errors in debug mode

and you can easily trace the errors

Try this out,it really helps

Thanks

reward if useful

richa