cancel
Showing results for 
Search instead for 
Did you mean: 

Printing of empty first page in layout

Former Member
0 Kudos

Hi experts,

i have a small requirement in forms. In my sapscript form new requirement is the user want to print a empty page as 1st page inthe layout.

How to print a empty first page in a layout using sapscript?

Anyone help this issue?

Mohaha

Accepted Solutions (1)

Accepted Solutions (1)

former_member203305
Active Contributor
0 Kudos

Hi,

create a new page, it must be the first page. Add the same MAIN that u r using, but u need to add a process to go to the second page. The first page must have just only the same MAIN as the others, but the first thing that the main does inside, is process the process that goes to the second page (this page contain all the data).

Regards.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

To get a blank page on first page use a page with var window and assign next page as second page which contain data to be printed.

Regards,

Rajani

Former Member
0 Kudos

hi,

In the script text editor,

enclose the data to be printed in the form between the following block of if - endif.

if &page& ne 1.

endif.

This shall print the data only if the &page& value is other than 1. Here &page& refers to current page being printed.

This creates a blank first page.

Thanks and regards

Sharath

Former Member
0 Kudos

hi!

Create a form in which call that form with start_form and endform with blank main window and then in another form do all the processing and call it in another start_form and endform.And enclose this all in one OPEN_FORM and Close_Form.

The first form when called with start_form and endform will call that form once with one blank page defined there as first page no second page defined for it.and the other start_form endform will do for other pages defined in the other form.and this will be given to one spool request with enclosing it in Open_form and close_form.

Former Member
0 Kudos

hi,

Create a page1 with only a min window init,with no contents.Now create page2 and loop the nextpage of page 1 to page2.

pls close th thread if ur issue is resolved.

Thank u .

Former Member
0 Kudos

Hi,

Create Page 1 with a window. In the text elements you can use,

/:NEW-PAGE

/:IF &page& GE 2

do-processing "in this you can print the contents as required from page 2.

/:ENDIF.

This will trigger a new page at the beginning.

Hope this helps.

Regards,

Deepthi.S