cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform - Main window

Former Member
0 Kudos

Hello,

I need to create a smartform with the following behaviour:

When the page shown is the last one, the main window has to take half page. On the other hand, when the page shown is not the last one, its main window has to take almost the whole page (I need a bigger main window).

When only exists one page, the first page is also the last one.

Thanks in advance,

Ricard.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

The problem has been solved adding into the main window a template (with totals and extra info) and mark the template as "Only Before End of Main Window". As a result, main window is completely filled with item lines (no spaces at the bottom of the window) and last page shows items and extra info at the end.

Thanks for the help,

Ricard.

former_member203305
Active Contributor
0 Kudos

it is possible,

as the last guy said, u need to 2 pages

on the second page reduce the size of the main windows

on the first page, inside the main windows, u need to create some conditions that trigger the first or the second page as u wish.

Regards

Former Member
0 Kudos

Hello Oscar,

Its Possible, as I feel.

Just need to design 2 pages.

PAGE1: Keep the header and item part as you want to.

PAGE2: copy the MAIN WINDOW of PAGE1 to PAGE2.

Increase the size of the MAIN WINDOW in page2 .This is the flexibility that smartform gives and

we don't get this main window resizing facility in SAPscript it remain same in first and second

page.

Navigate to : loop->table->footer.

Create folder and under folder create window to display your footer details.

And please unckeck the check box "On page break" in the footer condition tab.

Hope the discussion was helpful. Revert back in case of any further issues.

Cheers

Suvendu

Edited by: Suvendu Swain on Jun 9, 2009 5:06 PM

Former Member
0 Kudos

Hi,

Its not possible, because we have to enter the height and width of the main window when it is created . Dynamically you can't change.

Regards,

Rajitha.

Former Member
0 Kudos

not possible.