Thursday, May 3, 2007

Orientations in SAPSCRIPT

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.

No comments:

Free Certification Material