cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT- Stop page printing from a variable window.

Former Member
0 Kudos

Hi All,

I have 4 pages triggering in a sapscript. First two pages are mandatory. From second page which has only 1 variable window and third page should be called on some condition. But this third page is not getting called from second page If we use new-page command since it works only in main window. And if am defining page sequence in page header then that page calling become compulsory . But i want to call third page on condition basis only.

Please give suggestion and help if any one knows any solution.

Thanks

Sonal Agrawal

Edited by: Sonalagrawal on Dec 6, 2011 7:30 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Just write NEW-PAGE 'third page name'.

make sure that no blank spaces before new-page command.

hope this will helps you.

Many thanks,

Kiran

Former Member
0 Kudos

NEW-PAGE command does not work in variable window. It only works in main window.

I have tried with this , it does not work.

Please suggest something else.

former_member230486
Contributor
0 Kudos

Hi,

For every page you have to write or call the windows in between START_FORM and END_FORM.If you need to trigger third page after second page you have to pass STARTPAGE exporting parameter of START_FORM.