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

Page break in smartforms

Former Member
0 Likes
742

HI Abapers,

I am givng page break using command after a sort end in the main window.

The page break is working fine. But I am getting an extra header in the next page. How to avoid this?

Priya

HI Abapers,

I am givng page break using command after a sort end in the main window.

The page break is working fine. But I am getting an extra header in the next page. How to avoid this?

Priya

6 REPLIES 6
Read only

former_member188827
Active Contributor
0 Likes
720

in the window in which u've created header, check da check box 'only on first page'

in da conditions tab.

Read only

0 Likes
720

By header i mean the table header which should be printed in all pages

Read only

Former Member
0 Likes
720

hi

To insert a page-break you have to Create a Node Called COMMAND.

Here you can Specify a Different PAGE as next page if u want.

Smartforms: protect lines in main window.

It was easy with SAPscript, but how to do it with SF's. For 4.7 version if you are using tables, there are two options for protection against line break:

- You can protect a line type against page break.

- You can protect several table lines against page break for output in the main area.

Protection against page break for line types

- Double-click on your table node and choose the Table tab page.

- Switch to the detail view by choosing the Details pushbutton.

- Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.

Protection against page break for several table lines

- Expand the main area of your table node in the navigation tree.

- Insert a file node for the table lines to be protected in the main area.

- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.

- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.

In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page.

Read only

Former Member
0 Likes
720

Hi Priya,

Increase your main window height.

Regards,

Satish

Read only

former_member188827
Active Contributor
0 Likes
720

in da table header try unchecking the at page-break checkbox

Read only

0 Likes
720

I tried all ur said ideas , but still the problem is existing