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----- 

SAP Books
SAP Certification, Functional, System Administration and ABAP Programming Reference Books

SAP Scripts Tips
SAP Sapscripts Tips and Tricks

ABAP Tips
ABAP and Samples Program Codes for Abapers

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

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.