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

Former Member
0 Likes
869

I am working on a smartform.When I am trying to see the output In VL02N,it shows an error that output cannot be displayed.When I am seeing the processing logic it says "Font family ARIAL not maintained".But in my progrrame I am not using ARIAL font anywhere.what can be the reasons????

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
788

Check in the Smart style once..

Regards

sas

6 REPLIES 6
Read only

Former Member
0 Likes
789

Check in the Smart style once..

Regards

sas

Read only

Former Member
0 Likes
788

hi,

put BREAK-POINT statement in ur code then it will allow you debug the smartform.

Read only

Former Member
0 Likes
788

Hi,

If iam not wrong, ARIAL font is maintained in the smartform and not in the program.

First get the smartform name thru TNAPR table.

Then check within the smartform, u will be assiging Smartstyle name, go to that smart style and check for ARIAL font in the paragraph/charcter format.

Revrt back if any issues,

regards,

Naveen

Read only

0 Likes
788

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

Sas

Read only

GauthamV
Active Contributor
0 Likes
788

hi,

use SFTRACE transaction to debug smartforms.

Read only

Former Member
0 Likes
788

Hi,

Check the style for the smartform you have used.

and regarding debugging of smartform put a statement BREAK-POINT in any program lines of smartform.

Otherwise you can put a breakpoint on the function module which is generated for your smartform.

I hope this will help you.