Application Development 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: 

Smartforms

Former Member
0 Kudos

Dear All,

My main window is exactly fitting when i execute with single line item. But executing multiple line Items main window doesn’t fit with in the window. how to expand the window based on line item ? What could be the trouble?  It should be connecting next window exactly for all types lines items…How to do?

Herewith I enclosed the screenshot for your verification. Thanks 

8 REPLIES 8

former_member190103
Participant
0 Kudos

Hi Selvaraj,

Main window is dynamic i.e. if there is more data it will overflow to next page. Now what i understand by your concern is that you need a fix format which shall be always same in display. If you are using table it will float according to the Lines in the Itab.

What we do to avoid this we use to create a secondary window exactly the size of the main window with same height/width/alignment and create the template inside this window. This acts as a outer frame which will be fixed and does not depends on the number of data.

Others has also suggested you to use this in the same way.

Mark the answer correct or helpful if it helps to resolve the issue as it will be helpful to others who are facing the similar problem, they can identify the correct/helpful answer.

Cheers,

Sravan

Former Member
0 Kudos

Main window will flow to multiple pages if data is there.For your requirement you can include the

secondary window content which is getting overlapped in main window.It will resolve your issue.

Former Member
0 Kudos

hi Saravanan,

What i can assume from your screen shot of output is that, Your main window having 'Material Desc' field flows when there are multiple line items and overlaps data inside the secondary window with text 'Value' and Cash Discount etc.

I think the problem is in the layout design of your form. Your main window data is bound to flow and will accomodate all the line items. If you do not want overlappings in your form, check your form in FORM PAINTER, you can clearly see the area of page covered by each window. You can assign and place windows in Form Painter and have a neat output.

Hope this helps in some way. Revert if still in doubt.

Regards,

DN.

Former Member
0 Kudos

Hi,

It seems that the fields 'Description of goods', 'Price' etc are in main window and

rows 'Value','cash discount' etc. are in secondary window.

So you can go with following options to arrange output.

1. include every content in main window i.e. those which are currently in Main and secondary window

2. Or shift your secondary windows outside the boundaries of Main window. below of main window.    

Regards

Tejas

Former Member
0 Kudos

Hi saravanan,

Check the main window and secondary window(value,cash discount....window) in the FORM PAINTER whether they has been overlapped or not.If happens then adjust the secondary window so that both windows should not overlapped.

Regards,

shamili.

former_member420878
Active Participant
0 Kudos

Hi,

If your Main window is the one having material description, then according to me height of main window is overlapping the height of secondary window.

for example:

Size of Main Window

Left Margin        1.00   CM      Width  17.00  CM

Upper margin     5.00   CM      Height  10.00   CM 

Size of secondary Window

Left Margin        9.00   CM      Width  17.00  CM

Upper margin    11.00  CM      Height  5.00   CM 

here your main window will come till 15 cm of your page, but your secondary window is getting started from 11 cm.

As main window is dynamic in nature, when you have only 1 line item, in that case main window is taking let say height of 1 cm, but when your line items are 15 then it will expand till 10 cm on the same page and other remaining line item will go to next page.

But In case of secondary window, it is static in nature and will always take the constant size.

Please check your output options of both window and adjust accordingly.

Thanks

arindam_m
Active Contributor
0 Kudos

Hi,

Check the layout of the windows I think your Main and secondary window is overlapping. You can see the layout in Layout editor. The contents of Main window is dynamic that should not stop you from correcting the overlap.

Cheers,

Arindam

madhu_vadlamani
Active Contributor
0 Kudos

Hi Saravanan,

Please check this options.

1) Create a table and fix it.

2) Check the sizes of windows.There are pros and cons in each options.

Regards,

Madhu.