cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms debug

Former Member
0 Kudos

Hello,

how to debug smartforms.

i need the steps for debugging smartform.

regards,

karan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Press the "TEST" icon, you'll go to SE37: here go to editor and search the point where you need to start the debug and set a break-point.

Max

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Karan,

Smartform: we dont have any direct commands or direct procedure to debug a smartform. But in indirect ways we can do it.

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

Former Member
0 Kudos

HI,

Insert Program lines and in that write

break-point or break <username>.

The control will stop here and you can debug and check the values of variables.

Regards

Subramanian

ferry_lianto
Active Contributor
0 Kudos

Hi,

One way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi Karan,

Follow these steps.

1. Execute the smartform.It will open a FM in se37 screen.

2. Press Display.

3. Press find(CTRL+F).

4. Enter command here at which you want to put the break point.

5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.

6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.

Use SMARTFORM_TRACE to trace smart forms.

Thanks,

Vinay