cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT - How not print the page Next ?

Former Member
0 Kudos

Hi.

I have a form with two pages : First and Next.

Sometimes, the data in my main window is very short so printing just the first page is enough but the program still prints the NEXT page.

If there any sapscript instruction to avoid printing the next page when there no data in it ?

Thanks for the help.

Regards,

Helder.

Accepted Solutions (0)

Answers (1)

Answers (1)

saranwin
Contributor
0 Kudos

Hi,

U check the page window wat u had given in next page. There may be the problem.

In page give the first page name for Example 'FIRST'

In Next Page u give 'NEXT' and check

Regards,

Saran

Former Member
0 Kudos

In fact, in both pages (First and Next), what is displayed is the window main.

What i would like to do is something like this, but i'm not sure this is possible.

IF &NEXTPAGE& = 0
// Instruction to close form without printing the Next page.

Maybe someone has another solution more clever for my issue.