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

Formatting error in smartform

former_member185116
Active Participant
0 Likes
5,568

hello all,

when i execute my smartform driver program i am error (Formatting error) under exceptions....

what could be the problem in smartform if we get formatting error....

hello all,

when i execute my smartform driver program i am error (Formatting error) under exceptions....

what could be the problem in smartform if we get formatting error....

8 REPLIES 8
Read only

krishna_k19
Contributor
0 Likes
4,708

Hi Vinay,

      Please check the import and export parameters , it may cause the above error.

Regards,

Krishna

Read only

0 Likes
4,706

hi krishna,

the import and export parameters are fine,...

the final code is like below,

when i debug this the SY_SUBRC = 1..

what could be the reason...

Read only

0 Likes
4,706

krishna , one more thing,

when i execute the driver program after selecting print preview

it not showing the output rather it is coming back to selection screen....

same thing is happening when i execute smartform directly....

Read only

pavanm592
Contributor
0 Likes
4,706

Hi Vinay,

Check the size of windows or templates ,may be it exceeds the specified output options.

If you give the dump details you will get more relevant solutions.

Regards,

Pavan

Read only

Former Member
0 Likes
4,706

Hi vinay,

You have to check whether any of the windows or templates are getting overlapped on each other,or whether the contents are not getting fitted into the windows/template. Check the output type also .

Regards,

Sajeesh

Read only

rosenberg_eitan
Active Contributor
0 Likes
4,706

Hi,

try this..

http://lmgtfy.com/?q=site:scn.sap.com+Formatting+error+smartforms

also try:  help.sap.com Smart Form Trace

Regards

Read only

venkateswaran_k
Active Contributor
0 Likes
4,706

Hi Vinay

The formatting errors occurs whenever you use the template and in the template specifications are not correct.

Example

if you use the template of  3 rows and 2 colums and if you specify the field output specificaitons beyound this 3 rows and 2 col .. this error will occcur.

Please review

1. All the templates

2. In side each template, for the field output spcificaiton verify your row and col specifications are correct

Regards,

Venkat

Read only

Former Member
0 Likes
4,706

goto tcode sftrace, tick error and then trigger the form, if it stops at any error check the sy-msgid, sy-msgno etc