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 debug a smartform?

Former Member
0 Likes
771

hello every one,

Can any one expalin how to debug a SMARTFORM?

Thanks 'n' regards

SUDHEER

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
734

Hi,

to debug a smartform add program lines to the page and write 'break-point' in it.

activate it and execute it.

Regards,

Amit

6 REPLIES 6
Read only

amit_khare
Active Contributor
0 Likes
735

Hi,

to debug a smartform add program lines to the page and write 'break-point' in it.

activate it and execute it.

Regards,

Amit

Read only

Former Member
0 Likes
734

you also can debug using SOFT break points.

on the display smartform screen, menu path-> ENVIRONMENT->function module NAME.

here you will the function module name,for that smartform

now goto se37 & give this name, & go in display mode, place the soft break-point(using STOP button appears on application tool bar) where ever you require.

regards

srikanth

Read only

Former Member
0 Likes
734

Hi Sudheer,

putting a break-point in a smartform is one option. But as smartfrom is a dynamic function module only, you can get the dynamic FM no and can debug that FM properly by searching a node name in the program also. and put a simple breakpoint as we do in simple report program.

I think this helps you to a understand the flow of smart form too.

regards,

Brijesh Patel

Read only

Former Member
0 Likes
734

2 ways

Dynamic:

Generate the Smartform. You'll get a Function Module generated. Display the FM and search for the statement and place the Break-Point and execute.

Static:

Place the key word BREAK-POINT and execute.

Regds,

Vinodh.

Read only

Former Member
0 Likes
734

HI

GOOD

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

Break Point.

THANKS

MRUTYUN

Read only

0 Likes
734

1.Execute the Smartform

2. Go to the funtion module

3. go to the object repository and subroutines tab in that. You will find the code of all the windows that u have in smartform.

4. You can now put soft breakpoints and run the smartform through the transaction me23 as required. It will stop at the break points.

Another way is to hard code the break points in the smartform codes.