cancel
Showing results for 
Search instead for 
Did you mean: 

Table Header is required in each page

Former Member
0 Kudos

Hi,

Inside the main window I have two tables say 1st table, 2nd Table . In the 1st table I have only one row of data with header. In the 2nd table different header with many line items. It may go to next page.

Now my requirement is if due to 2nd table line item's if it moves to next page then 1st table header is also need to be printed in the second page.

For example.

1st Table:

Head1 Head 2 Head 3 Head 4

Val1 val2 val3 val 4

2nd Table

Title 1 Title 2 Title 3 Title 4

1 2 3 4

2 3 5 6

- - - -

- - - -

- - - -

- - - -

- - - -

300 400 500 452

Please let me know the solution. How i will display the header of 1st table if the line items of 2nd table exceeds to next page.

Thanks in Advance,

Abhijit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the table node there is an events tab wherein you can also specify to display the header at page break for the first table.

Please put all the standard text elements under the header event.

This would ensure when the table fo contents spill to the next page the header is displayed at the start of the page in the main window.

Regards,

Ram

Former Member
0 Kudos

Hi,

Assign a text element to the header and while calling your form call separate 'write_form' function module

for MAIN window with this text element.

Abhijit74
Active Contributor
0 Kudos

Hi,

I'm telling about the smartform. Will you elaborate a little bit.

Thanks,

Abhijit

Former Member
0 Kudos

Hi,

Ok if you are using smart forms

Then create another page PAGE2

Include the main window in it which has the 2 tables

Abhijit74
Active Contributor
0 Kudos

Hi,

That has been done much before. but it's not coming.

Thanks,

Abhijit

former_member217544
Active Contributor
0 Kudos

Hi Abhijit,

Double click on header option -> then you will get a tab with name output options -> check both the boxes and activate

Regards,

Swarna Munukoti

Abhijit74
Active Contributor
0 Kudos

Hi,

I have not used the Line type. So those two options are not coming. I have used the text elements only.

Thanks ,

Abhijit

Sandra_Rossi
Active Contributor
0 Kudos

Could you mark your question "answered", please. Thank you. (SORRY MISTAKE!)

former_member217544
Active Contributor
0 Kudos

Hi Abhijit,

I dont think, this check box option is based on whether you have used line type or text elements.

Under table there will be three options -> header, mainarea, Footer.

Double click on the node named 'Header' -> Then you will get a single tab named 'ouput options' -> Here you will find 2 check boxes

Regards,

Swarna Munukoti

Abhijit74
Active Contributor
0 Kudos

Hi,

No if you don't use the line type you will not find the options you have said.

Thnaks,

Abhijit

former_member217544
Active Contributor
0 Kudos

Hi Abhijit,

One basic query I have with your statement:

If I understand correctly, you have used text element inside table header without using line type.


I have not used the Line type. So those two options are not coming. I have used the text elements only.

Is it possible to create a text element directly inside table header without any line type?

If so may we know the steps you followed?

Regards,

Swarna Munukoti

Abhijit74
Active Contributor
0 Kudos

Hi,

If you have any previous version like SAP 4.7 version please check or anything which has been upgraded from 4.7 to ECC6.0.

Thnaks,

Abhijit

Edited by: Abhijit Mandal on Feb 1, 2010 5:56 PM

former_member217544
Active Contributor
0 Kudos

Hi Abhijit,

Ok. Iam not aware of this as I didnt get chance to work on 4.7

Regards,

Swarna Munukoti

Abhijit74
Active Contributor
0 Kudos

Solved by myself

Former Member
0 Kudos

The "comment" field is not mandatory when closing a thread!

And doing it only to be able to ask a new question, means that the new one had better be a really good one...

Lets take a look.

Cheers,

Julius