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

smartform

Former Member
0 Likes
713

hi guru's

I’ve developed a smartform. It is getting executed without errors. But when I try see the print preview by executing the function module, it is returning the error “Table doesn’t fit into window “.

But when I cross checked the width of Main window is 20, 70 CM while the width of table is 8, 60 CM.

I’ve defined a table with two Line types under the Main window.

Kindly provide me the solution. If it is not clear kindly send me ur email id so that I can send the screen shots for verification.

Thks in advance.

Kind regards,

David.

5 REPLIES 5
Read only

Former Member
0 Likes
649

hi ,

check the left, right margin and height too of the table and window.

if it still gives error then just for time being remove the table and try to see print preview.

let me know if you get some other error after that.

Thanks & Regards,

Swapnil.

Read only

Former Member
0 Likes
649

Hi,

Make sure you have only one table and that is where the error is.

Try to make the Talbe width also to 70 and see if it still throws a error.

Regards,

Ravi

Read only

Former Member
0 Likes
649

1)Check whetehr you have declared the tables under the table tab.

rgds,

TM.

Read only

Former Member
0 Likes
649

Hi David,

Check this note:

Symptom

During the output of SAP Smart Forms error message FORMATTING_ERROR SSFCOMPOSER 173 'Table does not fit into window' occurs.

Additional key words

SAP Smart Forms, table, template, error message

Cause and prerequisites

Usually, this error message is correct. It is output if a table or template does not fit into the window. The width of a table/template must always be smaller or equal to the width of the window. For a template, the height must also fit into the (adjacent) window.

However, a rounding error is also possible. Example: A template contains 4 line types of height 3 cm, 2 cm, 3 cm and 1 cm. The total height is 9 cm. This value is entered as the window height. However, internally the values are converted to another unit (twips) and then summed up. Due to this correction, a small tolerance is allowed (about 0,2 mm) so that the error does no longer occur.

Solution

Implement the source code corrections(for support package 4.6c. If the error still occurs correct the table or template.

<b>Check whether your window in which thi table is not overlapping with other windows...

and even you can try to download the table subnode(for back up) and redefine it.</b>

Thanks and Regards,

Bharat Kumar Reddy.V

Read only

Former Member
0 Likes
649

Hi Elango,

Make the table width to 70 CM.