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

Problem in Smartform

Former Member
0 Likes
511

Hi all,

I am facing one strange problem in Smartforms. I have developed a smartform for Purchase order .Everything is working fine. We have taken printout for several purchase orders. But, in betweeen sometimes for some purchase orders system is giving the error message as--

"You tried to display table TEMPLATE1 in a window. However, the table either is too wide for the window or a horizontal shift by the specified value is impossible because the table would then no longer fit into the window. The same error occurs if a template is too high for the current subwindow. This is usually noticed in the check when the form is activated, but in some cases (with device types such as ASCIIPRI) the table measurements have to be adapted and this does not occur until runtime. With device type ASCIIPRI, for example, only integral multiples of 1/6 inches (vertical) or 1/10 inches (horizontal) can be used for positioning. The height of a line within a template therefore changes, for example, from 3mm to 4.2mm, causing the total height of the template to increase and exceed the height of the window."

Eventhough the text to be printed in the template is adjustable to the dimensions of the template.But, still it is giving this error message.

Please suggest me some solution.

Thanx in Advance,

Durga Prasad.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
474

Dear Durga Prasad,

I think the problem is occuring because of some Standard Text that you have embedded in your smartform. Could you please check. If it is so, then check the Standard Text. If the ST is longer than 10 pages (in SO10 tcode) then it would give erratic errors.

Hope it help you.

Regards,

Deva.

2 REPLIES 2
Read only

Former Member
0 Likes
475

Dear Durga Prasad,

I think the problem is occuring because of some Standard Text that you have embedded in your smartform. Could you please check. If it is so, then check the Standard Text. If the ST is longer than 10 pages (in SO10 tcode) then it would give erratic errors.

Hope it help you.

Regards,

Deva.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
474

Hi,

Just check the width and height of the template is matching with the width and height of the window.