Skip to Content
0
Sep 06, 2007 at 03:07 PM

HELPPP !! SapScript: print window only on first page

305 Views

Hello,

can somebody help me?

I have 2 pages (1 full and 1 almost empty) because the STANDARD print program send 2 pages into my form

And I would like to print some windows (address, info) ONLY ON THE FIRST PAGE but I can't...

I try to use some systeme variables as:

IF &PAGE& = 1

/: ADDRESS PARAGRAPH AS

/: TITLE &REGUH-ZANRE&

/: NAME &REGUH-ZNME1&, &REGUH-ZNME2&, &REGUH-ZNME3&

... ... ...

/: ADDRESSNUMBER &REGUH-ZADNR&

/: ENDADDRESS

ENDIF

>>> but I have the always &PAGE& = 1 (not 1 then 2)

i tru too var. &NEXTPAGE& or &SAPSCRIPT-FORMPAGES& but not successfully.

CAN WE USEIN SAPSCRIPT A COMMAND ""AT FIRST PAGE ONLY"" AS WE CAN FOUND IN SMARTFORM?

Many thanks in advance.

Pascr.