cancel
Showing results for 
Search instead for 
Did you mean: 

Smart form second page display

0 Kudos

Hi,

Requirement is

1. Header(headings), Body(Items) and footer(total) need to be dispayed.

2. Items must be displayed in boxes with space in between rows.

3. If Items are less than one page , still second page need to be displayed with header(headings) , empty boxes(Items)as Body and footer with total as 0.

I have done :

In first page , placing headings as seperate table in a window.

In main window of first page, Items in a table of two rows one row with data and another row with space field.

Second page placing heading in secondry windows

main window with Items in a table of two rows one row with data and another row with space field.

<b>but second page is not displayed if there is only one line item displayed in first page.</b>

ASAP pls provide me the solution.

Reg,

Priya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Priya,

Your MAIN WINDOW will flow into the SECOND PAGE only when it has some data to be printed. In your case as you don't have enough data, the window will NOT be printed at all.

For that matter any PAGE will be printed only when the fields in that PAGE has data to be printed.

By the way, why do you want to print a blank page.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hi Ravi,

I know that if there is more data automatically it will flow to second page.

but i want artificially to print second page if there is no data also.

this what user requirment. We cannot say NO to them.

Reg,

priya

Former Member
0 Kudos

Hi Priya,

Put it as a command in any window after main.

It is working for me.

Thanks,

Rashmi.

Former Member
0 Kudos

hi

go through this links i hope this will help you to solve your problem.

http://www.sap-press.com/downloads/h955_preview.pdf

http://myweb.dal.ca/hchinni/sap/smartforms/SmartForms.doc

try this command

&SFSY-MAINEND&

Is set as soon as processing of the main window on the current page ends

&SFSY-PAGENAME&

Contains the name of the current page (string in the Page field)

thanks

mrutyun

0 Kudos

Hi Rashmi,

thank u so much.

I got this issue resolved.

I have rewarded u.

Reg,

Priya

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In Smartforms, Second page is triggered automatically after the main window overflows.

Use NEW-PAGE command to artificially trigger the next page.

Thanks,

Rashmi.

0 Kudos

Hi Rashmi,

where new page need to be given?.

Reg,

Priya