2006 Jun 22 6:59 AM
hi guru's
Ive 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 doesnt 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.
Ive 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.
2006 Jun 22 7:08 AM
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.
2006 Jun 22 7:10 AM
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
2006 Jun 22 7:10 AM
1)Check whetehr you have declared the tables under the table tab.
rgds,
TM.
2006 Jun 22 7:21 AM
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
2006 Jun 22 7:22 AM