cancel
Showing results for 
Search instead for 
Did you mean: 

PAGE BREAK FOR TABLE

Former Member
0 Kudos

hi all,

I Created one smartform. in that i created two pages.

1 is First Page

2 is Terms Page

for the two pages in main window i used a table for item loop inside headerloop(loop node).

for every header record table sholud trigger and display item details and subtotals.

problem is : for example if one header record is having 5 items and place left in the first page is only for 3 records then it has to display the 5 items and subtotals in second page.

but it is displaying 3 records in first page and giving subtotals and remaining 2 records it is giving in next page with subtotals.

i used page protection for main windw.still its displaying same.

can anyoone help me inthis.

Regards

Gopal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For the Paragraph created in SMRTSTYLE transaction, Check the Page Protection Check Box .

and Next paragraph Same page uncheck.

Regards,.

Rama.

Former Member
0 Kudos

Thanks for the replay,

how can i do that,my second page reflects first page except some windows,all the names also same,if i do any change in first page that will reflect in second page automatically right,

can u elaborate.

gopal

hymavathi_oruganti
Active Contributor
0 Kudos

Forcing a page break within table loop

Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node.

Font style and Font size

Goto Transaction SMARTSTYLES.

There you can create Paragraph formats etc just like in sapscript.

Then in your window under OUTPUT OPTIONS you include this SMARTSTYLE and use the Paragraph and character formats

Former Member
0 Kudos

hi hymavathi,

thanks for the reply,

but still my records getting separated into two pages with different subtotals.

it is supposed to print like below

1000,2000,3000, 4000, 1

2000, 3000, 4000, 5000, 2

-


3000, 5000, 7000, 9000, 3

But it is printing in two pages like below.

Page1 ending.

1000, 2000, 3000, 4000, 1

-


1000 , 2000, 3000, 4000, 1

Page 2

2000, 3000, 4000, 5000, 2

-


2000, 3000, 4000, 5000, 2

regards,

Gopal

Answers (1)

Answers (1)

Former Member
0 Kudos

solved problem