cancel
Showing results for 
Search instead for 
Did you mean: 

SapsScript Header is printed on all pages after change

Former Member
0 Kudos

Hello Experts,

I have made some changes to a sapscript. I added some output data to the header and expanded the lines by 3 LN. Now when I print the header is printed on all pages, but I only want it to be printed on the first... Any idea what could have done this?

best regards B

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

several possibilities

1. print header only if &PAGE& EQ 1.

2. assuming you have only 1 page with the name FIRST

copy page FIRST to NEXT

Take care that the following page for page FIRST will page NEXT.

Delete the header window in page NEXT.

So far. Hope it helps.

Gr., Frank

Former Member
0 Kudos

The header already existed in the PAGES window. (Not only FIRST). problem solved

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The problem occurred because you have changed the variable window and what ever is mentioned in the variable window gets triggered when a new page gets triggered.

So.....

Change the Header lines what you have added, to main window from the variable window.

This will definitely solve the problem.

Regards

Sarves