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

Smartforms - Display table content after Header

0 Likes
2,570

Hi there experts!

I'm having some troubles trying to display a table content after the header of my SmartForm.

Situation is as follows:

> I've got one secondary window with a template working as a header. It's got some employee information that must be displayed in every page.

> Then there is the main window with some tables inside it.

At the end of the first page, 1st table has displayed all of its content and the 2nd table begins its header and content.

When it reaches de 2nd page of the form, the header is displayed again, correctly, but the rest of the content of the 2nd table is displayed at the same position the header is displayed, overlapping the content of the header.

Is there a way for me to configure the table to display the content AFTER the header, or anything like it?

Thanks a lot!

Lauro

9 REPLIES 9
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
2,364

Hi Lauro

I could not understand you completely one small question why have you created a second window..The table header in Main window will work i believe. Can you please attach some screen shots highlighting the same.

Nabheet

Read only

0 Likes
2,363

Hi nabheet!

Thanks for answering!

The secondary window works as a 'subwindow', displayed before the main window so that the form header  can be displayed.

I'm using it because I don't want the table header as form header. They are separate things. It works like this:

Form header is TEMPLATE1 with employee data.

The first page is displayed, with TEMPLATE1 correctly as header; The TABE2 content is displayed, and the content of TABLE3 begins reaching the end of the first page.

The second page begins, TEMPLATE1 correctly as header, and the rest of TABLE2 information is not displayed after header, it is in the beginning of the page as well, overlapping the content of the header, which is the problem.

Read only

0 Likes
2,363

Why do you need the Secondary window to be overlapped with Main window...any particular reason..?Can you keep it so that it should not overlap as it is going to get displayed on each page... Main window should be beneath Secondary window.

Nabheet

Read only

0 Likes
2,363

Well, I agree with you...should be, but it isn't.. the main window isn't getting displayed beneath the secondary window. I don't know why because the first page is ok.

The table content in the second page starts at the same position of the header, in order words, the order of the objects in the form is not being respected...

Read only

0 Likes
2,363

Hi lauro,

The window which gets over lapped,go to the output options tab there are checkboxes to display window content onto a new page if the current pages are full....try checking those check boxes.

Regards,

Read only

0 Likes
2,363

What is the position of main and secondary window on second page is it same as first???

Read only

0 Likes
2,361

They are printed simultaneously (header and table content) at the beginning of the second page, overlapping each other, as below:

Read only

0 Likes
2,361

Thats is fine but in smartform layout of second page is the left and upper margin, height and width etc same as first page??

Read only

0 Likes
2,361

Guys, problem solved. My mistake.

I was putting an empty template with 33 mm height to give space between header and table contents  - but that would work only in the 1st page - don't exactly know why. In addition, the windows in Form Painter were overlapped.

To solve the issue, I just resized the height of the Main Window  in the Form Painter, so that it would start after the header contents and avoid overlapping its borders - for that I kept resizing and testing the form until the contents were right beneath the header contents.