SAP Functional, Basis and ABAP Programming Reference Books
Orientations in SAPSCRIPT

-----Original Message-----
Subject:  Orientations in SAPSCRIPT
From:  Ashwini Jaokar 

Hi,

I have 2 pages for a Form in SAPscript .

Can I have 2 different Orientations for 2 pages 
Ie Can I assign Page1 as Portrait & page2 as Landscape ???

If so , How ????

Thanks in Advance.
Ashwini Jaokar. 

-----Reply Message----- 
Subject:  Re: Orientations in SAPSCRIPT
From:  jmersinger

Ashwini,

Not that I know of in the same layoutset...what you can do is create two layoutsets...one portrait, one landscape...then in the print program call each one individually.

jjm

-----Reply Message----- 
Subject:  RE: Orientations in SAPSCRIPT
From:  Ralph Klassen

Each form may only have a single orientation but you can create two forms and include them in the same spool output.

In your ABAP program:

1. call function 'OPEN_FORM', don't pass a value in 'FORM' 

2. call function 'START_FORM', include parameter 'FORM' passing the name of your first form

3. call function 'WRITE_FORM' as normal to output each element

4. call function 'END_FORM'

5. call function 'START_FORM', include parameter 'FORM' passing the name of your second form

6. call function 'WRITE_FORM' as normal to output each element

7. call function 'END_FORM'

8. call function 'CLOSE_FORM'

Repeat the 'START_FORM' ... 'END_FORM' sequence as required.

I have not tried using page numbers with this technique, I suspect that each form will restart at 1.

Regards,
Ralph Klassen Sylogist

-----End of Reply Message----- 
 

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com